/* ddekit_inb */
/****************************************************************************/
PUBLIC unsigned char ddekit_inb(ddekit_addr_t port) {
- unsigned long ret;
+ u32_t ret;
if (sys_inb(port, &ret)) {
ddekit_panic("sys_inb failed.");
}
/* ddekit_inw */
/****************************************************************************/
PUBLIC unsigned short ddekit_inw(ddekit_addr_t port) {
- unsigned long ret;
+ u32_t ret;
if (sys_inw(port, &ret)) {
ddekit_panic("sys_inw failed.");
}
/* ddekit_inl */
/****************************************************************************/
PUBLIC unsigned long ddekit_inl(ddekit_addr_t port){
- unsigned long ret;
+ u32_t ret;
if (sys_inl(port, &ret)) {
ddekit_panic("sys_outl failed.");
}