Renamed syscall() to syscall_op() in order to avoid a conflict when compiling for Linux.
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user