]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/Ebc/Dxe/Ipf/EbcSupport.c
Make EdkModulePkg pass Intel IPF compiler with /W4 /WX switches, solving warning...
[mirror_edk2.git] / EdkModulePkg / Universal / Ebc / Dxe / Ipf / EbcSupport.c
index 279f4202b659cdcb9e2cc61db364bd359840b158..29ee55b8640d1bd0bdb62663244088f38b518a68 100644 (file)
@@ -22,34 +22,7 @@ Abstract:
 \r
 #include "EbcInt.h"\r
 #include "EbcExecute.h"\r
-\r
-#define VM_STACK_SIZE   (1024 * 32)\r
-\r
-#define EBC_THUNK_SIZE  128\r
-\r
-//\r
-// For code execution, thunks must be aligned on 16-byte boundary\r
-//\r
-#define EBC_THUNK_ALIGNMENT 16\r
-\r
-//\r
-// Opcodes for IPF instructions. We'll need to hand-create thunk code (stuffing\r
-// bits) to insert a jump to the interpreter.\r
-//\r
-#define OPCODE_NOP              (UINT64) 0x00008000000\r
-#define OPCODE_BR_COND_SPTK_FEW (UINT64) 0x00100000000\r
-#define OPCODE_MOV_BX_RX        (UINT64) 0x00E00100000\r
-\r
-//\r
-// Opcode for MOVL instruction\r
-//\r
-#define MOVL_OPCODE 0x06\r
-\r
-VOID\r
-EbcAsmLLCALLEX (\r
-  IN UINTN    CallAddr,\r
-  IN UINTN    EbcSp\r
-  );\r
+#include "EbcSupport.h"\r
 \r
 STATIC\r
 EFI_STATUS\r