added missing function xhdi_reaccess()

This commit is contained in:
Markus Fröschle
2013-05-01 11:00:27 +00:00
parent 46ace88463
commit 58236509d5
3 changed files with 20 additions and 1 deletions

View File

@@ -302,7 +302,20 @@ uint32_t xhdi_call(int xhdi_fun, ...)
}
break;
case XHDI_REACCESS:
{
uint16_t major;
uint16_t minor;
major = va_arg(arguments, unsigned int);
minor = va_arg(arguments, unsigned int);
return xhdi_reaccess(major, minor);
}
break;
default:
;
}
xprintf("unknown XHDI function %d\r\n");

View File

@@ -120,3 +120,8 @@ uint32_t xhdi_last_access(UINT16_T major, UINT16_T minor, uint32_t *ms)
{
return ERROR;
}
uint32_t xhdi_reaccess(UINT16_T major, UINT16_T minor)
{
return ERROR;
}