X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/6d2010ae8f7a6078e10b361c6962983bab233e0f..527f99514973766e9c0382a4d8550dfb00f54939:/osfmk/i386/asm.h diff --git a/osfmk/i386/asm.h b/osfmk/i386/asm.h index a51f8ae92..b04ac6a7d 100644 --- a/osfmk/i386/asm.h +++ b/osfmk/i386/asm.h @@ -61,13 +61,6 @@ #include #endif /* _KERNEL */ -#ifdef MACH_KERNEL -#include -#else /* !MACH_KERNEL */ -#define MACH_KDB 0 -#endif /* !MACH_KERNEL */ - - #if defined(MACH_KERNEL) || defined(_KERNEL) #include #endif /* MACH_KERNEL || _KERNEL */ @@ -284,17 +277,7 @@ #define Lgmemload(lab,reg) movl Lgotoff(lab),reg #define Lgmemstore(reg,lab,tmp) movl reg,Lgotoff(lab) -#ifdef ASSEMBLER -#if MACH_KDB -#include -/* - * This pseudo-assembler line is added so that there will be at least - * one N_SO entry in the symbol stable to define the current file name. - */ -#endif /* MACH_KDB */ - -#else /* NOT ASSEMBLER */ - +#ifndef ASSEMBLER /* These defines are here for .c files that wish to reference global symbols * within __asm__ statements. */ @@ -393,6 +376,7 @@ #define CCALL2(fn, arg1, arg2) \ mov arg1, %rdi ;\ + mov arg2, %rsi ;\ CCALL(fn) #define CCALL3(fn, arg1, arg2, arg3) \