mirror of
https://github.com/Fennix-Project/Userspace.git
synced 2025-07-11 15:19:21 +00:00
Updated userspace
This commit is contained in:
21
libs/include/sysbase.h
Normal file
21
libs/include/sysbase.h
Normal file
@ -0,0 +1,21 @@
|
||||
#ifndef __FENNIX_LIBS_BASE_H__
|
||||
#define __FENNIX_LIBS_BASE_H__
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
enum KCtl
|
||||
{
|
||||
KCTL_NULL,
|
||||
KCTL_GET_PID,
|
||||
KCTL_GET_TID,
|
||||
KCTL_GET_UID,
|
||||
KCTL_GET_GID,
|
||||
KCTL_GET_PAGE_SIZE,
|
||||
};
|
||||
|
||||
long DoCtl(uint64_t Command, uint64_t Arg1, uint64_t Arg2, uint64_t Arg3, uint64_t Arg4);
|
||||
|
||||
uintptr_t KrnlRequestPages(size_t Count);
|
||||
void KrnlFreePages(uintptr_t Address, size_t Count);
|
||||
|
||||
#endif // !__FENNIX_LIBS_BASE_H__
|
Reference in New Issue
Block a user