Blame src/arch/nt32/syscall_disp.c

716654
/**************************************************************************/
716654
/*  mmglue: midipix architecture- and target-specific bits for musl libc  */
716654
/*  Copyright (C) 2013--2023  SysDeer Technologies, LLC                   */
716654
/*  Released under the Standard MIT License; see COPYING.MMGLUE.          */
716654
/**************************************************************************/
716654
6f8ae4
#include <unistd.h>
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
{
7f1932
	__psx_vtbl->mm_unmapself(base,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
}