diff options
author | jkim <jkim@FreeBSD.org> | 2011-04-14 16:02:52 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2011-04-14 16:02:52 +0000 |
commit | 9b08b2f085c64b294f2c62636d93e809f8f0d38d (patch) | |
tree | ef13b8a186d0b18131a9d3d050bf2f6af60200a9 /sys/i386 | |
parent | 08e1637613a046cb0964d9586447887e0f6e9dc3 (diff) | |
download | FreeBSD-src-9b08b2f085c64b294f2c62636d93e809f8f0d38d.zip FreeBSD-src-9b08b2f085c64b294f2c62636d93e809f8f0d38d.tar.gz |
Consistently use C99 standard integers as the rest of this file.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/cpufunc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h index 3c7251f..5f21cb2 100644 --- a/sys/i386/include/cpufunc.h +++ b/sys/i386/include/cpufunc.h @@ -55,13 +55,13 @@ extern u_int read_eflags(void); struct region_descriptor; -#define readb(va) (*(volatile u_int8_t *) (va)) -#define readw(va) (*(volatile u_int16_t *) (va)) -#define readl(va) (*(volatile u_int32_t *) (va)) +#define readb(va) (*(volatile uint8_t *) (va)) +#define readw(va) (*(volatile uint16_t *) (va)) +#define readl(va) (*(volatile uint32_t *) (va)) -#define writeb(va, d) (*(volatile u_int8_t *) (va) = (d)) -#define writew(va, d) (*(volatile u_int16_t *) (va) = (d)) -#define writel(va, d) (*(volatile u_int32_t *) (va) = (d)) +#define writeb(va, d) (*(volatile uint8_t *) (va) = (d)) +#define writew(va, d) (*(volatile uint16_t *) (va) = (d)) +#define writel(va, d) (*(volatile uint32_t *) (va) = (d)) #if defined(__GNUCLIKE_ASM) && defined(__CC_SUPPORTS___INLINE) |