Index: c/src/libchip/rtc/icm7170.c
===================================================================
--- c/src/libchip/rtc/icm7170.c	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/icm7170.c	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -42,7 +42,7 @@
 )
 {
-  unsigned32     icm7170;
+  uint32_t       icm7170;
   setRegister_f  setReg;            
-  unsigned32     clock;
+  uint32_t       clock;
 
   icm7170 = RTC_Table[ minor ].ulCtrlPort1;
@@ -53,5 +53,5 @@
    */
 
-  clock = (unsigned32) RTC_Table[ minor ].pDeviceParams;
+  clock = (uint32_t  ) RTC_Table[ minor ].pDeviceParams;
   (*setReg)( icm7170, ICM7170_CONTROL, 0x0c | clock );
 }
@@ -66,8 +66,8 @@
 )
 {
-  unsigned32     icm7170;
+  uint32_t       icm7170;
   getRegister_f  getReg;
   setRegister_f  setReg;
-  unsigned32     year;
+  uint32_t       year;
 
   icm7170 = RTC_Table[ minor ].ulCtrlPort1;
@@ -119,14 +119,14 @@
 )
 {
-  unsigned32     icm7170;
+  uint32_t       icm7170;
   getRegister_f  getReg;
   setRegister_f  setReg;
-  unsigned32     year;
-  unsigned32     clock;
+  uint32_t       year;
+  uint32_t       clock;
 
   icm7170 = RTC_Table[ minor ].ulCtrlPort1;
   getReg = RTC_Table[ minor ].getRegister;
   setReg = RTC_Table[ minor ].setRegister;
-  clock = (unsigned32) RTC_Table[ minor ].pDeviceParams;
+  clock = (uint32_t  ) RTC_Table[ minor ].pDeviceParams;
 
   year = time->year;
Index: c/src/libchip/rtc/icm7170.h
===================================================================
--- c/src/libchip/rtc/icm7170.h	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/icm7170.h	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -52,46 +52,46 @@
  */
 
-unsigned32 icm7170_get_register(    /* registers are at 1 byte boundaries */
-  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
-  unsigned8   ucRegNum
+uint32_t   icm7170_get_register(    /* registers are at 1 byte boundaries */
+  uint32_t    ulCtrlPort,           /*   and accessed as bytes            */
+  uint8_t     ucRegNum
 );
 
 void  icm7170_set_register(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum,
-  unsigned32  ucData
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum,
+  uint32_t    ucData
 );
 
-unsigned32 icm7170_get_register_2(  /* registers are at 2 byte boundaries */
-  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
-  unsigned8   ucRegNum
+uint32_t   icm7170_get_register_2(  /* registers are at 2 byte boundaries */
+  uint32_t    ulCtrlPort,           /*   and accessed as bytes            */
+  uint8_t     ucRegNum
 );
 
 void  icm7170_set_register_2(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum,
-  unsigned32  ucData
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum,
+  uint32_t    ucData
 );
 
-unsigned32 icm7170_get_register_4(  /* registers are at 4 byte boundaries */
-  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
-  unsigned8   ucRegNum
+uint32_t   icm7170_get_register_4(  /* registers are at 4 byte boundaries */
+  uint32_t    ulCtrlPort,           /*   and accessed as bytes            */
+  uint8_t     ucRegNum
 );
 
 void  icm7170_set_register_4(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum,
-  unsigned32  ucData
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum,
+  uint32_t    ucData
 );
 
-unsigned32 icm7170_get_register_8(  /* registers are at 8 byte boundaries */
-  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
-  unsigned8   ucRegNum
+uint32_t   icm7170_get_register_8(  /* registers are at 8 byte boundaries */
+  uint32_t    ulCtrlPort,           /*   and accessed as bytes            */
+  uint8_t     ucRegNum
 );
 
 void  icm7170_set_register_8(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum,
-  unsigned32  ucData
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum,
+  uint32_t    ucData
 );
 
Index: c/src/libchip/rtc/icm7170_reg.c
===================================================================
--- c/src/libchip/rtc/icm7170_reg.c	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/icm7170_reg.c	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -21,5 +21,5 @@
 #define _ICM7170_MULTIPLIER 1
 #define _ICM7170_NAME(_X) _X
-#define _ICM7170_TYPE unsigned8
+#define _ICM7170_TYPE uint8_t  
 #endif
 
@@ -31,7 +31,7 @@
  */
 
-unsigned32 _ICM7170_NAME(icm7170_get_register)(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum
+uint32_t   _ICM7170_NAME(icm7170_get_register)(
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum
 )
 {
@@ -48,7 +48,7 @@
 
 void  _ICM7170_NAME(icm7170_set_register)(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum,
-  unsigned32  ucData
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum,
+  uint32_t    ucData
 )
 {
Index: c/src/libchip/rtc/icm7170_reg2.c
===================================================================
--- c/src/libchip/rtc/icm7170_reg2.c	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/icm7170_reg2.c	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -18,5 +18,5 @@
 #define _ICM7170_MULTIPLIER 2
 #define _ICM7170_NAME(_X) _X##_2
-#define _ICM7170_TYPE unsigned8
+#define _ICM7170_TYPE uint8_t  
 
 #include "icm7170_reg.c"
Index: c/src/libchip/rtc/icm7170_reg4.c
===================================================================
--- c/src/libchip/rtc/icm7170_reg4.c	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/icm7170_reg4.c	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -18,5 +18,5 @@
 #define _ICM7170_MULTIPLIER 4
 #define _ICM7170_NAME(_X) _X##_4
-#define _ICM7170_TYPE unsigned8
+#define _ICM7170_TYPE uint8_t  
 
 #include "icm7170_reg.c"
Index: c/src/libchip/rtc/icm7170_reg8.c
===================================================================
--- c/src/libchip/rtc/icm7170_reg8.c	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/icm7170_reg8.c	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -18,5 +18,5 @@
 #define _ICM7170_MULTIPLIER 8
 #define _ICM7170_NAME(_X) _X##_8
-#define _ICM7170_TYPE unsigned8
+#define _ICM7170_TYPE uint8_t  
 
 #include "icm7170_reg.c"
Index: c/src/libchip/rtc/m48t08.c
===================================================================
--- c/src/libchip/rtc/m48t08.c	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/m48t08.c	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -58,10 +58,10 @@
 )
 {
-  unsigned32     m48t08;
+  uint32_t       m48t08;
   getRegister_f  getReg;
   setRegister_f  setReg;
-  unsigned8      controlReg;
-  unsigned32     value1;
-  unsigned32     value2;
+  uint8_t        controlReg;
+  uint32_t       value1;
+  uint32_t       value2;
 
   m48t08 = RTC_Table[ minor ].ulCtrlPort1;
@@ -118,8 +118,8 @@
 )
 {
-  unsigned32     m48t08;
+  uint32_t       m48t08;
   getRegister_f  getReg;
   setRegister_f  setReg;
-  unsigned8      controlReg;
+  uint8_t        controlReg;
 
   m48t08 = RTC_Table[ minor ].ulCtrlPort1;
Index: c/src/libchip/rtc/m48t08.h
===================================================================
--- c/src/libchip/rtc/m48t08.h	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/m48t08.h	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -42,46 +42,46 @@
  */
 
-unsigned32 m48t08_get_register(     /* registers are at 1 byte boundaries */
-  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
-  unsigned8   ucRegNum
+uint32_t   m48t08_get_register(     /* registers are at 1 byte boundaries */
+  uint32_t    ulCtrlPort,           /*   and accessed as bytes            */
+  uint8_t     ucRegNum
 );
 
 void  m48t08_set_register(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum,
-  unsigned32  ucData
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum,
+  uint32_t    ucData
 );
 
-unsigned32 m48t08_get_register_2(   /* registers are at 2 byte boundaries */
-  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
-  unsigned8   ucRegNum
+uint32_t   m48t08_get_register_2(   /* registers are at 2 byte boundaries */
+  uint32_t    ulCtrlPort,           /*   and accessed as bytes            */
+  uint8_t     ucRegNum
 );
 
 void  m48t08_set_register_2(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum,
-  unsigned32  ucData
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum,
+  uint32_t    ucData
 );
 
-unsigned32 m48t08_get_register_4(   /* registers are at 4 byte boundaries */
-  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
-  unsigned8   ucRegNum
+uint32_t   m48t08_get_register_4(   /* registers are at 4 byte boundaries */
+  uint32_t    ulCtrlPort,           /*   and accessed as bytes            */
+  uint8_t     ucRegNum
 );
 
 void  m48t08_set_register_4(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum,
-  unsigned32  ucData
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum,
+  uint32_t    ucData
 );
 
-unsigned32 m48t08_get_register_8(   /* registers are at 8 byte boundaries */
-  unsigned32  ulCtrlPort,           /*   and accessed as bytes            */
-  unsigned8   ucRegNum
+uint32_t   m48t08_get_register_8(   /* registers are at 8 byte boundaries */
+  uint32_t    ulCtrlPort,           /*   and accessed as bytes            */
+  uint8_t     ucRegNum
 );
 
 void  m48t08_set_register_8(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum,
-  unsigned32  ucData
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum,
+  uint32_t    ucData
 );
 
Index: c/src/libchip/rtc/m48t08_reg.c
===================================================================
--- c/src/libchip/rtc/m48t08_reg.c	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/m48t08_reg.c	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -21,5 +21,5 @@
 #define _M48T08_MULTIPLIER 1
 #define _M48T08_NAME(_X) _X
-#define _M48T08_TYPE unsigned8
+#define _M48T08_TYPE uint8_t  
 #endif
 
@@ -31,7 +31,7 @@
  */
 
-unsigned32 _M48T08_NAME(m48t08_get_register)(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum
+uint32_t   _M48T08_NAME(m48t08_get_register)(
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum
 )
 {
@@ -48,7 +48,7 @@
 
 void  _M48T08_NAME(m48t08_set_register)(
-  unsigned32  ulCtrlPort,
-  unsigned8   ucRegNum,
-  unsigned32  ucData
+  uint32_t    ulCtrlPort,
+  uint8_t     ucRegNum,
+  uint32_t    ucData
 )
 {
Index: c/src/libchip/rtc/m48t08_reg2.c
===================================================================
--- c/src/libchip/rtc/m48t08_reg2.c	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/m48t08_reg2.c	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -18,5 +18,5 @@
 #define _M48T08_MULTIPLIER 2
 #define _M48T08_NAME(_X) _X##_2
-#define _M48T08_TYPE unsigned8
+#define _M48T08_TYPE uint8_t  
 
 #include "m48t08_reg.c"
Index: c/src/libchip/rtc/m48t08_reg4.c
===================================================================
--- c/src/libchip/rtc/m48t08_reg4.c	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/m48t08_reg4.c	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -18,5 +18,5 @@
 #define _M48T08_MULTIPLIER 4
 #define _M48T08_NAME(_X) _X##_4
-#define _M48T08_TYPE unsigned8
+#define _M48T08_TYPE uint8_t  
 
 #include "m48t08_reg.c"
Index: c/src/libchip/rtc/m48t08_reg8.c
===================================================================
--- c/src/libchip/rtc/m48t08_reg8.c	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/m48t08_reg8.c	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -18,5 +18,5 @@
 #define _M48T08_MULTIPLIER 8
 #define _M48T08_NAME(_X) _X##_8
-#define _M48T08_TYPE unsigned8
+#define _M48T08_TYPE uint8_t  
 
 #include "m48t08_reg.c"
Index: c/src/libchip/rtc/rtc.h
===================================================================
--- c/src/libchip/rtc/rtc.h	(revision afd00b056e291d85389257c21806a3bff8357f10)
+++ c/src/libchip/rtc/rtc.h	(revision ee4f57d9a6c032da422c6b9b84761dbb30cc2fd8)
@@ -20,7 +20,7 @@
  */
 
-typedef unsigned32 (*getRegister_f)(unsigned32 port, unsigned8 register);
+typedef uint32_t   (*getRegister_f)(uint32_t   port, uint8_t   register);
 typedef void       (*setRegister_f)(
-                            unsigned32 port, unsigned8 reg, unsigned32 value);
+                            uint32_t   port, uint8_t   reg, uint32_t   value);
 
 typedef struct _rtc_fns {
@@ -65,6 +65,6 @@
   boolean      (*deviceProbe)(int minor);
   void          *pDeviceParams;
-  unsigned32     ulCtrlPort1;
-  unsigned32     ulDataPort;
+  uint32_t       ulCtrlPort1;
+  uint32_t       ulDataPort;
   getRegister_f  getRegister;
   setRegister_f  setRegister;
