Backport of fix from asynchvfs branch for PM-LOG-VFS-PM deadlock that resulted in...
[minix3-old.git] / lib / syslib / sys_readbios.c
blob286bb075e65cbdf14a9b695729f6dfd0c8116e5b
1 #include "syslib.h"
3 PUBLIC int sys_readbios(address, buf, size)
4 phys_bytes address; /* Absolute memory address */
5 void *buf; /* Buffer to store the results */
6 size_t size; /* Amount of data to read */
8 /* Read data from BIOS locations */
9 message m;
11 m.RDB_SIZE = size;
12 m.RDB_ADDR = address;
13 m.RDB_BUF = buf;
14 return(_taskcall(SYSTASK, SYS_READBIOS, &m));