mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-27 15:04:33 +00:00
Updated Driver API
This commit is contained in:
parent
97b2b354e5
commit
92a13c777a
3
DAPI.hpp
3
DAPI.hpp
@ -45,6 +45,8 @@ struct KernelAPI
|
||||
unsigned long PageSize;
|
||||
void *(*RequestPage)(unsigned long Size);
|
||||
void (*FreePage)(void *Page, unsigned long Size);
|
||||
void (*Map)(void *VirtualAddress, void *PhysicalAddress, unsigned long Flags);
|
||||
void (*Unmap)(void *VirtualAddress);
|
||||
} Memory;
|
||||
|
||||
struct KAPIPCI
|
||||
@ -58,6 +60,7 @@ struct KernelAPI
|
||||
void (*DebugPrint)(char *String, unsigned long DriverUID);
|
||||
void (*DisplayPrint)(char *Value);
|
||||
void *(*memcpy)(void *Destination, void *Source, unsigned long Size);
|
||||
void *(*memset)(void *Destination, int Value, unsigned long Size);
|
||||
} Util;
|
||||
|
||||
struct KAPIDriverTalk
|
||||
|
Loading…
x
Reference in New Issue
Block a user