VM: simplify slab allocator
[minix.git] / lib / libsys / sys_readbios.c
blob3e3f555e87564f524cab0a9f928a25b08c3213a0
1 #include "syslib.h"
3 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(_kernel_call(SYS_READBIOS, &m));