Incorporate bsdmake into buildsystem and reorganize libs
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "syslib.h"
|
||||
|
||||
PUBLIC int sys_readbios(address, buf, size)
|
||||
phys_bytes address; /* Absolute memory address */
|
||||
void *buf; /* Buffer to store the results */
|
||||
size_t size; /* Amount of data to read */
|
||||
{
|
||||
/* Read data from BIOS locations */
|
||||
message m;
|
||||
|
||||
m.RDB_SIZE = size;
|
||||
m.RDB_ADDR = address;
|
||||
m.RDB_BUF = buf;
|
||||
return(_kernel_call(SYS_READBIOS, &m));
|
||||
}
|
||||
Reference in New Issue
Block a user