summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt32/syscall_disp.c
blob: 18747ffc4e570c91c9f4710316f93e52aef6054f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**************************************************************************/
/*  mmglue: midipix architecture- and target-specific bits for musl libc  */
/*  Copyright (C) 2013--2023  SysDeer Technologies, LLC                   */
/*  Released under the Standard MIT License; see COPYING.MMGLUE.          */
/**************************************************************************/

#include <unistd.h>
#include <stdint.h>
#include <stddef.h>
#include "syscall.h"
#include "psxglue.h"

extern struct __psx_vtbl * __psx_vtbl;

void __unmapself(void * base, size_t size)
{
	__psx_vtbl->mm_unmapself(base,size);
}

uintptr_t __syscall_disp(long n,
		uintptr_t a1,
		uintptr_t a2,
		uintptr_t a3,
		uintptr_t a4,
		uintptr_t a5,
		uintptr_t a6)
{
	return __syscall(n,a1,a2,a3,a4,a5,a6);
}