zephyr: replace zephyr integer types with C99 types

git grep -l 'u\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g"
	git grep -l 's\(8\|16\|32\|64\)_t' | \
		xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g"

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-05-27 11:26:57 -05:00 committed by Kumar Gala
commit a1b77fd589
2364 changed files with 32505 additions and 32505 deletions

View file

@ -18,25 +18,25 @@
struct wdog_cmsdk_apb {
/* offset: 0x000 (r/w) watchdog load register */
volatile u32_t load;
volatile uint32_t load;
/* offset: 0x004 (r/ ) watchdog value register */
volatile u32_t value;
volatile uint32_t value;
/* offset: 0x008 (r/w) watchdog control register */
volatile u32_t ctrl;
volatile uint32_t ctrl;
/* offset: 0x00c ( /w) watchdog clear interrupt register */
volatile u32_t intclr;
volatile uint32_t intclr;
/* offset: 0x010 (r/ ) watchdog raw interrupt status register */
volatile u32_t rawintstat;
volatile uint32_t rawintstat;
/* offset: 0x014 (r/ ) watchdog interrupt status register */
volatile u32_t maskintstat;
volatile u32_t reserved0[762];
volatile uint32_t maskintstat;
volatile uint32_t reserved0[762];
/* offset: 0xc00 (r/w) watchdog lock register */
volatile u32_t lock;
volatile u32_t reserved1[191];
volatile uint32_t lock;
volatile uint32_t reserved1[191];
/* offset: 0xf00 (r/w) watchdog integration test control register */
volatile u32_t itcr;
volatile uint32_t itcr;
/* offset: 0xf04 ( /w) watchdog integration test output set register */
volatile u32_t itop;
volatile uint32_t itop;
};
#define CMSDK_APB_WDOG_LOAD (0xFFFFFFFF << 0)
@ -66,7 +66,7 @@ struct device *wdog_r;
/* watchdog reload value in sec */
static unsigned int reload_s = CMSDK_APB_WDOG_RELOAD;
static u8_t flags;
static uint8_t flags;
static void (*user_cb)(struct device *dev, int channel_id);
@ -79,7 +79,7 @@ static void wdog_cmsdk_apb_unlock(struct device *dev)
wdog->lock = CMSDK_APB_WDOG_UNLOCK_VALUE;
}
static int wdog_cmsdk_apb_setup(struct device *dev, u8_t options)
static int wdog_cmsdk_apb_setup(struct device *dev, uint8_t options)
{
volatile struct wdog_cmsdk_apb *wdog = WDOG_STRUCT;