Renamed syscall() to syscall_op() in order to avoid a conflict when compiling for Linux.

This commit is contained in:
OBattler
2020-12-24 13:34:22 +01:00
parent b1abdb7c32
commit 9930957be3
3 changed files with 3 additions and 3 deletions

View File

@@ -1760,7 +1760,7 @@ sysexit(uint32_t fetchdat)
int
syscall(uint32_t fetchdat)
syscall_op(uint32_t fetchdat)
{
#ifdef ENABLE_386_COMMON_LOG
x386_common_log("SYSCALL called\n");

View File

@@ -578,7 +578,7 @@ extern void update_tsc(void);
extern int sysenter(uint32_t fetchdat);
extern int sysexit(uint32_t fetchdat);
extern int syscall(uint32_t fetchdat);
extern int syscall_op(uint32_t fetchdat);
extern int sysret(uint32_t fetchdat);
extern cpu_family_t *cpu_get_family(const char *internal_name);

View File

@@ -20,7 +20,7 @@ opSYSCALL(uint32_t fetchdat)
ILLEGAL_ON(!(amd_efer & 0x0000000000000001));
ret = syscall(fetchdat);
ret = syscall_op(fetchdat);
if (ret <= 1) {
CLOCK_CYCLES(20);