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