\r
movzwl (Idtr), %eax # get size of IDT\r
incl %eax\r
- addl 2(Idtr), %eax # add to base of IDT to get location of memory map... \r
+ addl (Idtr + 2), %eax # add to base of IDT to get location of memory map... \r
pushl %eax # push memory map location on stack for call to EFILDR...\r
\r
pushl %eax # push return address (useless, just for stack balance)\r
#IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
\r
# Usb Support\r
-INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
-INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
-INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
-INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
+#INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
+#INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
+#INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
+#INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
\r
# ISA Support\r
INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
-INF DuetPkg/BiosVideoThunkDxe/BiosVideo.inf\r
+#INF DuetPkg/BiosVideoThunkDxe/BiosVideo.inf\r
\r
# Binary INF file to support toggle among different CPU architectures.\r
-INF FatBinPkg/EnhancedFatDxe/Fat.inf\r
+#INF FatBinPkg/EnhancedFatDxe/Fat.inf\r
\r
FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D {\r
SECTION RAW = MdeModulePkg/Logo/Logo.bmp\r
MSFT:*_*_IA32_PP_FLAGS == /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h\r
MSFT:*_*_IA32_ASM_FLAGS == /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi\r
MSFT:*_*_IA32_ASMLINK_FLAGS == /link /nologo /tiny \r
+ GCC:*_*_IA32_CC_FLAGS = -g
then
echo Error! Please specific the architecture.
echo Usage: "./PostBuild.sh [IA32|X64]"
- exit 1
fi
case "$1" in
;;
*)
echo Invalid Architecture string, should be only IA32 or X64
- exit 1
esac
#
echo Done!
fi
-exit 0
\ No newline at end of file