Blame src/arch/nt64/syscall_disp.c
|
|
6f8ae4 |
#include <unistd.h>
|
|
|
860627 |
#include <stdint.h>
|
|
|
860627 |
#include <stddef.h>
|
|
|
860627 |
#include "syscall.h"
|
|
|
860627 |
#include "psxglue.h"
|
|
|
860627 |
|
|
|
860627 |
extern struct __psx_vtbl * __psx_vtbl;
|
|
|
860627 |
|
|
|
860627 |
void __unmapself(void * base, size_t size)
|
|
|
860627 |
{
|
|
|
da370a |
__psx_vtbl->mm_unmapself(base,size);
|
|
|
860627 |
}
|
|
|
860627 |
|
|
|
860627 |
uintptr_t __syscall_disp(long n,
|
|
|
860627 |
uintptr_t a1,
|
|
|
860627 |
uintptr_t a2,
|
|
|
860627 |
uintptr_t a3,
|
|
|
860627 |
uintptr_t a4,
|
|
|
860627 |
uintptr_t a5,
|
|
|
860627 |
uintptr_t a6)
|
|
|
860627 |
{
|
|
|
860627 |
return __syscall(n,a1,a2,a3,a4,a5,a6);
|
|
|
860627 |
}
|