├── .gitignore ├── 10.IDE ├── ACHI.CPP └── IDE.CPP ├── 11.XHCI ├── ReadPid&Vid │ ├── A.LOG │ ├── DMEM.OBJ │ ├── HIT.DSK │ ├── HIT.PRJ │ ├── MEM_ACC.LIB │ ├── MEM_Acc.h │ ├── XHCI.BAK │ ├── XHCI.C │ ├── XHCI.OBJ │ ├── dmem.c │ └── dmem.h └── ReadUSBSpeed │ └── XHCI.C ├── 12.ACPI ├── GetPCIBase │ ├── BIN │ │ ├── ACPI.efi │ │ ├── ACPIx64.efi │ │ ├── PCIBase.efi │ │ └── PCIBasex64.efi │ ├── Build │ │ ├── CpuIA32.OBJ │ │ ├── PCIBase.dll │ │ ├── PCIBase.pdb │ │ ├── PciDump.OBJ │ │ ├── TOKEN.MAK │ │ ├── asmsrc.lst │ │ ├── dater.mak │ │ ├── src.lst │ │ └── token.h │ ├── CpuLib │ │ ├── CpuLib.cif │ │ ├── CpuLib.h │ │ ├── IA32 │ │ │ └── CpuIA32.c │ │ └── X64 │ │ │ └── CpuX64.asm │ ├── EfiToolKit_20 │ │ ├── Bin │ │ │ ├── AMD64 │ │ │ │ ├── 1033 │ │ │ │ │ ├── clui.dll │ │ │ │ │ └── linkui.dll │ │ │ │ ├── X64Tools.cif │ │ │ │ ├── X64Tools.cif.bak │ │ │ │ ├── c1.dll │ │ │ │ ├── c1xx.dll │ │ │ │ ├── c2.dll │ │ │ │ ├── cl.txt │ │ │ │ ├── msobj80.dll │ │ │ │ ├── mspdb80.dll │ │ │ │ ├── msvcp80.dll │ │ │ │ ├── msvcr71.dll │ │ │ │ ├── msvcr80.dll │ │ │ │ ├── vc80.idb │ │ │ │ └── vc80.pdb │ │ │ ├── Bin.cif │ │ │ └── VC7.1 │ │ │ │ ├── ML.ERR │ │ │ │ ├── MSDBI60.DLL │ │ │ │ ├── VC71Tools.cif │ │ │ │ ├── VC71Tools.cif.bak │ │ │ │ ├── c1.dll │ │ │ │ ├── c1xx.dll │ │ │ │ ├── c2.dll │ │ │ │ ├── msobj71.dll │ │ │ │ ├── mspdb71.dll │ │ │ │ ├── msvcp71.dll │ │ │ │ ├── msvcr71.dll │ │ │ │ ├── vc71.mak │ │ │ │ └── vc71.sdl │ │ ├── EfiToolKit_20.cif │ │ ├── Include │ │ │ ├── Include.cif │ │ │ ├── efi110 │ │ │ │ ├── EFI_PXE.H │ │ │ │ ├── EfiGpt.h │ │ │ │ ├── EfiRtLib.h │ │ │ │ ├── EfiUi.h │ │ │ │ ├── LIbSmbios.h │ │ │ │ ├── ROMLOAD.H │ │ │ │ ├── efi.h │ │ │ │ ├── efiBis.h │ │ │ │ ├── efiBusSpecificDriverOverride.h │ │ │ │ ├── efiComponentName.h │ │ │ │ ├── efiDebugPort.h │ │ │ │ ├── efiDebugSupport.h │ │ │ │ ├── efiDecompress.h │ │ │ │ ├── efiDriverBinding.h │ │ │ │ ├── efiDriverConfiguration.h │ │ │ │ ├── efiDriverDiagnostics.h │ │ │ │ ├── efiEbc.h │ │ │ │ ├── efiPciIo.h │ │ │ │ ├── efiPciRootBridgeIo.h │ │ │ │ ├── efiPlatformDriverOverride.h │ │ │ │ ├── efiPointer.h │ │ │ │ ├── efiScsiPassThru.h │ │ │ │ ├── efiUgaDraw.h │ │ │ │ ├── efiUgaIo.h │ │ │ │ ├── efiUsbHostController.h │ │ │ │ ├── efiUsbIo.h │ │ │ │ ├── efi_nii.h │ │ │ │ ├── efiapi.h │ │ │ │ ├── eficon.h │ │ │ │ ├── efidebug.h │ │ │ │ ├── efidef.h │ │ │ │ ├── efidevp.h │ │ │ │ ├── efierr.h │ │ │ │ ├── efifs.h │ │ │ │ ├── efilib.h │ │ │ │ ├── efinet.h │ │ │ │ ├── efipart.h │ │ │ │ ├── efiprot.h │ │ │ │ ├── efipxebc.h │ │ │ │ ├── efiser.h │ │ │ │ ├── efistdarg.h │ │ │ │ ├── em64t │ │ │ │ │ ├── efibind.h │ │ │ │ │ ├── efilibplat.h │ │ │ │ │ └── pe.h │ │ │ │ ├── ia32 │ │ │ │ │ ├── efibind.h │ │ │ │ │ ├── efilibplat.h │ │ │ │ │ └── pe.h │ │ │ │ ├── link.h │ │ │ │ ├── makefile.hdr │ │ │ │ ├── pci22.h │ │ │ │ ├── protocol │ │ │ │ │ ├── AdapterDebug.h │ │ │ │ │ ├── VgaClass.h │ │ │ │ │ ├── eficonSplit.h │ │ │ │ │ ├── efivar.h │ │ │ │ │ ├── intload.h │ │ │ │ │ ├── legacyboot.h │ │ │ │ │ ├── makefile.hdr │ │ │ │ │ └── readme.txt │ │ │ │ └── usb.h │ │ │ └── efishell │ │ │ │ ├── makefile.hdr │ │ │ │ ├── shell.h │ │ │ │ └── shellenv.h │ │ └── Lib │ │ │ ├── Lib.cif │ │ │ ├── LibEfiAll.lib │ │ │ └── LibEfiAllx64.lib │ ├── Kernel.cif │ ├── PciDump.brs │ ├── PciDump.dat │ ├── PciDump.veb │ ├── ba.cmd │ ├── build.log │ ├── builda_AMD64.cmd │ ├── builda_X86.cmd │ ├── project.ldl │ ├── project │ │ ├── PciDump.c │ │ ├── project.cif │ │ └── project.sdl │ ├── scripts │ │ ├── Kernel.sdl │ │ ├── kernel32.mak │ │ └── kernel64.mak │ ├── symbols.brs │ ├── vc70.idb │ ├── vc70.pdb │ ├── vc80.idb │ ├── vc80.pdb │ ├── vc90.idb │ ├── vc90.pdb │ └── wspace.dat └── PciDump-2015 │ └── PciDump-20140717 │ ├── BIN │ ├── ACPI.efi │ └── ACPIx64.efi │ ├── Build │ ├── ACPI.dll │ ├── ACPI.pdb │ ├── CpuIA32.OBJ │ ├── PciDump.OBJ │ ├── TOKEN.MAK │ ├── asmsrc.lst │ ├── dater.mak │ ├── src.lst │ └── token.h │ ├── CpuLib │ ├── CpuLib.cif │ ├── CpuLib.h │ ├── IA32 │ │ └── CpuIA32.c │ └── X64 │ │ └── CpuX64.asm │ ├── EfiToolKit_20 │ ├── Bin │ │ ├── AMD64 │ │ │ ├── 1033 │ │ │ │ ├── clui.dll │ │ │ │ └── linkui.dll │ │ │ ├── X64Tools.cif │ │ │ ├── X64Tools.cif.bak │ │ │ ├── c1.dll │ │ │ ├── c1xx.dll │ │ │ ├── c2.dll │ │ │ ├── cl.txt │ │ │ ├── msobj80.dll │ │ │ ├── mspdb80.dll │ │ │ ├── msvcp80.dll │ │ │ ├── msvcr71.dll │ │ │ ├── msvcr80.dll │ │ │ ├── vc80.idb │ │ │ └── vc80.pdb │ │ ├── Bin.cif │ │ └── VC7.1 │ │ │ ├── ML.ERR │ │ │ ├── MSDBI60.DLL │ │ │ ├── VC71Tools.cif │ │ │ ├── VC71Tools.cif.bak │ │ │ ├── c1.dll │ │ │ ├── c1xx.dll │ │ │ ├── c2.dll │ │ │ ├── msobj71.dll │ │ │ ├── mspdb71.dll │ │ │ ├── msvcp71.dll │ │ │ ├── msvcr71.dll │ │ │ ├── vc71.mak │ │ │ └── vc71.sdl │ ├── EfiToolKit_20.cif │ ├── Include │ │ ├── Include.cif │ │ ├── efi110 │ │ │ ├── EFI_PXE.H │ │ │ ├── EfiGpt.h │ │ │ ├── EfiRtLib.h │ │ │ ├── EfiUi.h │ │ │ ├── LIbSmbios.h │ │ │ ├── ROMLOAD.H │ │ │ ├── efi.h │ │ │ ├── efiBis.h │ │ │ ├── efiBusSpecificDriverOverride.h │ │ │ ├── efiComponentName.h │ │ │ ├── efiDebugPort.h │ │ │ ├── efiDebugSupport.h │ │ │ ├── efiDecompress.h │ │ │ ├── efiDriverBinding.h │ │ │ ├── efiDriverConfiguration.h │ │ │ ├── efiDriverDiagnostics.h │ │ │ ├── efiEbc.h │ │ │ ├── efiPciIo.h │ │ │ ├── efiPciRootBridgeIo.h │ │ │ ├── efiPlatformDriverOverride.h │ │ │ ├── efiPointer.h │ │ │ ├── efiScsiPassThru.h │ │ │ ├── efiUgaDraw.h │ │ │ ├── efiUgaIo.h │ │ │ ├── efiUsbHostController.h │ │ │ ├── efiUsbIo.h │ │ │ ├── efi_nii.h │ │ │ ├── efiapi.h │ │ │ ├── eficon.h │ │ │ ├── efidebug.h │ │ │ ├── efidef.h │ │ │ ├── efidevp.h │ │ │ ├── efierr.h │ │ │ ├── efifs.h │ │ │ ├── efilib.h │ │ │ ├── efinet.h │ │ │ ├── efipart.h │ │ │ ├── efiprot.h │ │ │ ├── efipxebc.h │ │ │ ├── efiser.h │ │ │ ├── efistdarg.h │ │ │ ├── em64t │ │ │ │ ├── efibind.h │ │ │ │ ├── efilibplat.h │ │ │ │ └── pe.h │ │ │ ├── ia32 │ │ │ │ ├── efibind.h │ │ │ │ ├── efilibplat.h │ │ │ │ └── pe.h │ │ │ ├── link.h │ │ │ ├── makefile.hdr │ │ │ ├── pci22.h │ │ │ ├── protocol │ │ │ │ ├── AdapterDebug.h │ │ │ │ ├── VgaClass.h │ │ │ │ ├── eficonSplit.h │ │ │ │ ├── efivar.h │ │ │ │ ├── intload.h │ │ │ │ ├── legacyboot.h │ │ │ │ ├── makefile.hdr │ │ │ │ └── readme.txt │ │ │ └── usb.h │ │ └── efishell │ │ │ ├── makefile.hdr │ │ │ ├── shell.h │ │ │ └── shellenv.h │ └── Lib │ │ ├── Lib.cif │ │ ├── LibEfiAll.lib │ │ └── LibEfiAllx64.lib │ ├── Kernel.cif │ ├── PciDump.brs │ ├── PciDump.dat │ ├── PciDump.veb │ ├── ba.cmd │ ├── build.log │ ├── builda_AMD64.cmd │ ├── builda_X86.cmd │ ├── project.ldl │ ├── project │ ├── PciDump.c │ ├── project.cif │ └── project.sdl │ ├── scripts │ ├── Kernel.sdl │ ├── kernel32.mak │ └── kernel64.mak │ ├── symbols.brs │ ├── vc70.idb │ ├── vc70.pdb │ ├── vc80.idb │ ├── vc80.pdb │ ├── vc90.idb │ ├── vc90.pdb │ └── wspace.dat ├── 13.EC └── EC.CPP ├── 2.PCI&PCIE ├── PCI.CPP ├── PCI.LOG ├── PCIE.BAK ├── PCIE.CPP ├── PCIE.LOG ├── RUTEST.BAK ├── RUTEST.CPP └── openProtectMode.CPP ├── 3.VeB use ├── CM.cif ├── CM.mak ├── CM.sd ├── CM.sdl ├── CM.uni ├── CMDxe.c ├── CMDxe.dxs ├── CMPei.c ├── CMPei.dxs └── CMsetup.c ├── 4.SuperIO ├── CPU fan speed .cpp ├── ProjectPEI.c ├── ProjectPEI.dxs └── SIO.CPP ├── 5.SMI introdution ├── ProjectSxSMI.DXS └── ProjectSxSMI.c ├── 6.PIC 8259 ├── INT09.asm └── INT_ASM.CPP ├── 7.Memory └── PciDump-20140717 │ ├── BIN │ ├── Bit64_Testx64.efi │ ├── MSRx64.efi │ └── PciDumpx64.efi │ ├── Build │ ├── Bit64_Test.dll │ ├── Bit64_Test.pdb │ ├── CpuX64.OBJ │ ├── PciDump.OBJ │ ├── TOKEN.MAK │ ├── asmsrc.lst │ ├── dater.mak │ ├── src.lst │ └── token.h │ ├── CpuLib │ ├── CpuLib.cif │ ├── CpuLib.h │ ├── IA32 │ │ └── CpuIA32.c │ └── X64 │ │ └── CpuX64.asm │ ├── EfiToolKit_20 │ ├── Bin │ │ ├── AMD64 │ │ │ ├── 1033 │ │ │ │ ├── clui.dll │ │ │ │ └── linkui.dll │ │ │ ├── X64Tools.cif │ │ │ ├── X64Tools.cif.bak │ │ │ ├── c1.dll │ │ │ ├── c1xx.dll │ │ │ ├── c2.dll │ │ │ ├── cl.txt │ │ │ ├── msobj80.dll │ │ │ ├── mspdb80.dll │ │ │ ├── msvcp80.dll │ │ │ ├── msvcr71.dll │ │ │ ├── msvcr80.dll │ │ │ ├── vc80.idb │ │ │ └── vc80.pdb │ │ ├── Bin.cif │ │ └── VC7.1 │ │ │ ├── ML.ERR │ │ │ ├── MSDBI60.DLL │ │ │ ├── VC71Tools.cif │ │ │ ├── VC71Tools.cif.bak │ │ │ ├── c1.dll │ │ │ ├── c1xx.dll │ │ │ ├── c2.dll │ │ │ ├── msobj71.dll │ │ │ ├── mspdb71.dll │ │ │ ├── msvcp71.dll │ │ │ ├── msvcr71.dll │ │ │ ├── vc71.mak │ │ │ └── vc71.sdl │ ├── EfiToolKit_20.cif │ ├── Include │ │ ├── Include.cif │ │ ├── efi110 │ │ │ ├── EFI_PXE.H │ │ │ ├── EfiGpt.h │ │ │ ├── EfiRtLib.h │ │ │ ├── EfiUi.h │ │ │ ├── LIbSmbios.h │ │ │ ├── ROMLOAD.H │ │ │ ├── efi.h │ │ │ ├── efiBis.h │ │ │ ├── efiBusSpecificDriverOverride.h │ │ │ ├── efiComponentName.h │ │ │ ├── efiDebugPort.h │ │ │ ├── efiDebugSupport.h │ │ │ ├── efiDecompress.h │ │ │ ├── efiDriverBinding.h │ │ │ ├── efiDriverConfiguration.h │ │ │ ├── efiDriverDiagnostics.h │ │ │ ├── efiEbc.h │ │ │ ├── efiPciIo.h │ │ │ ├── efiPciRootBridgeIo.h │ │ │ ├── efiPlatformDriverOverride.h │ │ │ ├── efiPointer.h │ │ │ ├── efiScsiPassThru.h │ │ │ ├── efiUgaDraw.h │ │ │ ├── efiUgaIo.h │ │ │ ├── efiUsbHostController.h │ │ │ ├── efiUsbIo.h │ │ │ ├── efi_nii.h │ │ │ ├── efiapi.h │ │ │ ├── eficon.h │ │ │ ├── efidebug.h │ │ │ ├── efidef.h │ │ │ ├── efidevp.h │ │ │ ├── efierr.h │ │ │ ├── efifs.h │ │ │ ├── efilib.h │ │ │ ├── efinet.h │ │ │ ├── efipart.h │ │ │ ├── efiprot.h │ │ │ ├── efipxebc.h │ │ │ ├── efiser.h │ │ │ ├── efistdarg.h │ │ │ ├── em64t │ │ │ │ ├── efibind.h │ │ │ │ ├── efilibplat.h │ │ │ │ └── pe.h │ │ │ ├── ia32 │ │ │ │ ├── efibind.h │ │ │ │ ├── efilibplat.h │ │ │ │ └── pe.h │ │ │ ├── link.h │ │ │ ├── makefile.hdr │ │ │ ├── pci22.h │ │ │ ├── protocol │ │ │ │ ├── AdapterDebug.h │ │ │ │ ├── VgaClass.h │ │ │ │ ├── eficonSplit.h │ │ │ │ ├── efivar.h │ │ │ │ ├── intload.h │ │ │ │ ├── legacyboot.h │ │ │ │ ├── makefile.hdr │ │ │ │ └── readme.txt │ │ │ └── usb.h │ │ └── efishell │ │ │ ├── makefile.hdr │ │ │ ├── shell.h │ │ │ └── shellenv.h │ └── Lib │ │ ├── Lib.cif │ │ ├── LibEfiAll.lib │ │ └── LibEfiAllx64.lib │ ├── Kernel.cif │ ├── MemMap │ ├── Memmap.c │ ├── Memmap.cif │ └── Memmap.sdl │ ├── PciDump.brs │ ├── PciDump.dat │ ├── PciDump.veb │ ├── ba.cmd │ ├── build.log │ ├── builda_AMD64.cmd │ ├── builda_X86.cmd │ ├── project.ldl │ ├── project │ ├── PciDump.c │ ├── project.cif │ └── project.sdl │ ├── scripts │ ├── Kernel.sdl │ ├── kernel32.mak │ └── kernel64.mak │ ├── symbols.brs │ ├── vc70.idb │ ├── vc70.pdb │ ├── vc80.idb │ ├── vc80.pdb │ ├── vc90.idb │ ├── vc90.pdb │ └── wspace.dat ├── 8.itp └── itp.txt ├── 9.SX └── KB_AWAKE.CPP ├── README.md ├── backup ├── PCI.CPP ├── PCI.LOG ├── PCIE.CPP ├── PCIE.LOG └── PCIE0.CPP └── test ├── Readme.txt └── kb.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | *.exe 2 | -------------------------------------------------------------------------------- /11.XHCI/ReadPid&Vid/DMEM.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/11.XHCI/ReadPid&Vid/DMEM.OBJ -------------------------------------------------------------------------------- /11.XHCI/ReadPid&Vid/HIT.DSK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/11.XHCI/ReadPid&Vid/HIT.DSK -------------------------------------------------------------------------------- /11.XHCI/ReadPid&Vid/HIT.PRJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/11.XHCI/ReadPid&Vid/HIT.PRJ -------------------------------------------------------------------------------- /11.XHCI/ReadPid&Vid/MEM_ACC.LIB: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/11.XHCI/ReadPid&Vid/MEM_ACC.LIB -------------------------------------------------------------------------------- /11.XHCI/ReadPid&Vid/MEM_Acc.h: -------------------------------------------------------------------------------- 1 | #include"TYPE.h" 2 | //************************************************************** 3 | // name: Enter_Big_Real_Mode 4 | // input: none 5 | // output: none 6 | // note: 7 | //************************************************************** 8 | void Enter_Big_Real_Mode(void); 9 | 10 | //************************************************************** 11 | // name: Exit_Big_Real_Mode 12 | // input: none 13 | // output: none 14 | // note: 15 | //************************************************************** 16 | void Exit_Big_Real_Mode(void); 17 | 18 | //************************************************************** 19 | // name: Read_Mem_Byte 20 | // input: adr (Memory address) 21 | // output: return(Byte data by uint8) 22 | // note: 23 | //************************************************************** 24 | uint8 Read_Mem_Byte(uint32 adr); 25 | 26 | //************************************************************** 27 | // name: Write_Mem_Byte 28 | // input: adr (Memory address) 29 | // val_b (byte data for write) 30 | // output: none 31 | // note: 32 | //************************************************************** 33 | void Write_Mem_Byte(uint32 adr,uint8 val_b); 34 | 35 | //************************************************************** 36 | // name: Read_Mem_Word 37 | // input: adr (Memory address) 38 | // output: return(Word data by uint16) 39 | // note: 40 | //************************************************************** 41 | uint16 Read_Mem_Word(uint32 adr); 42 | 43 | //************************************************************** 44 | // name: Write_Mem_Word 45 | // input: adr (Memory address) 46 | // val_w (Word data for write) 47 | // output: none 48 | // note: 49 | //************************************************************** 50 | void Write_Mem_Word(uint32 adr,uint16 val_w); 51 | 52 | //************************************************************** 53 | // name: Read_Mem_Dword 54 | // input: adr (Memory address) 55 | // output: return(Dword data by uint32) 56 | // note: 57 | //************************************************************** 58 | uint32 Read_Mem_Dword(uint32 adr); 59 | 60 | //************************************************************** 61 | // name: Write_Mem_Dword 62 | // input: adr (Memory address) 63 | // val_d (Dword data for write) 64 | // output: none 65 | // note: 66 | //************************************************************** 67 | void Write_Mem_Dword(uint32 adr,uint32 val_d); -------------------------------------------------------------------------------- /11.XHCI/ReadPid&Vid/XHCI.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/11.XHCI/ReadPid&Vid/XHCI.OBJ -------------------------------------------------------------------------------- /11.XHCI/ReadPid&Vid/dmem.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | uint32 p_to_le32(void *p); 4 | //-uint32 p_to_l32(void *p); 5 | 6 | void memset32(uint32 addr,unsigned char pattern,unsigned int len); 7 | int memcpy32(uint32 dest,uint32 src,unsigned int size); 8 | 9 | 10 | 11 | void* dmalloc(unsigned long size, unsigned long align); 12 | void dmfree(void* ptr); 13 | 14 | uint32 dmalloc32(unsigned long size,unsigned long align); 15 | void dmfree32(uint32 addr32); 16 | 17 | void dminstall(uint32 force=0); 18 | void dmuninstall(); 19 | 20 | void* le32_to_p(uint32 addr); 21 | 22 | 23 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/BIN/ACPI.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/BIN/ACPI.efi -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/BIN/ACPIx64.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/BIN/ACPIx64.efi -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/BIN/PCIBase.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/BIN/PCIBase.efi -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/BIN/PCIBasex64.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/BIN/PCIBasex64.efi -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/Build/CpuIA32.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/Build/CpuIA32.OBJ -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/Build/PCIBase.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/Build/PCIBase.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/Build/PCIBase.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/Build/PCIBase.pdb -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/Build/PciDump.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/Build/PciDump.OBJ -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/Build/asmsrc.lst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/Build/asmsrc.lst -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/Build/dater.mak: -------------------------------------------------------------------------------- 1 | # ******************************************************* 2 | # * This file has been generated by * 3 | # * AMIBIOS date creator utility * 4 | # * Revision (null) * 5 | # * DO NOT EDIT THIS FILE * 6 | # ******************************************************* 7 | # TODAY=MM/DD/YYYY 8 | TODAY=09/08/2015 9 | # TODAY1=MMDDYYYY 10 | TODAY1=09082015 11 | # TODAY2=MM/DD/YY 12 | TODAY2=09/08/15 13 | # TODAY3=MMDDYY 14 | TODAY3=090815 15 | # TODAY4=YYYYMMDD 16 | TODAY4=20150908 17 | # TODAY5=YYMMDD 18 | TODAY5=150908 19 | # THIS_DAY=DD 20 | THIS_DAY=08 21 | # THIS_MONTH=MM 22 | THIS_MONTH=09 23 | # THIS_YEAR=DD 24 | THIS_YEAR=2015 25 | # NOW=HH:MM:SS 26 | NOW=15:53:18 27 | # NOW1=HHMMSS 28 | NOW1=155318 29 | # NOW2=HH:MM 30 | NOW2=15:53 31 | # NOW3=HHMM 32 | NOW3=1553 33 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/Build/src.lst: -------------------------------------------------------------------------------- 1 | PciDump.c 2 | CpuIA32.c 3 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/Build/token.h: -------------------------------------------------------------------------------- 1 | 2 | //-------- DO NOT EDIT THIS FILE -------- 3 | // 4 | // FILE WAS GENERATED AUTOMATICALY USING AMISDL v3.64.1043 (Jul 7 2010,12:30:32) 5 | // 6 | //-------- DO NOT EDIT THIS FILE -------- 7 | //**************************************************************************** 8 | //**************************************************************************** 9 | //** ** 10 | //** (C)Copyright 1985-2010, American Megatrends, Inc. ** 11 | //** ** 12 | //** All Rights Reserved. ** 13 | //** ** 14 | //** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** 15 | //** ** 16 | //** Phone (770)-246-8600 ** 17 | //** ** 18 | //**************************************************************************** 19 | //**************************************************************************** 20 | //**************************************************************************** 21 | #if !defined(_TOKEN_SDL_H) 22 | #define _TOKEN_SDL_H 23 | #define MAJVER 0x0 24 | #define MINVER 0x0 25 | 26 | #endif 27 | 28 | //-------- DO NOT EDIT THIS FILE -------- 29 | // 30 | // FILE WAS GENERATED AUTOMATICALY USING AMISDL v3.64.1043 (Jul 7 2010,12:30:32) 31 | // 32 | //-------- DO NOT EDIT THIS FILE -------- 33 | //**************************************************************************** 34 | //**************************************************************************** 35 | //** ** 36 | //** (C)Copyright 1985-2010, American Megatrends, Inc. ** 37 | //** ** 38 | //** All Rights Reserved. ** 39 | //** ** 40 | //** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** 41 | //** ** 42 | //** Phone (770)-246-8600 ** 43 | //** ** 44 | //**************************************************************************** 45 | //**************************************************************************** 46 | //**************************************************************************** 47 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/CpuLib/CpuLib.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "CpuLib" 3 | category = eChipset 4 | LocalRoot = "CpuLib" 5 | RefName = "CpuLib" 6 | [files] 7 | "IA32\CpuIA32.c" 8 | "X64\CpuX64.asm" 9 | "CpuLib.h" 10 | 11 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/CpuLib/CpuLib.h: -------------------------------------------------------------------------------- 1 | #ifndef __CPULIB_H__ 2 | #define __CPULIB_H__ 3 | 4 | typedef struct { 5 | UINT32 RegEax; 6 | UINT32 RegEbx; 7 | UINT32 RegEcx; 8 | UINT32 RegEdx; 9 | } EFI_CPUID_REGISTER; 10 | 11 | UINT64 EfiReadMsr(UINT32 Msr); 12 | VOID EfiWriteMsr(UINT32 Msr, UINT64 Value); 13 | UINT64 EfiReadTsc(); 14 | VOID EfiCpuid(UINT32 RegisterInEax, EFI_CPUID_REGISTER *Reg); 15 | VOID EfiEnableCache(); 16 | VOID EfiDisableCache(); 17 | 18 | //================================================================ 19 | // IO Access 20 | //================================================================ 21 | UINT8 IoRead8(UINT16 Port); 22 | UINT16 IoRead16(UINT16 Port); 23 | UINT32 IoRead32(UINT16 Port); 24 | 25 | VOID IoWrite8(UINT16 Port, UINT8 Value); 26 | VOID IoWrite16(UINT16 Port, UINT16 Value); 27 | VOID IoWrite32(UINT16 Port, UINT32 Value); 28 | 29 | //================================================================ 30 | // Memory Access 31 | //================================================================ 32 | #define MemRead8(Address) *((UINT8 *)((UINT32)Address)) 33 | #define MemRead16(Address) *((UINT16 *)((UINT32)Address)) 34 | #define MemRead32(Address) *((UINT32 *)((UINT32)Address)) 35 | 36 | #define MemWrite8(Address, Data) *((UINT8 *)((UINT32)Address))=Data 37 | #define MemWrite16(Address, Data) *((UINT16 *)((UINT32)Address))=Data 38 | #define MemWrite32(Address, Data) *((UINT32 *)((UINT32)Address))=Data 39 | 40 | UINT64 Div64 (UINT64 Dividend, UINTN Divisor, UINTN *Remainder); 41 | 42 | #endif //#ifndef __CPULIB_H__ -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/1033/clui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/1033/clui.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/1033/linkui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/1033/linkui.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/X64Tools.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "X64 Tools" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Bin\AMD64\" 5 | RefName = "X64 Tools" 6 | [files] 7 | "\c1.dll" 8 | "\c1xx.dll" 9 | "\c2.dll" 10 | "\cl.exe" 11 | "\lib.exe" 12 | "\link.exe" 13 | "\ml64.exe" 14 | "\msobj80.dll" 15 | "\mspdb80.dll" 16 | "\msvcp80.dll" 17 | "\msvcr80.dll" 18 | "\1033\clui.dll" 19 | "\1033\linkui.dll" 20 | 21 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/X64Tools.cif.bak: -------------------------------------------------------------------------------- 1 | 2 | name = "X64 Tools" 3 | category = ModulePart 4 | LocalRoot = "Aptio4Tools\AMD64\" 5 | RefName = "X64 Tools" 6 | [files] 7 | "\c1.dll" 8 | "\c1xx.dll" 9 | "\c2.dll" 10 | "\cl.exe" 11 | "\lib.exe" 12 | "\link.exe" 13 | "\ml64.exe" 14 | "\msobj80.dll" 15 | "\mspdb80.dll" 16 | "\msvcp80.dll" 17 | "\msvcr80.dll" 18 | "\1033\clui.dll" 19 | "\1033\linkui.dll" 20 | 21 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/c1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/c1.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/c1xx.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/c1xx.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/c2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/c2.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/msobj80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/msobj80.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/mspdb80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/mspdb80.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/msvcp80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/msvcp80.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/msvcr71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/msvcr71.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/msvcr80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/msvcr80.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/vc80.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/vc80.idb -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/vc80.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/AMD64/vc80.pdb -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/Bin.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Bin" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Bin\" 5 | RefName = "Bin" 6 | [files] 7 | "fwimage.exe" 8 | [parts] 9 | "VC7.1 Tools" 10 | "X64 Tools" 11 | 12 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/MSDBI60.DLL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/MSDBI60.DLL -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/VC71Tools.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "VC7.1 Tools" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Bin\VC7.1\" 5 | RefName = "VC7.1 Tools" 6 | [files] 7 | "c1.dll" 8 | "c1xx.dll" 9 | "c2.dll" 10 | "cl.exe" 11 | "lib.exe" 12 | "link.exe" 13 | "MSDBI60.DLL" 14 | "msobj71.dll" 15 | "mspdb71.dll" 16 | "msvcp71.dll" 17 | "msvcr71.dll" 18 | "nmake.exe" 19 | "vc71.sdl" 20 | "vc71.mak" 21 | "ML.ERR" 22 | "ML.EXE" 23 | 24 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/VC71Tools.cif.bak: -------------------------------------------------------------------------------- 1 | 2 | name = "VC7.1 Tools" 3 | category = ModulePart 4 | LocalRoot = "Aptio4Tools\VC7.1\" 5 | RefName = "VC7.1 Tools" 6 | [files] 7 | "\c1.dll" 8 | "\c1xx.dll" 9 | "\c2.dll" 10 | "\cl.exe" 11 | "\lib.exe" 12 | "\link.exe" 13 | "\MSDBI60.DLL" 14 | "\msobj71.dll" 15 | "\mspdb71.dll" 16 | "\msvcp71.dll" 17 | "\msvcr71.dll" 18 | "\nmake.exe" 19 | "\vc71.sdl" 20 | "\vc71.mak" 21 | 22 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/c1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/c1.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/c1xx.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/c1xx.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/c2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/c2.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/msobj71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/msobj71.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/mspdb71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/mspdb71.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/msvcp71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/msvcp71.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/msvcr71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/msvcr71.dll -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/vc71.mak: -------------------------------------------------------------------------------- 1 | #********************************************************************** 2 | #********************************************************************** 3 | #** ** 4 | #** (C)Copyright 1985-2005, American Megatrends, Inc. ** 5 | #** ** 6 | #** All Rights Reserved. ** 7 | #** ** 8 | #** 6145-F Northbelt Pkwy, Norcross, GA 30071 ** 9 | #** ** 10 | #** Phone: (770)-246-8600 ** 11 | #** ** 12 | #********************************************************************** 13 | #********************************************************************** 14 | 15 | #********************************************************************** 16 | # $Header: /Alaska/Tools/VC7.1/vc71.mak 2 1/18/05 3:22p Felixp $ 17 | # 18 | # $Revision: 2 $ 19 | # 20 | # $Date: 1/18/05 3:22p $ 21 | #********************************************************************** 22 | # Revision History 23 | # ---------------- 24 | # $Log: /Alaska/Tools/VC7.1/vc71.mak $ 25 | # 26 | # 2 1/18/05 3:22p Felixp 27 | # PrintDebugMessage renamed to Trace 28 | # 29 | # 1 12/23/04 9:58a Felixp 30 | # 31 | # 1 7/13/04 10:50a Felixp 32 | # 33 | #********************************************************************** 34 | # 35 | # 36 | # Name: vc7.mak 37 | # 38 | # Description: 39 | # 40 | # 41 | #********************************************************************** 42 | LFLAGS = $(LFLAGS) /SUBSYSTEM:$(SUBSYSTEM) /ENTRY:$(ENTRY_POINT) 43 | EXT=efi 44 | #********************************************************************** 45 | #** ** 46 | #** (C)Copyright 1985-2005, American Megatrends, Inc. ** 47 | #** ** 48 | #** All Rights Reserved. ** 49 | #** ** 50 | #** 6145-F Northbelt Pkwy, Norcross, GA 30071 ** 51 | #** ** 52 | #** Phone: (770)-246-8600 ** 53 | #** ** 54 | #********************************************************************** 55 | #********************************************************************** -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Bin/VC7.1/vc71.sdl: -------------------------------------------------------------------------------- 1 | TOKEN 2 | Name = "TOOL_LFLAGS" 3 | Value = "/NODEFAULTLIB /ALIGN:32" 4 | TokenType = Expression 5 | TargetMAK = Yes 6 | End 7 | 8 | TOKEN 9 | Name = "VC71Tools_Support" 10 | Value = "1" 11 | Help = "Main switch to enable VC 7.1 Tools support in Project" 12 | TokenType = Boolean 13 | TargetMAK = Yes 14 | Master = Yes 15 | End 16 | 17 | TOKEN 18 | Name = "TOOL_RULES" 19 | Value = "$(TOOL_DIR)\vc71.mak" 20 | TokenType = Expression 21 | TargetMAK = Yes 22 | End 23 | 24 | 25 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/EfiToolKit_20.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "EfiToolKit_20" 3 | category = CPU 4 | LocalRoot = "EfiToolKit_20\" 5 | RefName = "EfiToolKit_20" 6 | [parts] 7 | "Lib" 8 | "Include" 9 | "Bin" 10 | 11 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/Include.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Include" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Include\" 5 | RefName = "Include" 6 | [files] 7 | "efi110\efi.h" 8 | "efi110\efi_nii.h" 9 | "efi110\EFI_PXE.H" 10 | "efi110\efiapi.h" 11 | "efi110\efiBis.h" 12 | "efi110\efiBusSpecificDriverOverride.h" 13 | "efi110\efiComponentName.h" 14 | "efi110\eficon.h" 15 | "efi110\efidebug.h" 16 | "efi110\efiDebugPort.h" 17 | "efi110\efiDebugSupport.h" 18 | "efi110\efiDecompress.h" 19 | "efi110\efidef.h" 20 | "efi110\efidevp.h" 21 | "efi110\efiDriverBinding.h" 22 | "efi110\efiDriverConfiguration.h" 23 | "efi110\efiDriverDiagnostics.h" 24 | "efi110\efiEbc.h" 25 | "efi110\efierr.h" 26 | "efi110\efifs.h" 27 | "efi110\EfiGpt.h" 28 | "efi110\efilib.h" 29 | "efi110\efinet.h" 30 | "efi110\efipart.h" 31 | "efi110\efiPciIo.h" 32 | "efi110\efiPciRootBridgeIo.h" 33 | "efi110\efiPlatformDriverOverride.h" 34 | "efi110\efiPointer.h" 35 | "efi110\efiprot.h" 36 | "efi110\efipxebc.h" 37 | "efi110\EfiRtLib.h" 38 | "efi110\efiScsiPassThru.h" 39 | "efi110\efiser.h" 40 | "efi110\efistdarg.h" 41 | "efi110\efiUgaDraw.h" 42 | "efi110\efiUgaIo.h" 43 | "efi110\EfiUi.h" 44 | "efi110\efiUsbHostController.h" 45 | "efi110\efiUsbIo.h" 46 | "efi110\LIbSmbios.h" 47 | "efi110\link.h" 48 | "efi110\makefile.hdr" 49 | "efi110\pci22.h" 50 | "efi110\ROMLOAD.H" 51 | "efi110\usb.h" 52 | "efishell\makefile.hdr" 53 | "efishell\shell.h" 54 | "efishell\shellenv.h" 55 | "efi110\em64t\efibind.h" 56 | "efi110\em64t\efilibplat.h" 57 | "efi110\em64t\pe.h" 58 | "efi110\ia32\efibind.h" 59 | "efi110\ia32\efilibplat.h" 60 | "efi110\ia32\pe.h" 61 | "efi110\protocol\AdapterDebug.h" 62 | "efi110\protocol\eficonSplit.h" 63 | "efi110\protocol\efivar.h" 64 | "efi110\protocol\intload.h" 65 | "efi110\protocol\legacyboot.h" 66 | "efi110\protocol\makefile.hdr" 67 | "efi110\protocol\readme.txt" 68 | "efi110\protocol\VgaClass.h" 69 | 70 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/EfiGpt.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_GPT_H 2 | #define _EFI_GPT_H 3 | /*++ 4 | 5 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 6 | This software and associated documentation (if any) is furnished 7 | under a license and may only be used or copied in accordance 8 | with the terms of the license. Except as permitted by such 9 | license, no part of this software or documentation may be 10 | reproduced, stored in a retrieval system, or transmitted in any 11 | form or by any means without the express written consent of 12 | Intel Corporation. 13 | 14 | Module Name: 15 | 16 | EfiGpt.h 17 | 18 | Abstract: 19 | Include file for EFI partitioning scheme 20 | 21 | 22 | 23 | Revision History 24 | 25 | --*/ 26 | 27 | #define PRIMARY_PART_HEADER_LBA 1 28 | 29 | typedef struct { 30 | EFI_TABLE_HEADER Header; 31 | EFI_LBA MyLBA; 32 | EFI_LBA AlternateLBA; 33 | EFI_LBA FirstUsableLBA; 34 | EFI_LBA LastUsableLBA; 35 | EFI_GUID DiskGUID; 36 | EFI_LBA PartitionEntryLBA; 37 | UINT32 NumberOfPartitionEntries; 38 | UINT32 SizeOfPartitionEntry; 39 | UINT32 PartitionEntryArrayCRC32; 40 | } EFI_PARTITION_TABLE_HEADER; 41 | 42 | #define EFI_PTAB_HEADER_ID "EFI PART" 43 | 44 | typedef struct { 45 | EFI_GUID PartitionTypeGUID; 46 | EFI_GUID UniquePartitionGUID; 47 | EFI_LBA StartingLBA; 48 | EFI_LBA EndingLBA; 49 | UINT64 Attributes; 50 | CHAR16 PartitionName[36]; 51 | } EFI_PARTITION_ENTRY; 52 | 53 | // 54 | // EFI Partition Attributes 55 | // 56 | #define EFI_PART_REQUIRED_TO_FUNCTION 0x0000000000000001 57 | 58 | #define EFI_PART_TYPE_UNUSED_GUID \ 59 | { 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } 60 | 61 | #define EFI_PART_TYPE_EFI_SYSTEM_PART_GUID \ 62 | { 0xc12a7328, 0xf81f, 0x11d2, 0xba, 0x4b, 0x00, 0xa0, 0xc9, 0x3e, 0xc9, 0x3b } 63 | 64 | #define EFI_PART_TYPE_LEGACY_MBR_GUID \ 65 | { 0x024dee41, 0x33e7, 0x11d3, 0x9d, 0x69, 0x00, 0x08, 0xc7, 0x81, 0xf3, 0x9f } 66 | 67 | #endif -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/EfiUi.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_UI_H 2 | #define _EFI_UI_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | EfiUi.h 18 | 19 | Abstract: 20 | Protocol used to build User Interface (UI) stuff. 21 | 22 | This protocol is just data. It is a multi dimentional array. 23 | For each string there is an array of UI_STRING_ENTRY. Each string 24 | is for a different language translation of the same string. The list 25 | is terminated by a NULL UiString. There can be any number of 26 | UI_STRING_ENTRY arrays. A NULL array terminates the list. A NULL array 27 | entry contains all zeros. 28 | 29 | Thus the shortest possible EFI_UI_PROTOCOL has three UI_STRING_ENTRY. 30 | The String, it's NULL terminator, and the NULL terminator for the entire 31 | thing. 32 | 33 | 34 | Revision History 35 | 36 | --*/ 37 | 38 | #define EFI_UI_PROTOCOL \ 39 | { 0x32dd7981, 0x2d27, 0x11d4, 0xbc, 0x8b, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } 40 | 41 | 42 | typedef enum { 43 | UiDeviceString, 44 | UiVendorString, 45 | UiMaxString 46 | } UI_STRING_TYPE; 47 | 48 | typedef struct { 49 | ISO_639_2 *LangCode; 50 | CHAR16 *UiString; 51 | } UI_STRING_ENTRY; 52 | 53 | #define EFI_UI_VERSION 0x00010000 54 | 55 | typedef struct _UI_INTERFACE { 56 | UINT32 Version; 57 | UI_STRING_ENTRY *Entry; 58 | } UI_INTERFACE; 59 | 60 | 61 | #endif 62 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/ROMLOAD.H: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | romload.h 15 | 16 | Abstract: 17 | 18 | 19 | 20 | Revision History 21 | 22 | --*/ 23 | 24 | #ifndef _EFI_ROMLOAD_H 25 | #define _EFI_ROMLOAD_H 26 | 27 | #define ROM_SIGNATURE 0xaa55 28 | #define PCIDS_SIGNATURE "PCIR" 29 | #pragma pack(push) 30 | #pragma pack(1) 31 | typedef struct 32 | { 33 | UINT8 Pcids_Sig[4]; 34 | UINT16 VendId; 35 | UINT16 DevId; 36 | UINT16 Vpd_Off; 37 | UINT16 Size; 38 | UINT8 Rev; 39 | UINT8 Class_Code[3]; 40 | UINT16 Image_Len; 41 | UINT16 Rev_Lvl; 42 | UINT8 Code_Type; 43 | UINT8 Indi; 44 | UINT16 Rsvd; 45 | }PciDataStructure; 46 | typedef struct 47 | { 48 | UINT16 Size; 49 | UINT32 Header_Sig; 50 | UINT16 SubSystem; 51 | UINT16 MachineType; 52 | UINT8 Resvd[10]; 53 | UINT16 EfiOffset; 54 | }ArchData; 55 | typedef struct 56 | { 57 | UINT16 Rom_Sig; 58 | ArchData Arch_Data; 59 | UINT16 Pcids_Off; 60 | UINT8 resvd[38]; 61 | }RomHeader; 62 | #pragma pack(pop) 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/efi.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | efi.h 15 | 16 | Abstract: 17 | 18 | Public EFI header files 19 | 20 | 21 | 22 | Revision History 23 | 24 | --*/ 25 | 26 | // 27 | // Build flags on input 28 | // EFI32 29 | // EFI_DEBUG - Enable debugging code 30 | // EFI_NT_EMULATOR - Building for running under NT 31 | // 32 | 33 | 34 | #ifndef _EFI_INCLUDE_ 35 | #define _EFI_INCLUDE_ 36 | 37 | #define EFI_FIRMWARE_VENDOR L"INTEL" 38 | #define EFI_FIRMWARE_MAJOR_REVISION 14 39 | #define EFI_FIRMWARE_MINOR_REVISION 62 40 | #define EFI_FIRMWARE_REVISION ((EFI_FIRMWARE_MAJOR_REVISION <<16) | (EFI_FIRMWARE_MINOR_REVISION)) 41 | 42 | #include "efibind.h" 43 | #include "efidef.h" 44 | #include "efidevp.h" 45 | #include "eficon.h" 46 | #include "efiser.h" 47 | #include "efi_nii.h" 48 | #include "efipxebc.h" 49 | #include "efinet.h" 50 | #include "efiapi.h" 51 | #include "efiprot.h" 52 | #include "efifs.h" 53 | #include "efierr.h" 54 | #include "efiui.h" 55 | 56 | #define EFI_STRINGIZE(a) #a 57 | #define EFI_PROTOCOL_DEFINITION(a) EFI_STRINGIZE(Protocol/a/a.h) 58 | 59 | #define EFI_GUID_DEFINITION(a) EFI_STRINGIZE(Guid/a/a##.h) 60 | #define EFI_GUID_STRING(guidpointer, shortstring, longstring) 61 | 62 | #endif 63 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/efiBusSpecificDriverOverride.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | 13 | Module Name: 14 | 15 | BusSpecificDriverOverride.h 16 | 17 | Abstract: 18 | 19 | Bus Specific Driver Override protocol as defined in the EFI 1.1 specification. 20 | 21 | --*/ 22 | 23 | #ifndef _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL_H_ 24 | #define _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL_H_ 25 | 26 | // 27 | // Global ID for the Bus Specific Driver Override Protocol 28 | // 29 | #define EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL_GUID \ 30 | { 0x3bc1b285, 0x8a15, 0x4a82, 0xaa, 0xbf, 0x4d, 0x7d, 0x13, 0xfb, 0x32, 0x65 } 31 | 32 | EFI_INTERFACE_DECL(_EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL); 33 | 34 | // 35 | // Prototypes for the Bus Specific Driver Override Protocol 36 | // 37 | 38 | typedef 39 | EFI_STATUS 40 | (EFIAPI *EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_GET_DRIVER) ( 41 | IN struct _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This, 42 | IN OUT EFI_HANDLE *DriverImageHandle 43 | ); 44 | 45 | // 46 | // Interface structure for the Bus Specific Driver Override Protocol 47 | // 48 | 49 | typedef struct _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL { 50 | EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_GET_DRIVER GetDriver; 51 | } EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL; 52 | 53 | extern EFI_GUID BusSpecificDriverOverrideProtocol; 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/efiPlatformDriverOverride.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | 13 | Module Name: 14 | 15 | PlatformDriverOverride.h 16 | 17 | Abstract: 18 | 19 | Platform Driver Override protocol as defined in the EFI 1.1 specification. 20 | 21 | --*/ 22 | 23 | #ifndef _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL_H_ 24 | #define _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL_H_ 25 | 26 | // 27 | // Global ID for the Platform Driver Override Protocol 28 | // 29 | #define EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL_GUID \ 30 | { 0x6b30c738, 0xa391, 0x11d4, 0x9a, 0x3b, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d} 31 | 32 | EFI_INTERFACE_DECL(_EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL); 33 | 34 | // 35 | // Prototypes for the Platform Driver Override Protocol 36 | // 37 | 38 | typedef 39 | EFI_STATUS 40 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER) ( 41 | IN struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, 42 | IN EFI_HANDLE ControllerHandle, 43 | IN OUT EFI_HANDLE *DriverImageHandle 44 | ); 45 | 46 | typedef 47 | EFI_STATUS 48 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER_PATH) ( 49 | IN struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, 50 | IN EFI_HANDLE ControllerHandle, 51 | IN OUT EFI_DEVICE_PATH_PROTOCOL **DriverImagePath 52 | ); 53 | 54 | typedef 55 | EFI_STATUS 56 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_DRIVER_LOADED) ( 57 | IN struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, 58 | IN EFI_HANDLE ControllerHandle, 59 | IN EFI_DEVICE_PATH_PROTOCOL *DriverImagePath, 60 | IN EFI_HANDLE DriverImageHandle 61 | ); 62 | 63 | // 64 | // Interface structure for the Platform Driver Override Protocol 65 | // 66 | typedef struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL { 67 | EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER GetDriver; 68 | EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER_PATH GetDriverPath; 69 | EFI_PLATFORM_DRIVER_OVERRIDE_DRIVER_LOADED DriverLoaded; 70 | } EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL; 71 | 72 | extern EFI_GUID EFI_PS2_POLICY_PROTOCOL; 73 | 74 | #endif 75 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/efiPointer.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | 13 | Module Name: 14 | 15 | SimplePointer.h 16 | 17 | Abstract: 18 | 19 | Simple Pointer protocol from the EFI 1.1 specification. 20 | 21 | Abstraction of a very simple pointer device like a mice or tracekballs. 22 | 23 | --*/ 24 | 25 | #ifndef _EFI_POINTER_H_ 26 | #define _EFI_POINTER_H_ 27 | 28 | #define EFI_SIMPLE_POINTER_PROTOCOL_GUID \ 29 | {0x31878c87,0xb75,0x11d5,0x9a,0x4f,0x0,0x90,0x27,0x3f,0xc1,0x4d} 30 | 31 | EFI_INTERFACE_DECL(_EFI_SIMPLE_POINTER_PROTOCOL); 32 | 33 | // 34 | // Data structures 35 | // 36 | 37 | typedef struct { 38 | INT32 RelativeMovementX; 39 | INT32 RelativeMovementY; 40 | INT32 RelativeMovementZ; 41 | BOOLEAN LeftButton; 42 | BOOLEAN RightButton; 43 | } EFI_SIMPLE_POINTER_STATE; 44 | 45 | typedef struct { 46 | UINT64 ResolutionX; 47 | UINT64 ResolutionY; 48 | UINT64 ResolutionZ; 49 | BOOLEAN LeftButton; 50 | BOOLEAN RightButton; 51 | } EFI_SIMPLE_POINTER_MODE; 52 | 53 | typedef 54 | EFI_STATUS 55 | (EFIAPI *EFI_SIMPLE_POINTER_RESET) ( 56 | IN struct _EFI_SIMPLE_POINTER_PROTOCOL *This, 57 | IN BOOLEAN ExtendedVerification 58 | ); 59 | 60 | typedef 61 | EFI_STATUS 62 | (EFIAPI *EFI_SIMPLE_POINTER_GET_STATE) ( 63 | IN struct _EFI_SIMPLE_POINTER_PROTOCOL *This, 64 | IN OUT EFI_SIMPLE_POINTER_STATE *State 65 | ); 66 | 67 | typedef struct _EFI_SIMPLE_POINTER_PROTOCOL { 68 | EFI_SIMPLE_POINTER_RESET Reset; 69 | EFI_SIMPLE_POINTER_GET_STATE GetState; 70 | EFI_EVENT WaitForInput; 71 | EFI_SIMPLE_POINTER_MODE *Mode; 72 | } EFI_SIMPLE_POINTER_PROTOCOL; 73 | 74 | extern EFI_GUID SimplePointerProtocol; 75 | 76 | #endif 77 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/efiUgaIo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/efiUgaIo.h -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/efierr.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_ERR_H 2 | #define _EFI_ERR_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | efierr.h 18 | 19 | Abstract: 20 | 21 | EFI error codes 22 | 23 | 24 | 25 | 26 | Revision History 27 | 28 | --*/ 29 | 30 | 31 | #define EFIWARN(a) (a) 32 | #define EFI_ERROR(a) (((INTN) a) < 0) 33 | 34 | 35 | #define EFI_SUCCESS 0 36 | #define EFI_LOAD_ERROR EFIERR(1) 37 | #define EFI_INVALID_PARAMETER EFIERR(2) 38 | #define EFI_UNSUPPORTED EFIERR(3) 39 | #define EFI_BAD_BUFFER_SIZE EFIERR(4) 40 | #define EFI_BUFFER_TOO_SMALL EFIERR(5) 41 | #define EFI_NOT_READY EFIERR(6) 42 | #define EFI_DEVICE_ERROR EFIERR(7) 43 | #define EFI_WRITE_PROTECTED EFIERR(8) 44 | #define EFI_OUT_OF_RESOURCES EFIERR(9) 45 | #define EFI_VOLUME_CORRUPTED EFIERR(10) 46 | #define EFI_VOLUME_FULL EFIERR(11) 47 | #define EFI_NO_MEDIA EFIERR(12) 48 | #define EFI_MEDIA_CHANGED EFIERR(13) 49 | #define EFI_NOT_FOUND EFIERR(14) 50 | #define EFI_ACCESS_DENIED EFIERR(15) 51 | #define EFI_NO_RESPONSE EFIERR(16) 52 | #define EFI_NO_MAPPING EFIERR(17) 53 | #define EFI_TIMEOUT EFIERR(18) 54 | #define EFI_NOT_STARTED EFIERR(19) 55 | #define EFI_ALREADY_STARTED EFIERR(20) 56 | #define EFI_ABORTED EFIERR(21) 57 | #define EFI_ICMP_ERROR EFIERR(22) 58 | #define EFI_TFTP_ERROR EFIERR(23) 59 | #define EFI_PROTOCOL_ERROR EFIERR(24) 60 | 61 | #define EFI_WARN_UNKNOWN_GLYPH EFIWARN(1) 62 | #define EFI_WARN_DELETE_FAILURE EFIWARN(2) 63 | #define EFI_WARN_WRITE_FAILURE EFIWARN(3) 64 | #define EFI_WARN_BUFFER_TOO_SMALL EFIWARN(4) 65 | 66 | #endif -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/efipart.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_PART_H 2 | #define _EFI_PART_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | efipart.h 18 | 19 | Abstract: 20 | Info about disk partitions and Master Boot Records 21 | 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | // 30 | // 31 | // 32 | 33 | #define EFI_PARTITION 0xef 34 | #define MBR_SIZE 512 35 | 36 | #pragma pack(1) 37 | 38 | typedef struct { 39 | UINT8 BootIndicator; 40 | UINT8 StartHead; 41 | UINT8 StartSector; 42 | UINT8 StartTrack; 43 | UINT8 OSIndicator; 44 | UINT8 EndHead; 45 | UINT8 EndSector; 46 | UINT8 EndTrack; 47 | UINT8 StartingLBA[4]; 48 | UINT8 SizeInLBA[4]; 49 | } MBR_PARTITION_RECORD; 50 | 51 | #define EXTRACT_UINT32(D) (UINT32)(D[0] | (D[1] << 8) | (D[2] << 16) | (D[3] << 24)) 52 | 53 | #define MBR_SIGNATURE 0xaa55 54 | #define MIN_MBR_DEVICE_SIZE 0x80000 55 | #define MBR_ERRATA_PAD 0x40000 // 128 MB 56 | 57 | #define MAX_MBR_PARTITIONS 4 58 | typedef struct { 59 | UINT8 BootStrapCode[440]; 60 | UINT8 UniqueMbrSignature[4]; 61 | UINT8 Unknown[2]; 62 | MBR_PARTITION_RECORD Partition[MAX_MBR_PARTITIONS]; 63 | UINT16 Signature; 64 | } MASTER_BOOT_RECORD; 65 | #pragma pack() 66 | 67 | 68 | #endif 69 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/efistdarg.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFISTDARG_H_ 2 | #define _EFISTDARG_H_ 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | devpath.h 18 | 19 | Abstract: 20 | 21 | Defines for parsing the EFI Device Path structures 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | #define _INTSIZEOF(n) ( (sizeof(n) + sizeof(UINTN) - 1) & ~(sizeof(UINTN) - 1) ) 30 | 31 | typedef CHAR8 * va_list; 32 | 33 | #define va_start(ap,v) ( ap = (va_list)&v + _INTSIZEOF(v) ) 34 | #define va_arg(ap,t) ( *(t *)((ap += _INTSIZEOF(t)) - _INTSIZEOF(t)) ) 35 | #define va_end(ap) ( ap = (va_list)0 ) 36 | 37 | 38 | #endif /* _INC_STDARG */ 39 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/em64t/efilibplat.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_LIB_PLAT_H 2 | #define _EFI_LIB_PLAT_H 3 | /*++ 4 | 5 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 6 | This software and associated documentation (if any) is furnished 7 | under a license and may only be used or copied in accordance 8 | with the terms of the license. Except as permitted by such 9 | license, no part of this software or documentation may be 10 | reproduced, stored in a retrieval system, or transmitted in any 11 | form or by any means without the express written consent of 12 | Intel Corporation. 13 | 14 | Module Name: 15 | 16 | efilibplat.h 17 | 18 | Abstract: 19 | 20 | EFI to compile bindings 21 | 22 | 23 | 24 | Revision History 25 | 26 | --*/ 27 | 28 | 29 | VOID 30 | InitializeLibPlatform ( 31 | IN EFI_HANDLE ImageHandle, 32 | IN EFI_SYSTEM_TABLE *SystemTable 33 | ); 34 | 35 | #endif -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/ia32/efilibplat.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | efilibplat.h 15 | 16 | Abstract: 17 | 18 | EFI to compile bindings 19 | 20 | 21 | 22 | 23 | Revision History 24 | 25 | --*/ 26 | 27 | VOID 28 | InitializeLibPlatform ( 29 | IN EFI_HANDLE ImageHandle, 30 | IN EFI_SYSTEM_TABLE *SystemTable 31 | ); 32 | 33 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/protocol/AdapterDebug.h: -------------------------------------------------------------------------------- 1 | #ifndef _ADAPTER_DEBUG_H 2 | #define _ADAPTER_DEBUG_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | AdapterDebug.h 18 | 19 | Abstract: 20 | 21 | Protocol to debug the EDD 3.0 enablement of BIOS option ROMs 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | // {82F86881-282B-11d4-BC7D-0080C73C8881} 30 | #define ADAPTER_DEBUG_PROTOCOL \ 31 | { 0x82f86881, 0x282b, 0x11d4, 0xbc, 0x7d, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } 32 | 33 | // 34 | // This protocol points to the BIOS_LEGACY_DRIVE data structure 35 | // see edd.h for more details 36 | // 37 | 38 | #endif -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/protocol/VgaClass.h: -------------------------------------------------------------------------------- 1 | #ifndef _VGA_CLASS_H 2 | #define _VGA_CLASS_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | VgaClass.h 18 | 19 | Abstract: 20 | 21 | Vga Mini port binding to Vga Class protocol 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | // 30 | // VGA Device Structure 31 | // 32 | 33 | // {0E3D6310-6FE4-11d3-BB81-0080C73C8881} 34 | #define VGA_CLASS_DRIVER_PROTOCOL \ 35 | { 0xe3d6310, 0x6fe4, 0x11d3, 0xbb, 0x81, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } 36 | 37 | typedef 38 | EFI_STATUS 39 | (* INIT_VGA_CARD) ( 40 | IN UINTN VgaMode, 41 | IN VOID *Context 42 | ); 43 | 44 | typedef struct { 45 | UINTN MaxColumns; 46 | UINTN MaxRows; 47 | } MAX_CONSOLE_GEOMETRY; 48 | 49 | #define VGA_CON_OUT_DEV_SIGNATURE EFI_SIGNATURE_32('c','v','g','a') 50 | typedef struct { 51 | UINTN Signature; 52 | 53 | EFI_HANDLE Handle; 54 | SIMPLE_TEXT_OUTPUT_INTERFACE ConOut; 55 | SIMPLE_TEXT_OUTPUT_MODE ConOutMode; 56 | EFI_DEVICE_PATH *DevicePath; 57 | 58 | UINT8 *Buffer; 59 | EFI_DEVICE_IO_INTERFACE *DeviceIo; 60 | 61 | // 62 | // Video Card Context 63 | // 64 | INIT_VGA_CARD InitVgaCard; 65 | VOID *VgaCardContext; 66 | MAX_CONSOLE_GEOMETRY *Geometry; 67 | // 68 | // Video buffer normally 0xb8000 69 | // 70 | UINT64 VideoBuffer; 71 | 72 | // 73 | // Clear Screen & Default Attribute 74 | // 75 | UINT32 Attribute; 76 | 77 | // 78 | // -1 means search for active VGA device 79 | // 80 | EFI_PCI_ADDRESS_UNION Pci; 81 | } VGA_CON_OUT_DEV; 82 | 83 | #define VGA_CON_OUT_DEV_FROM_THIS(a) CR(a, VGA_CON_OUT_DEV, ConOut, VGA_CON_OUT_DEV_SIGNATURE) 84 | 85 | // 86 | // Vga Class Driver Protocol. 87 | // GUID defined in EFI Lib 88 | // 89 | 90 | typedef 91 | EFI_STATUS 92 | (EFIAPI *INSTALL_VGA_DRIVER) ( 93 | IN VGA_CON_OUT_DEV *ConOutDev 94 | ); 95 | 96 | typedef struct { 97 | UINT32 Version; 98 | INSTALL_VGA_DRIVER InstallGenericVgaDriver; 99 | } INSTALL_VGA_DRIVER_INTERFACE; 100 | 101 | #endif -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/protocol/eficonSplit.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_CONFORK_H 2 | #define _EFI_CONFORK_H 3 | /*++ 4 | 5 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 6 | This software and associated documentation (if any) is furnished 7 | under a license and may only be used or copied in accordance 8 | with the terms of the license. Except as permitted by such 9 | license, no part of this software or documentation may be 10 | reproduced, stored in a retrieval system, or transmitted in any 11 | form or by any means without the express written consent of 12 | Intel Corporation. 13 | 14 | Module Name: 15 | 16 | Abstract: 17 | 18 | 19 | 20 | Revision History 21 | 22 | --*/ 23 | 24 | 25 | 26 | // 27 | // ConOut Forker Protocol 28 | // 29 | 30 | #define TEXT_OUT_SPLITER_PROTOCOL \ 31 | { 0x56d830a0, 0x7e7a, 0x11d3, 0xbb, 0xa0, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } 32 | 33 | #define ERROR_OUT_SPLITER_PROTOCOL \ 34 | { 0xf0ba9039, 0x68f1, 0x425e, 0xaa, 0x7f, 0xd9, 0xaa, 0xf9, 0x1b, 0x82, 0xa1} 35 | 36 | #define TEXT_IN_SPLITER_PROTOCOL \ 37 | { 0xf9a3c550, 0x7fb5, 0x11d3, 0xbb, 0xa0, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/protocol/intload.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | intload 15 | 16 | Abstract: 17 | 18 | EFI support for loading internally linked in apps 19 | 20 | 21 | 22 | Revision History 23 | 24 | --*/ 25 | 26 | #ifndef _INTERNAL_LOAD_INCLUDE_ 27 | #define _INTERNAL_LOAD_INCLUDE_ 28 | 29 | // {D65A6B8C-71E5-4df0-A909-F0D2992B5AA9} 30 | #define INTERNAL_SHELL_GUID \ 31 | { 0xd65a6b8c, 0x71e5, 0x4df0, 0xa9, 0x09, 0xf0, 0xd2, 0x99, 0x2b, 0x5a, 0xa9 } 32 | 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/protocol/makefile.hdr: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # This is a machine generated file - DO NOT EDIT 4 | # Generated by genmake.exe 5 | # Generated from make.inf 6 | # Copyright (c) 1998 Intel Corporation 7 | # 8 | 9 | INC_DEPS = $(INC_DEPS) \ 10 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\efivar.h \ 11 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\legacyboot.h \ 12 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\vgaclass.h \ 13 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\intload.h \ 14 | 15 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efi110/protocol/readme.txt: -------------------------------------------------------------------------------- 1 | The protocol directory contains non Architectural 2 | Protocols that span the FW, Platform, or application 3 | space. -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Include/efishell/makefile.hdr: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # This is a machine generated file - DO NOT EDIT 4 | # Generated by genmake.exe 5 | # Generated from make.inf 6 | # Copyright (c) 1998 Intel Corporation 7 | # 8 | 9 | INC_DEPS = $(INC_DEPS) \ 10 | $(SDK_INSTALL_DIR)\include\efishell\shell.h \ 11 | $(SDK_INSTALL_DIR)\include\efishell\shellenv.h \ 12 | 13 | 14 | !IF "$(PROCESSOR)" == "Ia32" 15 | INC_DEPS = $(INC_DEPS) \ 16 | 17 | 18 | !ENDIF 19 | 20 | 21 | !IF "$(PROCESSOR)" == "Ia64" 22 | INC_DEPS = $(INC_DEPS) \ 23 | 24 | 25 | !ENDIF 26 | 27 | !IF "$(PROCESSOR)" == "Em64t" 28 | INC_DEPS = $(INC_DEPS) \ 29 | 30 | 31 | !ENDIF 32 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Lib/Lib.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Lib" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Lib\" 5 | RefName = "Lib" 6 | [files] 7 | "LibEfiAll.lib" 8 | "LibEfiAllx64.lib" 9 | 10 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Lib/LibEfiAll.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Lib/LibEfiAll.lib -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/EfiToolKit_20/Lib/LibEfiAllx64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/EfiToolKit_20/Lib/LibEfiAllx64.lib -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/Kernel.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Kernel" 3 | category = eCore 4 | RefName = "Kernel" 5 | [files] 6 | "scripts\Kernel.sdl" 7 | "ba.cmd" 8 | "builda_AMD64.cmd" 9 | "builda_X86.cmd" 10 | "scripts\kernel32.mak" 11 | "scripts\kernel64.mak" 12 | 13 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/PciDump.brs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/PciDump.brs -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/PciDump.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/PciDump.dat -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/PciDump.veb: -------------------------------------------------------------------------------- 1 | [project] 2 | version = 1 3 | Build = "nmake -f scripts\kernel32.mak" 4 | BuildAll = "ba.cmd ALL" 5 | 6 | [files] 7 | "Kernel.cif"= Private 8 | "EfiToolKit_20\EfiToolKit_20.cif"= Private 9 | "EfiToolKit_20\Lib\Lib.cif"= Private 10 | "EfiToolKit_20\Include\Include.cif"= Private 11 | "EfiToolKit_20\Bin\Bin.cif"= Private 12 | "Project\project.cif"= Private 13 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/ba.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | if %1 == ALL goto _Build_ALL 3 | if %1 == AMD64 goto _Build_AMD64 4 | if %1 == X86 goto _Build_X86 5 | 6 | echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 7 | echo Build type is not set, Use AMD64 As Default 8 | echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 9 | goto _Build_AMD64 10 | 11 | :_Build_AMD64 12 | call builda_AMD64.cmd 13 | goto END 14 | 15 | :_Build_X86 16 | call builda_X86.cmd 17 | goto END 18 | 19 | :_Build_ALL 20 | call builda_AMD64.cmd 21 | call builda_X86.cmd 22 | :END -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/builda_AMD64.cmd: -------------------------------------------------------------------------------- 1 | del /F /Q /S BUILD\ 2 | del *.obj 3 | dater /CREATEMAKEFILE 4 | move dater.mak BUILD\dater.mak 5 | AMISDL project.ldl 6 | dir /B project\*.C >> BUILD\src.lst 7 | dir /B project\X64\*.asm >> BUILD\asmsrc.lst 8 | dir /B MiscLib\*.C >> BUILD\src.lst 9 | dir /B CpuLib\X64\*.asm >> BUILD\asmsrc.lst 10 | echo OBJS = >> BUILD\token.mak 11 | FOR /F "tokens=1 delims=." %%I in (BUILD\src.lst) DO echo OBJS = $(OBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 12 | FOR /F "tokens=1 delims=." %%I in (BUILD\asmsrc.lst) DO echo ASMOBJS = $(ASMOBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 13 | 14 | nmake -f scripts\kernel64.mak all -nologo -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/builda_X86.cmd: -------------------------------------------------------------------------------- 1 | del /F /Q /S BUILD\ 2 | dater /CREATEMAKEFILE 3 | move dater.mak BUILD\dater.mak 4 | AMISDL project.ldl 5 | dir /B project\*.C >> BUILD\src.lst 6 | dir /B project\IA32\*.asm >> BUILD\asmsrc.lst 7 | dir /B MiscLib\*.C >> BUILD\src.lst 8 | dir /B CpuLib\IA32\*.asm >> BUILD\asmsrc.lst 9 | dir /B CpuLib\IA32\*.C >> BUILD\src.lst 10 | echo OBJS = >> BUILD\token.mak 11 | FOR /F "tokens=1 delims=." %%I in (BUILD\src.lst) DO echo OBJS = $(OBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 12 | FOR /F "tokens=1 delims=." %%I in (BUILD\asmsrc.lst) DO echo ASMOBJS = $(ASMOBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 13 | 14 | nmake -f scripts\kernel32.mak all -nologo 15 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/project.ldl: -------------------------------------------------------------------------------- 1 | scripts\Kernel.sdl\ 2 | Project\project.sdl\ 3 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/project/project.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "project" 3 | category = eBoard 4 | LocalRoot = "Project\" 5 | RefName = "project" 6 | [files] 7 | "project.sdl" 8 | "PciDump.c" 9 | 10 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/project/project.sdl: -------------------------------------------------------------------------------- 1 | TOKEN 2 | Name = "PROJECT_SUPPORT" 3 | Value = "1" 4 | Help = "Main switch to enable Project support in Project" 5 | TokenType = Boolean 6 | TargetEQU = Yes 7 | TargetMAK = Yes 8 | Master = Yes 9 | End 10 | 11 | PATH 12 | Name = "PROJECT_DIR" 13 | End 14 | 15 | TOKEN 16 | Name = "PROJECT_NAME" 17 | Value = "PCIBase" 18 | TokenType = Expression 19 | TargetMAK = Yes 20 | End 21 | 22 | TOKEN 23 | Name = "MAJVER" 24 | Value = "0" 25 | TokenType = Integer 26 | TargetMAK = Yes 27 | TargetH = Yes 28 | End 29 | 30 | TOKEN 31 | Name = "MINVER" 32 | Value = "00" 33 | TokenType = Integer 34 | TargetMAK = Yes 35 | TargetH = Yes 36 | End 37 | 38 | TOKEN 39 | Name = "IMAGE_ENTRY_POINT" 40 | Value = "PCIBaseEntryPoint" 41 | TokenType = Expression 42 | TargetMAK = Yes 43 | End -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/scripts/Kernel.sdl: -------------------------------------------------------------------------------- 1 | TOKEN 2 | Name = "Kernel_SUPPORT" 3 | Value = "1" 4 | Help = "Main switch to enable Kernel support in Project" 5 | TokenType = Boolean 6 | TargetEQU = Yes 7 | TargetMAK = Yes 8 | Master = Yes 9 | End 10 | 11 | TOKEN 12 | Name = "Aptio4Tool_DIR" 13 | Value = "D:\EfiTools\Aptio4Tools" 14 | TokenType = Expression 15 | TargetMAK = Yes 16 | End 17 | 18 | MODULE 19 | Help = "Includes Kernel.mak to Project" 20 | File = "Kernel.mak" 21 | End 22 | 23 | OUTPUTREGISTER 24 | Name = "TOKEN_H" 25 | Path = "BUILD" 26 | File = "token.h" 27 | End 28 | 29 | OUTPUTREGISTER 30 | Name = "TOKEN_MAK" 31 | Path = "BUILD" 32 | File = "TOKEN.MAK" 33 | End 34 | 35 | -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/symbols.brs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/symbols.brs -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/vc70.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/vc70.idb -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/vc70.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/vc70.pdb -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/vc80.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/vc80.idb -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/vc80.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/vc80.pdb -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/vc90.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/vc90.idb -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/vc90.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/GetPCIBase/vc90.pdb -------------------------------------------------------------------------------- /12.ACPI/GetPCIBase/wspace.dat: -------------------------------------------------------------------------------- 1 | gUD3D:\EFITools\FileOps\D:\EFITools\FileOps\ proj_ss_path -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/BIN/ACPI.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/BIN/ACPI.efi -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/BIN/ACPIx64.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/BIN/ACPIx64.efi -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/Build/ACPI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/Build/ACPI.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/Build/ACPI.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/Build/ACPI.pdb -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/Build/CpuIA32.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/Build/CpuIA32.OBJ -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/Build/PciDump.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/Build/PciDump.OBJ -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/Build/asmsrc.lst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/Build/asmsrc.lst -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/Build/dater.mak: -------------------------------------------------------------------------------- 1 | # ******************************************************* 2 | # * This file has been generated by * 3 | # * AMIBIOS date creator utility * 4 | # * Revision (null) * 5 | # * DO NOT EDIT THIS FILE * 6 | # ******************************************************* 7 | # TODAY=MM/DD/YYYY 8 | TODAY=09/01/2015 9 | # TODAY1=MMDDYYYY 10 | TODAY1=09012015 11 | # TODAY2=MM/DD/YY 12 | TODAY2=09/01/15 13 | # TODAY3=MMDDYY 14 | TODAY3=090115 15 | # TODAY4=YYYYMMDD 16 | TODAY4=20150901 17 | # TODAY5=YYMMDD 18 | TODAY5=150901 19 | # THIS_DAY=DD 20 | THIS_DAY=01 21 | # THIS_MONTH=MM 22 | THIS_MONTH=09 23 | # THIS_YEAR=DD 24 | THIS_YEAR=2015 25 | # NOW=HH:MM:SS 26 | NOW=15:15:26 27 | # NOW1=HHMMSS 28 | NOW1=151526 29 | # NOW2=HH:MM 30 | NOW2=15:15 31 | # NOW3=HHMM 32 | NOW3=1515 33 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/Build/src.lst: -------------------------------------------------------------------------------- 1 | PciDump.c 2 | CpuIA32.c 3 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/Build/token.h: -------------------------------------------------------------------------------- 1 | 2 | //-------- DO NOT EDIT THIS FILE -------- 3 | // 4 | // FILE WAS GENERATED AUTOMATICALY USING AMISDL v3.64.1043 (Jul 7 2010,12:30:32) 5 | // 6 | //-------- DO NOT EDIT THIS FILE -------- 7 | //**************************************************************************** 8 | //**************************************************************************** 9 | //** ** 10 | //** (C)Copyright 1985-2010, American Megatrends, Inc. ** 11 | //** ** 12 | //** All Rights Reserved. ** 13 | //** ** 14 | //** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** 15 | //** ** 16 | //** Phone (770)-246-8600 ** 17 | //** ** 18 | //**************************************************************************** 19 | //**************************************************************************** 20 | //**************************************************************************** 21 | #if !defined(_TOKEN_SDL_H) 22 | #define _TOKEN_SDL_H 23 | #define MAJVER 0x0 24 | #define MINVER 0x0 25 | 26 | #endif 27 | 28 | //-------- DO NOT EDIT THIS FILE -------- 29 | // 30 | // FILE WAS GENERATED AUTOMATICALY USING AMISDL v3.64.1043 (Jul 7 2010,12:30:32) 31 | // 32 | //-------- DO NOT EDIT THIS FILE -------- 33 | //**************************************************************************** 34 | //**************************************************************************** 35 | //** ** 36 | //** (C)Copyright 1985-2010, American Megatrends, Inc. ** 37 | //** ** 38 | //** All Rights Reserved. ** 39 | //** ** 40 | //** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** 41 | //** ** 42 | //** Phone (770)-246-8600 ** 43 | //** ** 44 | //**************************************************************************** 45 | //**************************************************************************** 46 | //**************************************************************************** 47 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/CpuLib/CpuLib.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "CpuLib" 3 | category = eChipset 4 | LocalRoot = "CpuLib" 5 | RefName = "CpuLib" 6 | [files] 7 | "IA32\CpuIA32.c" 8 | "X64\CpuX64.asm" 9 | "CpuLib.h" 10 | 11 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/CpuLib/CpuLib.h: -------------------------------------------------------------------------------- 1 | #ifndef __CPULIB_H__ 2 | #define __CPULIB_H__ 3 | 4 | typedef struct { 5 | UINT32 RegEax; 6 | UINT32 RegEbx; 7 | UINT32 RegEcx; 8 | UINT32 RegEdx; 9 | } EFI_CPUID_REGISTER; 10 | 11 | UINT64 EfiReadMsr(UINT32 Msr); 12 | VOID EfiWriteMsr(UINT32 Msr, UINT64 Value); 13 | UINT64 EfiReadTsc(); 14 | VOID EfiCpuid(UINT32 RegisterInEax, EFI_CPUID_REGISTER *Reg); 15 | VOID EfiEnableCache(); 16 | VOID EfiDisableCache(); 17 | 18 | //================================================================ 19 | // IO Access 20 | //================================================================ 21 | UINT8 IoRead8(UINT16 Port); 22 | UINT16 IoRead16(UINT16 Port); 23 | UINT32 IoRead32(UINT16 Port); 24 | 25 | VOID IoWrite8(UINT16 Port, UINT8 Value); 26 | VOID IoWrite16(UINT16 Port, UINT16 Value); 27 | VOID IoWrite32(UINT16 Port, UINT32 Value); 28 | 29 | //================================================================ 30 | // Memory Access 31 | //================================================================ 32 | #define MemRead8(Address) *((UINT8 *)((UINT32)Address)) 33 | #define MemRead16(Address) *((UINT16 *)((UINT32)Address)) 34 | #define MemRead32(Address) *((UINT32 *)((UINT32)Address)) 35 | 36 | #define MemWrite8(Address, Data) *((UINT8 *)((UINT32)Address))=Data 37 | #define MemWrite16(Address, Data) *((UINT16 *)((UINT32)Address))=Data 38 | #define MemWrite32(Address, Data) *((UINT32 *)((UINT32)Address))=Data 39 | 40 | UINT64 Div64 (UINT64 Dividend, UINTN Divisor, UINTN *Remainder); 41 | 42 | #endif //#ifndef __CPULIB_H__ -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/1033/clui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/1033/clui.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/1033/linkui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/1033/linkui.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/X64Tools.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "X64 Tools" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Bin\AMD64\" 5 | RefName = "X64 Tools" 6 | [files] 7 | "\c1.dll" 8 | "\c1xx.dll" 9 | "\c2.dll" 10 | "\cl.exe" 11 | "\lib.exe" 12 | "\link.exe" 13 | "\ml64.exe" 14 | "\msobj80.dll" 15 | "\mspdb80.dll" 16 | "\msvcp80.dll" 17 | "\msvcr80.dll" 18 | "\1033\clui.dll" 19 | "\1033\linkui.dll" 20 | 21 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/X64Tools.cif.bak: -------------------------------------------------------------------------------- 1 | 2 | name = "X64 Tools" 3 | category = ModulePart 4 | LocalRoot = "Aptio4Tools\AMD64\" 5 | RefName = "X64 Tools" 6 | [files] 7 | "\c1.dll" 8 | "\c1xx.dll" 9 | "\c2.dll" 10 | "\cl.exe" 11 | "\lib.exe" 12 | "\link.exe" 13 | "\ml64.exe" 14 | "\msobj80.dll" 15 | "\mspdb80.dll" 16 | "\msvcp80.dll" 17 | "\msvcr80.dll" 18 | "\1033\clui.dll" 19 | "\1033\linkui.dll" 20 | 21 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c1.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c1xx.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c1xx.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c2.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msobj80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msobj80.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/mspdb80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/mspdb80.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcp80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcp80.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcr71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcr71.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcr80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcr80.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/vc80.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/vc80.idb -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/vc80.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/AMD64/vc80.pdb -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/Bin.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Bin" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Bin\" 5 | RefName = "Bin" 6 | [files] 7 | "fwimage.exe" 8 | [parts] 9 | "VC7.1 Tools" 10 | "X64 Tools" 11 | 12 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/MSDBI60.DLL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/MSDBI60.DLL -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/VC71Tools.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "VC7.1 Tools" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Bin\VC7.1\" 5 | RefName = "VC7.1 Tools" 6 | [files] 7 | "c1.dll" 8 | "c1xx.dll" 9 | "c2.dll" 10 | "cl.exe" 11 | "lib.exe" 12 | "link.exe" 13 | "MSDBI60.DLL" 14 | "msobj71.dll" 15 | "mspdb71.dll" 16 | "msvcp71.dll" 17 | "msvcr71.dll" 18 | "nmake.exe" 19 | "vc71.sdl" 20 | "vc71.mak" 21 | "ML.ERR" 22 | "ML.EXE" 23 | 24 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/VC71Tools.cif.bak: -------------------------------------------------------------------------------- 1 | 2 | name = "VC7.1 Tools" 3 | category = ModulePart 4 | LocalRoot = "Aptio4Tools\VC7.1\" 5 | RefName = "VC7.1 Tools" 6 | [files] 7 | "\c1.dll" 8 | "\c1xx.dll" 9 | "\c2.dll" 10 | "\cl.exe" 11 | "\lib.exe" 12 | "\link.exe" 13 | "\MSDBI60.DLL" 14 | "\msobj71.dll" 15 | "\mspdb71.dll" 16 | "\msvcp71.dll" 17 | "\msvcr71.dll" 18 | "\nmake.exe" 19 | "\vc71.sdl" 20 | "\vc71.mak" 21 | 22 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c1.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c1xx.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c1xx.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c2.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msobj71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msobj71.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/mspdb71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/mspdb71.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msvcp71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msvcp71.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msvcr71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msvcr71.dll -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/vc71.mak: -------------------------------------------------------------------------------- 1 | #********************************************************************** 2 | #********************************************************************** 3 | #** ** 4 | #** (C)Copyright 1985-2005, American Megatrends, Inc. ** 5 | #** ** 6 | #** All Rights Reserved. ** 7 | #** ** 8 | #** 6145-F Northbelt Pkwy, Norcross, GA 30071 ** 9 | #** ** 10 | #** Phone: (770)-246-8600 ** 11 | #** ** 12 | #********************************************************************** 13 | #********************************************************************** 14 | 15 | #********************************************************************** 16 | # $Header: /Alaska/Tools/VC7.1/vc71.mak 2 1/18/05 3:22p Felixp $ 17 | # 18 | # $Revision: 2 $ 19 | # 20 | # $Date: 1/18/05 3:22p $ 21 | #********************************************************************** 22 | # Revision History 23 | # ---------------- 24 | # $Log: /Alaska/Tools/VC7.1/vc71.mak $ 25 | # 26 | # 2 1/18/05 3:22p Felixp 27 | # PrintDebugMessage renamed to Trace 28 | # 29 | # 1 12/23/04 9:58a Felixp 30 | # 31 | # 1 7/13/04 10:50a Felixp 32 | # 33 | #********************************************************************** 34 | # 35 | # 36 | # Name: vc7.mak 37 | # 38 | # Description: 39 | # 40 | # 41 | #********************************************************************** 42 | LFLAGS = $(LFLAGS) /SUBSYSTEM:$(SUBSYSTEM) /ENTRY:$(ENTRY_POINT) 43 | EXT=efi 44 | #********************************************************************** 45 | #** ** 46 | #** (C)Copyright 1985-2005, American Megatrends, Inc. ** 47 | #** ** 48 | #** All Rights Reserved. ** 49 | #** ** 50 | #** 6145-F Northbelt Pkwy, Norcross, GA 30071 ** 51 | #** ** 52 | #** Phone: (770)-246-8600 ** 53 | #** ** 54 | #********************************************************************** 55 | #********************************************************************** -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/vc71.sdl: -------------------------------------------------------------------------------- 1 | TOKEN 2 | Name = "TOOL_LFLAGS" 3 | Value = "/NODEFAULTLIB /ALIGN:32" 4 | TokenType = Expression 5 | TargetMAK = Yes 6 | End 7 | 8 | TOKEN 9 | Name = "VC71Tools_Support" 10 | Value = "1" 11 | Help = "Main switch to enable VC 7.1 Tools support in Project" 12 | TokenType = Boolean 13 | TargetMAK = Yes 14 | Master = Yes 15 | End 16 | 17 | TOKEN 18 | Name = "TOOL_RULES" 19 | Value = "$(TOOL_DIR)\vc71.mak" 20 | TokenType = Expression 21 | TargetMAK = Yes 22 | End 23 | 24 | 25 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/EfiToolKit_20.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "EfiToolKit_20" 3 | category = CPU 4 | LocalRoot = "EfiToolKit_20\" 5 | RefName = "EfiToolKit_20" 6 | [parts] 7 | "Lib" 8 | "Include" 9 | "Bin" 10 | 11 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/Include.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Include" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Include\" 5 | RefName = "Include" 6 | [files] 7 | "efi110\efi.h" 8 | "efi110\efi_nii.h" 9 | "efi110\EFI_PXE.H" 10 | "efi110\efiapi.h" 11 | "efi110\efiBis.h" 12 | "efi110\efiBusSpecificDriverOverride.h" 13 | "efi110\efiComponentName.h" 14 | "efi110\eficon.h" 15 | "efi110\efidebug.h" 16 | "efi110\efiDebugPort.h" 17 | "efi110\efiDebugSupport.h" 18 | "efi110\efiDecompress.h" 19 | "efi110\efidef.h" 20 | "efi110\efidevp.h" 21 | "efi110\efiDriverBinding.h" 22 | "efi110\efiDriverConfiguration.h" 23 | "efi110\efiDriverDiagnostics.h" 24 | "efi110\efiEbc.h" 25 | "efi110\efierr.h" 26 | "efi110\efifs.h" 27 | "efi110\EfiGpt.h" 28 | "efi110\efilib.h" 29 | "efi110\efinet.h" 30 | "efi110\efipart.h" 31 | "efi110\efiPciIo.h" 32 | "efi110\efiPciRootBridgeIo.h" 33 | "efi110\efiPlatformDriverOverride.h" 34 | "efi110\efiPointer.h" 35 | "efi110\efiprot.h" 36 | "efi110\efipxebc.h" 37 | "efi110\EfiRtLib.h" 38 | "efi110\efiScsiPassThru.h" 39 | "efi110\efiser.h" 40 | "efi110\efistdarg.h" 41 | "efi110\efiUgaDraw.h" 42 | "efi110\efiUgaIo.h" 43 | "efi110\EfiUi.h" 44 | "efi110\efiUsbHostController.h" 45 | "efi110\efiUsbIo.h" 46 | "efi110\LIbSmbios.h" 47 | "efi110\link.h" 48 | "efi110\makefile.hdr" 49 | "efi110\pci22.h" 50 | "efi110\ROMLOAD.H" 51 | "efi110\usb.h" 52 | "efishell\makefile.hdr" 53 | "efishell\shell.h" 54 | "efishell\shellenv.h" 55 | "efi110\em64t\efibind.h" 56 | "efi110\em64t\efilibplat.h" 57 | "efi110\em64t\pe.h" 58 | "efi110\ia32\efibind.h" 59 | "efi110\ia32\efilibplat.h" 60 | "efi110\ia32\pe.h" 61 | "efi110\protocol\AdapterDebug.h" 62 | "efi110\protocol\eficonSplit.h" 63 | "efi110\protocol\efivar.h" 64 | "efi110\protocol\intload.h" 65 | "efi110\protocol\legacyboot.h" 66 | "efi110\protocol\makefile.hdr" 67 | "efi110\protocol\readme.txt" 68 | "efi110\protocol\VgaClass.h" 69 | 70 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/EfiGpt.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_GPT_H 2 | #define _EFI_GPT_H 3 | /*++ 4 | 5 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 6 | This software and associated documentation (if any) is furnished 7 | under a license and may only be used or copied in accordance 8 | with the terms of the license. Except as permitted by such 9 | license, no part of this software or documentation may be 10 | reproduced, stored in a retrieval system, or transmitted in any 11 | form or by any means without the express written consent of 12 | Intel Corporation. 13 | 14 | Module Name: 15 | 16 | EfiGpt.h 17 | 18 | Abstract: 19 | Include file for EFI partitioning scheme 20 | 21 | 22 | 23 | Revision History 24 | 25 | --*/ 26 | 27 | #define PRIMARY_PART_HEADER_LBA 1 28 | 29 | typedef struct { 30 | EFI_TABLE_HEADER Header; 31 | EFI_LBA MyLBA; 32 | EFI_LBA AlternateLBA; 33 | EFI_LBA FirstUsableLBA; 34 | EFI_LBA LastUsableLBA; 35 | EFI_GUID DiskGUID; 36 | EFI_LBA PartitionEntryLBA; 37 | UINT32 NumberOfPartitionEntries; 38 | UINT32 SizeOfPartitionEntry; 39 | UINT32 PartitionEntryArrayCRC32; 40 | } EFI_PARTITION_TABLE_HEADER; 41 | 42 | #define EFI_PTAB_HEADER_ID "EFI PART" 43 | 44 | typedef struct { 45 | EFI_GUID PartitionTypeGUID; 46 | EFI_GUID UniquePartitionGUID; 47 | EFI_LBA StartingLBA; 48 | EFI_LBA EndingLBA; 49 | UINT64 Attributes; 50 | CHAR16 PartitionName[36]; 51 | } EFI_PARTITION_ENTRY; 52 | 53 | // 54 | // EFI Partition Attributes 55 | // 56 | #define EFI_PART_REQUIRED_TO_FUNCTION 0x0000000000000001 57 | 58 | #define EFI_PART_TYPE_UNUSED_GUID \ 59 | { 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } 60 | 61 | #define EFI_PART_TYPE_EFI_SYSTEM_PART_GUID \ 62 | { 0xc12a7328, 0xf81f, 0x11d2, 0xba, 0x4b, 0x00, 0xa0, 0xc9, 0x3e, 0xc9, 0x3b } 63 | 64 | #define EFI_PART_TYPE_LEGACY_MBR_GUID \ 65 | { 0x024dee41, 0x33e7, 0x11d3, 0x9d, 0x69, 0x00, 0x08, 0xc7, 0x81, 0xf3, 0x9f } 66 | 67 | #endif -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/EfiUi.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_UI_H 2 | #define _EFI_UI_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | EfiUi.h 18 | 19 | Abstract: 20 | Protocol used to build User Interface (UI) stuff. 21 | 22 | This protocol is just data. It is a multi dimentional array. 23 | For each string there is an array of UI_STRING_ENTRY. Each string 24 | is for a different language translation of the same string. The list 25 | is terminated by a NULL UiString. There can be any number of 26 | UI_STRING_ENTRY arrays. A NULL array terminates the list. A NULL array 27 | entry contains all zeros. 28 | 29 | Thus the shortest possible EFI_UI_PROTOCOL has three UI_STRING_ENTRY. 30 | The String, it's NULL terminator, and the NULL terminator for the entire 31 | thing. 32 | 33 | 34 | Revision History 35 | 36 | --*/ 37 | 38 | #define EFI_UI_PROTOCOL \ 39 | { 0x32dd7981, 0x2d27, 0x11d4, 0xbc, 0x8b, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } 40 | 41 | 42 | typedef enum { 43 | UiDeviceString, 44 | UiVendorString, 45 | UiMaxString 46 | } UI_STRING_TYPE; 47 | 48 | typedef struct { 49 | ISO_639_2 *LangCode; 50 | CHAR16 *UiString; 51 | } UI_STRING_ENTRY; 52 | 53 | #define EFI_UI_VERSION 0x00010000 54 | 55 | typedef struct _UI_INTERFACE { 56 | UINT32 Version; 57 | UI_STRING_ENTRY *Entry; 58 | } UI_INTERFACE; 59 | 60 | 61 | #endif 62 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/ROMLOAD.H: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | romload.h 15 | 16 | Abstract: 17 | 18 | 19 | 20 | Revision History 21 | 22 | --*/ 23 | 24 | #ifndef _EFI_ROMLOAD_H 25 | #define _EFI_ROMLOAD_H 26 | 27 | #define ROM_SIGNATURE 0xaa55 28 | #define PCIDS_SIGNATURE "PCIR" 29 | #pragma pack(push) 30 | #pragma pack(1) 31 | typedef struct 32 | { 33 | UINT8 Pcids_Sig[4]; 34 | UINT16 VendId; 35 | UINT16 DevId; 36 | UINT16 Vpd_Off; 37 | UINT16 Size; 38 | UINT8 Rev; 39 | UINT8 Class_Code[3]; 40 | UINT16 Image_Len; 41 | UINT16 Rev_Lvl; 42 | UINT8 Code_Type; 43 | UINT8 Indi; 44 | UINT16 Rsvd; 45 | }PciDataStructure; 46 | typedef struct 47 | { 48 | UINT16 Size; 49 | UINT32 Header_Sig; 50 | UINT16 SubSystem; 51 | UINT16 MachineType; 52 | UINT8 Resvd[10]; 53 | UINT16 EfiOffset; 54 | }ArchData; 55 | typedef struct 56 | { 57 | UINT16 Rom_Sig; 58 | ArchData Arch_Data; 59 | UINT16 Pcids_Off; 60 | UINT8 resvd[38]; 61 | }RomHeader; 62 | #pragma pack(pop) 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/efi.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | efi.h 15 | 16 | Abstract: 17 | 18 | Public EFI header files 19 | 20 | 21 | 22 | Revision History 23 | 24 | --*/ 25 | 26 | // 27 | // Build flags on input 28 | // EFI32 29 | // EFI_DEBUG - Enable debugging code 30 | // EFI_NT_EMULATOR - Building for running under NT 31 | // 32 | 33 | 34 | #ifndef _EFI_INCLUDE_ 35 | #define _EFI_INCLUDE_ 36 | 37 | #define EFI_FIRMWARE_VENDOR L"INTEL" 38 | #define EFI_FIRMWARE_MAJOR_REVISION 14 39 | #define EFI_FIRMWARE_MINOR_REVISION 62 40 | #define EFI_FIRMWARE_REVISION ((EFI_FIRMWARE_MAJOR_REVISION <<16) | (EFI_FIRMWARE_MINOR_REVISION)) 41 | 42 | #include "efibind.h" 43 | #include "efidef.h" 44 | #include "efidevp.h" 45 | #include "eficon.h" 46 | #include "efiser.h" 47 | #include "efi_nii.h" 48 | #include "efipxebc.h" 49 | #include "efinet.h" 50 | #include "efiapi.h" 51 | #include "efiprot.h" 52 | #include "efifs.h" 53 | #include "efierr.h" 54 | #include "efiui.h" 55 | 56 | #define EFI_STRINGIZE(a) #a 57 | #define EFI_PROTOCOL_DEFINITION(a) EFI_STRINGIZE(Protocol/a/a.h) 58 | 59 | #define EFI_GUID_DEFINITION(a) EFI_STRINGIZE(Guid/a/a##.h) 60 | #define EFI_GUID_STRING(guidpointer, shortstring, longstring) 61 | 62 | #endif 63 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/efiBusSpecificDriverOverride.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | 13 | Module Name: 14 | 15 | BusSpecificDriverOverride.h 16 | 17 | Abstract: 18 | 19 | Bus Specific Driver Override protocol as defined in the EFI 1.1 specification. 20 | 21 | --*/ 22 | 23 | #ifndef _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL_H_ 24 | #define _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL_H_ 25 | 26 | // 27 | // Global ID for the Bus Specific Driver Override Protocol 28 | // 29 | #define EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL_GUID \ 30 | { 0x3bc1b285, 0x8a15, 0x4a82, 0xaa, 0xbf, 0x4d, 0x7d, 0x13, 0xfb, 0x32, 0x65 } 31 | 32 | EFI_INTERFACE_DECL(_EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL); 33 | 34 | // 35 | // Prototypes for the Bus Specific Driver Override Protocol 36 | // 37 | 38 | typedef 39 | EFI_STATUS 40 | (EFIAPI *EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_GET_DRIVER) ( 41 | IN struct _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This, 42 | IN OUT EFI_HANDLE *DriverImageHandle 43 | ); 44 | 45 | // 46 | // Interface structure for the Bus Specific Driver Override Protocol 47 | // 48 | 49 | typedef struct _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL { 50 | EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_GET_DRIVER GetDriver; 51 | } EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL; 52 | 53 | extern EFI_GUID BusSpecificDriverOverrideProtocol; 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/efiPlatformDriverOverride.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | 13 | Module Name: 14 | 15 | PlatformDriverOverride.h 16 | 17 | Abstract: 18 | 19 | Platform Driver Override protocol as defined in the EFI 1.1 specification. 20 | 21 | --*/ 22 | 23 | #ifndef _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL_H_ 24 | #define _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL_H_ 25 | 26 | // 27 | // Global ID for the Platform Driver Override Protocol 28 | // 29 | #define EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL_GUID \ 30 | { 0x6b30c738, 0xa391, 0x11d4, 0x9a, 0x3b, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d} 31 | 32 | EFI_INTERFACE_DECL(_EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL); 33 | 34 | // 35 | // Prototypes for the Platform Driver Override Protocol 36 | // 37 | 38 | typedef 39 | EFI_STATUS 40 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER) ( 41 | IN struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, 42 | IN EFI_HANDLE ControllerHandle, 43 | IN OUT EFI_HANDLE *DriverImageHandle 44 | ); 45 | 46 | typedef 47 | EFI_STATUS 48 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER_PATH) ( 49 | IN struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, 50 | IN EFI_HANDLE ControllerHandle, 51 | IN OUT EFI_DEVICE_PATH_PROTOCOL **DriverImagePath 52 | ); 53 | 54 | typedef 55 | EFI_STATUS 56 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_DRIVER_LOADED) ( 57 | IN struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, 58 | IN EFI_HANDLE ControllerHandle, 59 | IN EFI_DEVICE_PATH_PROTOCOL *DriverImagePath, 60 | IN EFI_HANDLE DriverImageHandle 61 | ); 62 | 63 | // 64 | // Interface structure for the Platform Driver Override Protocol 65 | // 66 | typedef struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL { 67 | EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER GetDriver; 68 | EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER_PATH GetDriverPath; 69 | EFI_PLATFORM_DRIVER_OVERRIDE_DRIVER_LOADED DriverLoaded; 70 | } EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL; 71 | 72 | extern EFI_GUID EFI_PS2_POLICY_PROTOCOL; 73 | 74 | #endif 75 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/efiPointer.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | 13 | Module Name: 14 | 15 | SimplePointer.h 16 | 17 | Abstract: 18 | 19 | Simple Pointer protocol from the EFI 1.1 specification. 20 | 21 | Abstraction of a very simple pointer device like a mice or tracekballs. 22 | 23 | --*/ 24 | 25 | #ifndef _EFI_POINTER_H_ 26 | #define _EFI_POINTER_H_ 27 | 28 | #define EFI_SIMPLE_POINTER_PROTOCOL_GUID \ 29 | {0x31878c87,0xb75,0x11d5,0x9a,0x4f,0x0,0x90,0x27,0x3f,0xc1,0x4d} 30 | 31 | EFI_INTERFACE_DECL(_EFI_SIMPLE_POINTER_PROTOCOL); 32 | 33 | // 34 | // Data structures 35 | // 36 | 37 | typedef struct { 38 | INT32 RelativeMovementX; 39 | INT32 RelativeMovementY; 40 | INT32 RelativeMovementZ; 41 | BOOLEAN LeftButton; 42 | BOOLEAN RightButton; 43 | } EFI_SIMPLE_POINTER_STATE; 44 | 45 | typedef struct { 46 | UINT64 ResolutionX; 47 | UINT64 ResolutionY; 48 | UINT64 ResolutionZ; 49 | BOOLEAN LeftButton; 50 | BOOLEAN RightButton; 51 | } EFI_SIMPLE_POINTER_MODE; 52 | 53 | typedef 54 | EFI_STATUS 55 | (EFIAPI *EFI_SIMPLE_POINTER_RESET) ( 56 | IN struct _EFI_SIMPLE_POINTER_PROTOCOL *This, 57 | IN BOOLEAN ExtendedVerification 58 | ); 59 | 60 | typedef 61 | EFI_STATUS 62 | (EFIAPI *EFI_SIMPLE_POINTER_GET_STATE) ( 63 | IN struct _EFI_SIMPLE_POINTER_PROTOCOL *This, 64 | IN OUT EFI_SIMPLE_POINTER_STATE *State 65 | ); 66 | 67 | typedef struct _EFI_SIMPLE_POINTER_PROTOCOL { 68 | EFI_SIMPLE_POINTER_RESET Reset; 69 | EFI_SIMPLE_POINTER_GET_STATE GetState; 70 | EFI_EVENT WaitForInput; 71 | EFI_SIMPLE_POINTER_MODE *Mode; 72 | } EFI_SIMPLE_POINTER_PROTOCOL; 73 | 74 | extern EFI_GUID SimplePointerProtocol; 75 | 76 | #endif 77 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/efiUgaIo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/efiUgaIo.h -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/efierr.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_ERR_H 2 | #define _EFI_ERR_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | efierr.h 18 | 19 | Abstract: 20 | 21 | EFI error codes 22 | 23 | 24 | 25 | 26 | Revision History 27 | 28 | --*/ 29 | 30 | 31 | #define EFIWARN(a) (a) 32 | #define EFI_ERROR(a) (((INTN) a) < 0) 33 | 34 | 35 | #define EFI_SUCCESS 0 36 | #define EFI_LOAD_ERROR EFIERR(1) 37 | #define EFI_INVALID_PARAMETER EFIERR(2) 38 | #define EFI_UNSUPPORTED EFIERR(3) 39 | #define EFI_BAD_BUFFER_SIZE EFIERR(4) 40 | #define EFI_BUFFER_TOO_SMALL EFIERR(5) 41 | #define EFI_NOT_READY EFIERR(6) 42 | #define EFI_DEVICE_ERROR EFIERR(7) 43 | #define EFI_WRITE_PROTECTED EFIERR(8) 44 | #define EFI_OUT_OF_RESOURCES EFIERR(9) 45 | #define EFI_VOLUME_CORRUPTED EFIERR(10) 46 | #define EFI_VOLUME_FULL EFIERR(11) 47 | #define EFI_NO_MEDIA EFIERR(12) 48 | #define EFI_MEDIA_CHANGED EFIERR(13) 49 | #define EFI_NOT_FOUND EFIERR(14) 50 | #define EFI_ACCESS_DENIED EFIERR(15) 51 | #define EFI_NO_RESPONSE EFIERR(16) 52 | #define EFI_NO_MAPPING EFIERR(17) 53 | #define EFI_TIMEOUT EFIERR(18) 54 | #define EFI_NOT_STARTED EFIERR(19) 55 | #define EFI_ALREADY_STARTED EFIERR(20) 56 | #define EFI_ABORTED EFIERR(21) 57 | #define EFI_ICMP_ERROR EFIERR(22) 58 | #define EFI_TFTP_ERROR EFIERR(23) 59 | #define EFI_PROTOCOL_ERROR EFIERR(24) 60 | 61 | #define EFI_WARN_UNKNOWN_GLYPH EFIWARN(1) 62 | #define EFI_WARN_DELETE_FAILURE EFIWARN(2) 63 | #define EFI_WARN_WRITE_FAILURE EFIWARN(3) 64 | #define EFI_WARN_BUFFER_TOO_SMALL EFIWARN(4) 65 | 66 | #endif -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/efipart.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_PART_H 2 | #define _EFI_PART_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | efipart.h 18 | 19 | Abstract: 20 | Info about disk partitions and Master Boot Records 21 | 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | // 30 | // 31 | // 32 | 33 | #define EFI_PARTITION 0xef 34 | #define MBR_SIZE 512 35 | 36 | #pragma pack(1) 37 | 38 | typedef struct { 39 | UINT8 BootIndicator; 40 | UINT8 StartHead; 41 | UINT8 StartSector; 42 | UINT8 StartTrack; 43 | UINT8 OSIndicator; 44 | UINT8 EndHead; 45 | UINT8 EndSector; 46 | UINT8 EndTrack; 47 | UINT8 StartingLBA[4]; 48 | UINT8 SizeInLBA[4]; 49 | } MBR_PARTITION_RECORD; 50 | 51 | #define EXTRACT_UINT32(D) (UINT32)(D[0] | (D[1] << 8) | (D[2] << 16) | (D[3] << 24)) 52 | 53 | #define MBR_SIGNATURE 0xaa55 54 | #define MIN_MBR_DEVICE_SIZE 0x80000 55 | #define MBR_ERRATA_PAD 0x40000 // 128 MB 56 | 57 | #define MAX_MBR_PARTITIONS 4 58 | typedef struct { 59 | UINT8 BootStrapCode[440]; 60 | UINT8 UniqueMbrSignature[4]; 61 | UINT8 Unknown[2]; 62 | MBR_PARTITION_RECORD Partition[MAX_MBR_PARTITIONS]; 63 | UINT16 Signature; 64 | } MASTER_BOOT_RECORD; 65 | #pragma pack() 66 | 67 | 68 | #endif 69 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/efistdarg.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFISTDARG_H_ 2 | #define _EFISTDARG_H_ 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | devpath.h 18 | 19 | Abstract: 20 | 21 | Defines for parsing the EFI Device Path structures 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | #define _INTSIZEOF(n) ( (sizeof(n) + sizeof(UINTN) - 1) & ~(sizeof(UINTN) - 1) ) 30 | 31 | typedef CHAR8 * va_list; 32 | 33 | #define va_start(ap,v) ( ap = (va_list)&v + _INTSIZEOF(v) ) 34 | #define va_arg(ap,t) ( *(t *)((ap += _INTSIZEOF(t)) - _INTSIZEOF(t)) ) 35 | #define va_end(ap) ( ap = (va_list)0 ) 36 | 37 | 38 | #endif /* _INC_STDARG */ 39 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/em64t/efilibplat.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_LIB_PLAT_H 2 | #define _EFI_LIB_PLAT_H 3 | /*++ 4 | 5 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 6 | This software and associated documentation (if any) is furnished 7 | under a license and may only be used or copied in accordance 8 | with the terms of the license. Except as permitted by such 9 | license, no part of this software or documentation may be 10 | reproduced, stored in a retrieval system, or transmitted in any 11 | form or by any means without the express written consent of 12 | Intel Corporation. 13 | 14 | Module Name: 15 | 16 | efilibplat.h 17 | 18 | Abstract: 19 | 20 | EFI to compile bindings 21 | 22 | 23 | 24 | Revision History 25 | 26 | --*/ 27 | 28 | 29 | VOID 30 | InitializeLibPlatform ( 31 | IN EFI_HANDLE ImageHandle, 32 | IN EFI_SYSTEM_TABLE *SystemTable 33 | ); 34 | 35 | #endif -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/ia32/efilibplat.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | efilibplat.h 15 | 16 | Abstract: 17 | 18 | EFI to compile bindings 19 | 20 | 21 | 22 | 23 | Revision History 24 | 25 | --*/ 26 | 27 | VOID 28 | InitializeLibPlatform ( 29 | IN EFI_HANDLE ImageHandle, 30 | IN EFI_SYSTEM_TABLE *SystemTable 31 | ); 32 | 33 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/AdapterDebug.h: -------------------------------------------------------------------------------- 1 | #ifndef _ADAPTER_DEBUG_H 2 | #define _ADAPTER_DEBUG_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | AdapterDebug.h 18 | 19 | Abstract: 20 | 21 | Protocol to debug the EDD 3.0 enablement of BIOS option ROMs 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | // {82F86881-282B-11d4-BC7D-0080C73C8881} 30 | #define ADAPTER_DEBUG_PROTOCOL \ 31 | { 0x82f86881, 0x282b, 0x11d4, 0xbc, 0x7d, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } 32 | 33 | // 34 | // This protocol points to the BIOS_LEGACY_DRIVE data structure 35 | // see edd.h for more details 36 | // 37 | 38 | #endif -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/VgaClass.h: -------------------------------------------------------------------------------- 1 | #ifndef _VGA_CLASS_H 2 | #define _VGA_CLASS_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | VgaClass.h 18 | 19 | Abstract: 20 | 21 | Vga Mini port binding to Vga Class protocol 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | // 30 | // VGA Device Structure 31 | // 32 | 33 | // {0E3D6310-6FE4-11d3-BB81-0080C73C8881} 34 | #define VGA_CLASS_DRIVER_PROTOCOL \ 35 | { 0xe3d6310, 0x6fe4, 0x11d3, 0xbb, 0x81, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } 36 | 37 | typedef 38 | EFI_STATUS 39 | (* INIT_VGA_CARD) ( 40 | IN UINTN VgaMode, 41 | IN VOID *Context 42 | ); 43 | 44 | typedef struct { 45 | UINTN MaxColumns; 46 | UINTN MaxRows; 47 | } MAX_CONSOLE_GEOMETRY; 48 | 49 | #define VGA_CON_OUT_DEV_SIGNATURE EFI_SIGNATURE_32('c','v','g','a') 50 | typedef struct { 51 | UINTN Signature; 52 | 53 | EFI_HANDLE Handle; 54 | SIMPLE_TEXT_OUTPUT_INTERFACE ConOut; 55 | SIMPLE_TEXT_OUTPUT_MODE ConOutMode; 56 | EFI_DEVICE_PATH *DevicePath; 57 | 58 | UINT8 *Buffer; 59 | EFI_DEVICE_IO_INTERFACE *DeviceIo; 60 | 61 | // 62 | // Video Card Context 63 | // 64 | INIT_VGA_CARD InitVgaCard; 65 | VOID *VgaCardContext; 66 | MAX_CONSOLE_GEOMETRY *Geometry; 67 | // 68 | // Video buffer normally 0xb8000 69 | // 70 | UINT64 VideoBuffer; 71 | 72 | // 73 | // Clear Screen & Default Attribute 74 | // 75 | UINT32 Attribute; 76 | 77 | // 78 | // -1 means search for active VGA device 79 | // 80 | EFI_PCI_ADDRESS_UNION Pci; 81 | } VGA_CON_OUT_DEV; 82 | 83 | #define VGA_CON_OUT_DEV_FROM_THIS(a) CR(a, VGA_CON_OUT_DEV, ConOut, VGA_CON_OUT_DEV_SIGNATURE) 84 | 85 | // 86 | // Vga Class Driver Protocol. 87 | // GUID defined in EFI Lib 88 | // 89 | 90 | typedef 91 | EFI_STATUS 92 | (EFIAPI *INSTALL_VGA_DRIVER) ( 93 | IN VGA_CON_OUT_DEV *ConOutDev 94 | ); 95 | 96 | typedef struct { 97 | UINT32 Version; 98 | INSTALL_VGA_DRIVER InstallGenericVgaDriver; 99 | } INSTALL_VGA_DRIVER_INTERFACE; 100 | 101 | #endif -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/eficonSplit.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_CONFORK_H 2 | #define _EFI_CONFORK_H 3 | /*++ 4 | 5 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 6 | This software and associated documentation (if any) is furnished 7 | under a license and may only be used or copied in accordance 8 | with the terms of the license. Except as permitted by such 9 | license, no part of this software or documentation may be 10 | reproduced, stored in a retrieval system, or transmitted in any 11 | form or by any means without the express written consent of 12 | Intel Corporation. 13 | 14 | Module Name: 15 | 16 | Abstract: 17 | 18 | 19 | 20 | Revision History 21 | 22 | --*/ 23 | 24 | 25 | 26 | // 27 | // ConOut Forker Protocol 28 | // 29 | 30 | #define TEXT_OUT_SPLITER_PROTOCOL \ 31 | { 0x56d830a0, 0x7e7a, 0x11d3, 0xbb, 0xa0, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } 32 | 33 | #define ERROR_OUT_SPLITER_PROTOCOL \ 34 | { 0xf0ba9039, 0x68f1, 0x425e, 0xaa, 0x7f, 0xd9, 0xaa, 0xf9, 0x1b, 0x82, 0xa1} 35 | 36 | #define TEXT_IN_SPLITER_PROTOCOL \ 37 | { 0xf9a3c550, 0x7fb5, 0x11d3, 0xbb, 0xa0, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/intload.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | intload 15 | 16 | Abstract: 17 | 18 | EFI support for loading internally linked in apps 19 | 20 | 21 | 22 | Revision History 23 | 24 | --*/ 25 | 26 | #ifndef _INTERNAL_LOAD_INCLUDE_ 27 | #define _INTERNAL_LOAD_INCLUDE_ 28 | 29 | // {D65A6B8C-71E5-4df0-A909-F0D2992B5AA9} 30 | #define INTERNAL_SHELL_GUID \ 31 | { 0xd65a6b8c, 0x71e5, 0x4df0, 0xa9, 0x09, 0xf0, 0xd2, 0x99, 0x2b, 0x5a, 0xa9 } 32 | 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/makefile.hdr: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # This is a machine generated file - DO NOT EDIT 4 | # Generated by genmake.exe 5 | # Generated from make.inf 6 | # Copyright (c) 1998 Intel Corporation 7 | # 8 | 9 | INC_DEPS = $(INC_DEPS) \ 10 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\efivar.h \ 11 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\legacyboot.h \ 12 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\vgaclass.h \ 13 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\intload.h \ 14 | 15 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/readme.txt: -------------------------------------------------------------------------------- 1 | The protocol directory contains non Architectural 2 | Protocols that span the FW, Platform, or application 3 | space. -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Include/efishell/makefile.hdr: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # This is a machine generated file - DO NOT EDIT 4 | # Generated by genmake.exe 5 | # Generated from make.inf 6 | # Copyright (c) 1998 Intel Corporation 7 | # 8 | 9 | INC_DEPS = $(INC_DEPS) \ 10 | $(SDK_INSTALL_DIR)\include\efishell\shell.h \ 11 | $(SDK_INSTALL_DIR)\include\efishell\shellenv.h \ 12 | 13 | 14 | !IF "$(PROCESSOR)" == "Ia32" 15 | INC_DEPS = $(INC_DEPS) \ 16 | 17 | 18 | !ENDIF 19 | 20 | 21 | !IF "$(PROCESSOR)" == "Ia64" 22 | INC_DEPS = $(INC_DEPS) \ 23 | 24 | 25 | !ENDIF 26 | 27 | !IF "$(PROCESSOR)" == "Em64t" 28 | INC_DEPS = $(INC_DEPS) \ 29 | 30 | 31 | !ENDIF 32 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Lib/Lib.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Lib" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Lib\" 5 | RefName = "Lib" 6 | [files] 7 | "LibEfiAll.lib" 8 | "LibEfiAllx64.lib" 9 | 10 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Lib/LibEfiAll.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Lib/LibEfiAll.lib -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Lib/LibEfiAllx64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/EfiToolKit_20/Lib/LibEfiAllx64.lib -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/Kernel.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Kernel" 3 | category = eCore 4 | RefName = "Kernel" 5 | [files] 6 | "scripts\Kernel.sdl" 7 | "ba.cmd" 8 | "builda_AMD64.cmd" 9 | "builda_X86.cmd" 10 | "scripts\kernel32.mak" 11 | "scripts\kernel64.mak" 12 | 13 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/PciDump.brs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/PciDump.brs -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/PciDump.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/PciDump.dat -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/PciDump.veb: -------------------------------------------------------------------------------- 1 | [project] 2 | version = 1 3 | Build = "nmake -f scripts\kernel32.mak" 4 | BuildAll = "ba.cmd ALL" 5 | 6 | [files] 7 | "Kernel.cif"= Private 8 | "EfiToolKit_20\EfiToolKit_20.cif"= Private 9 | "EfiToolKit_20\Lib\Lib.cif"= Private 10 | "EfiToolKit_20\Include\Include.cif"= Private 11 | "EfiToolKit_20\Bin\Bin.cif"= Private 12 | "Project\project.cif"= Private 13 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/ba.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | if %1 == ALL goto _Build_ALL 3 | if %1 == AMD64 goto _Build_AMD64 4 | if %1 == X86 goto _Build_X86 5 | 6 | echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 7 | echo Build type is not set, Use AMD64 As Default 8 | echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 9 | goto _Build_AMD64 10 | 11 | :_Build_AMD64 12 | call builda_AMD64.cmd 13 | goto END 14 | 15 | :_Build_X86 16 | call builda_X86.cmd 17 | goto END 18 | 19 | :_Build_ALL 20 | call builda_AMD64.cmd 21 | call builda_X86.cmd 22 | :END -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/builda_AMD64.cmd: -------------------------------------------------------------------------------- 1 | del /F /Q /S BUILD\ 2 | del *.obj 3 | dater /CREATEMAKEFILE 4 | move dater.mak BUILD\dater.mak 5 | AMISDL project.ldl 6 | dir /B project\*.C >> BUILD\src.lst 7 | dir /B project\X64\*.asm >> BUILD\asmsrc.lst 8 | dir /B MiscLib\*.C >> BUILD\src.lst 9 | dir /B CpuLib\X64\*.asm >> BUILD\asmsrc.lst 10 | echo OBJS = >> BUILD\token.mak 11 | FOR /F "tokens=1 delims=." %%I in (BUILD\src.lst) DO echo OBJS = $(OBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 12 | FOR /F "tokens=1 delims=." %%I in (BUILD\asmsrc.lst) DO echo ASMOBJS = $(ASMOBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 13 | 14 | nmake -f scripts\kernel64.mak all -nologo -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/builda_X86.cmd: -------------------------------------------------------------------------------- 1 | del /F /Q /S BUILD\ 2 | dater /CREATEMAKEFILE 3 | move dater.mak BUILD\dater.mak 4 | AMISDL project.ldl 5 | dir /B project\*.C >> BUILD\src.lst 6 | dir /B project\IA32\*.asm >> BUILD\asmsrc.lst 7 | dir /B MiscLib\*.C >> BUILD\src.lst 8 | dir /B CpuLib\IA32\*.asm >> BUILD\asmsrc.lst 9 | dir /B CpuLib\IA32\*.C >> BUILD\src.lst 10 | echo OBJS = >> BUILD\token.mak 11 | FOR /F "tokens=1 delims=." %%I in (BUILD\src.lst) DO echo OBJS = $(OBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 12 | FOR /F "tokens=1 delims=." %%I in (BUILD\asmsrc.lst) DO echo ASMOBJS = $(ASMOBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 13 | 14 | nmake -f scripts\kernel32.mak all -nologo 15 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/project.ldl: -------------------------------------------------------------------------------- 1 | scripts\Kernel.sdl\ 2 | Project\project.sdl\ 3 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/project/project.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "project" 3 | category = eBoard 4 | LocalRoot = "Project\" 5 | RefName = "project" 6 | [files] 7 | "project.sdl" 8 | "PciDump.c" 9 | 10 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/project/project.sdl: -------------------------------------------------------------------------------- 1 | TOKEN 2 | Name = "PROJECT_SUPPORT" 3 | Value = "1" 4 | Help = "Main switch to enable Project support in Project" 5 | TokenType = Boolean 6 | TargetEQU = Yes 7 | TargetMAK = Yes 8 | Master = Yes 9 | End 10 | 11 | PATH 12 | Name = "PROJECT_DIR" 13 | End 14 | 15 | TOKEN 16 | Name = "PROJECT_NAME" 17 | Value = "ACPI" 18 | TokenType = Expression 19 | TargetMAK = Yes 20 | End 21 | 22 | TOKEN 23 | Name = "MAJVER" 24 | Value = "0" 25 | TokenType = Integer 26 | TargetMAK = Yes 27 | TargetH = Yes 28 | End 29 | 30 | TOKEN 31 | Name = "MINVER" 32 | Value = "00" 33 | TokenType = Integer 34 | TargetMAK = Yes 35 | TargetH = Yes 36 | End 37 | 38 | TOKEN 39 | Name = "IMAGE_ENTRY_POINT" 40 | Value = "ACPIEntryPoint" 41 | TokenType = Expression 42 | TargetMAK = Yes 43 | End -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/scripts/Kernel.sdl: -------------------------------------------------------------------------------- 1 | TOKEN 2 | Name = "Kernel_SUPPORT" 3 | Value = "1" 4 | Help = "Main switch to enable Kernel support in Project" 5 | TokenType = Boolean 6 | TargetEQU = Yes 7 | TargetMAK = Yes 8 | Master = Yes 9 | End 10 | 11 | TOKEN 12 | Name = "Aptio4Tool_DIR" 13 | Value = "D:\EfiTools\Aptio4Tools" 14 | TokenType = Expression 15 | TargetMAK = Yes 16 | End 17 | 18 | MODULE 19 | Help = "Includes Kernel.mak to Project" 20 | File = "Kernel.mak" 21 | End 22 | 23 | OUTPUTREGISTER 24 | Name = "TOKEN_H" 25 | Path = "BUILD" 26 | File = "token.h" 27 | End 28 | 29 | OUTPUTREGISTER 30 | Name = "TOKEN_MAK" 31 | Path = "BUILD" 32 | File = "TOKEN.MAK" 33 | End 34 | 35 | -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/symbols.brs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/symbols.brs -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/vc70.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/vc70.idb -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/vc70.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/vc70.pdb -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/vc80.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/vc80.idb -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/vc80.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/vc80.pdb -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/vc90.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/vc90.idb -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/vc90.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/12.ACPI/PciDump-2015/PciDump-20140717/vc90.pdb -------------------------------------------------------------------------------- /12.ACPI/PciDump-2015/PciDump-20140717/wspace.dat: -------------------------------------------------------------------------------- 1 | gUD3D:\EFITools\FileOps\D:\EFITools\FileOps\ proj_ss_path -------------------------------------------------------------------------------- /13.EC/EC.CPP: -------------------------------------------------------------------------------- 1 | # include 2 | # include 3 | # define EC_SC 0x66 4 | # define EC_DATA 0x62 5 | 6 | typedef unsigned char UINT8; 7 | typedef unsigned int UINT16; 8 | typedef unsigned long UINT32; 9 | 10 | void waitOutputFull() 11 | { 12 | UINT8 reg=0; 13 | reg=inp(EC_SC); 14 | // printf("waiting for command output buffer empty, reg is %x\n",reg); 15 | while((reg&0x01)!=0x01) 16 | { 17 | reg=inp(EC_SC); 18 | } 19 | // printf("empty ready, reg is %x\n",reg); 20 | } 21 | void waitInputEmpty() 22 | { 23 | UINT8 reg=0; 24 | reg=inp(EC_SC); 25 | // printf("waiting for input buffer full, reg is %x\n",reg); 26 | while(reg&0x02) 27 | { 28 | reg=inp(EC_SC); 29 | } 30 | // printf("full ready, reg is %x\n",reg); 31 | } 32 | void writeSMB(UINT8 ec_space,UINT8 reg) 33 | { 34 | waitInputEmpty(); 35 | outp(EC_SC,0x81); //EC SMBus Command register 36 | waitInputEmpty(); 37 | outp(EC_DATA,ec_space); 38 | waitInputEmpty(); 39 | outp(EC_DATA,reg); 40 | } 41 | UINT8 readSMB(UINT8 ec_space) 42 | { 43 | UINT8 reg=0; 44 | waitInputEmpty(); 45 | outp(EC_SC,0x80); 46 | waitInputEmpty(); 47 | outp(EC_DATA,ec_space); 48 | waitOutputFull(); 49 | reg=inp(0x62); 50 | return reg; 51 | } 52 | void showManufacturerDate() 53 | { 54 | UINT8 reg,i,SMB_BCNT,DataBase=0x1C; 55 | UINT8 STS,COM; 56 | UINT16 year,month,day; 57 | UINT16 reg16=0; 58 | //Data Sent 59 | writeSMB(0x1A,0x16); //SMB_ADDR 60 | writeSMB(0x1B,0x1B); //SMB_CMD 61 | writeSMB(0x18,0x09); //SMB_PRTCL 62 | 63 | //Data Return 64 | STS=readSMB(0x19); 65 | COM=readSMB(0x18); 66 | printf("STS is %x\n",STS); 67 | printf("COM is %x\n",COM); 68 | reg=readSMB(DataBase+1); 69 | printf("high %x\n",reg); 70 | reg16=reg; 71 | 72 | reg16=reg16<<8; 73 | printf("reg16 %x\n",reg16); 74 | reg=readSMB(DataBase+0); 75 | printf("low %x\n",reg); 76 | reg16=reg16|reg; 77 | year=reg16>>9; 78 | month=(reg16&0x01E0)>>5; 79 | day=(reg16&0x001F); 80 | year=year+1980; 81 | printf("reg16 is %x\n",reg16); 82 | printf("Date:%d:%d:%d\n",year,month,day); 83 | } 84 | void showManufacturerName() 85 | { 86 | UINT8 reg,i,SMB_BCNT,DataBase=0x1C; 87 | UINT8 STS,COM; 88 | //Data Sent 89 | writeSMB(0x1A,0x16); //SMB_ADDR 90 | writeSMB(0x1B,0x20); //SMB_CMD 91 | writeSMB(0x18,0x0B); //SMB_PRTCL 92 | 93 | //Data Return 94 | STS=readSMB(0x19); 95 | COM=readSMB(0x18); 96 | printf("STS is %x\n",STS); 97 | printf("COM is %x\n",COM); 98 | SMB_BCNT=readSMB(0x3C); 99 | printf("SMB_BCNT is %d\n",SMB_BCNT); 100 | for(i=0;i 2 | #define PCI_CONFIG_ADDR_PORT 0x0CF8 3 | #define PCI_CONFIG_DATA_PORT 0x0CFC 4 | typedef unsigned long DWORD; 5 | 6 | void outport_long(int portNum,DWORD cmd); 7 | DWORD inport_long(int portNum); 8 | 9 | void main() 10 | { 11 | //outport_long(0x0CF8,0x80000000); 12 | DWORD busNum,devNum,funNum; 13 | DWORD baseCmd=0x80000000,cmd; 14 | DWORD result=0; 15 | DWORD i,j,k; 16 | FILE *fp; 17 | fp=fopen("PCI.log","w+"); 18 | if(fp==NULL)return; 19 | printf("busNum Device funNum result\n"); 20 | fprintf(fp,"busNum Device funNum result\n"); 21 | for(i=0;i<256;i++)//for bus number 22 | for(j=0;j<32;j++)//for device id 23 | for(k=0;k<8;k++) 24 | { 25 | busNum=i;devNum=j;funNum=k; 26 | cmd=baseCmd|(busNum<<16)|(devNum<<11)|(funNum<<8); 27 | 28 | outport_long(PCI_CONFIG_ADDR_PORT,cmd); 29 | result=inport_long(PCI_CONFIG_DATA_PORT); 30 | if(result!=0xffffffff) 31 | { 32 | //printf("0x%llx\n",result); 33 | printf("%2llx %2llx %2llx 0x%llx\n",busNum,devNum,funNum,result); 34 | fprintf(fp,"%2llx %2llx %2llx 0x%llx\n",busNum,devNum,funNum,result); 35 | //printf("0x%llx\n",result); 36 | //printf("%x %x %x %llx\n",0x87,0x65,0x43,0x87654321); 37 | } 38 | } 39 | fclose(fp); 40 | //DWORD result;//=inport_long(0x0CFC); 41 | // printf("the result is 0X%8X\n",result); 42 | } 43 | 44 | void outport_long(int portNum,DWORD cmd) 45 | { 46 | /* ifdef Dbug 47 | printf("-----In the outport Function-----------\n"); 48 | printf("this portNum is 0x%X\n",portNum); 49 | printf("this cmd is 0x%llx\n",cmd); 50 | endif*/ 51 | _asm{ 52 | push eax; 53 | push edx; 54 | mov dx,portNum; 55 | mov eax,cmd; 56 | out dx,eax; 57 | pop edx; 58 | pop eax; 59 | } 60 | } 61 | DWORD inport_long(int portNum) 62 | { 63 | /* printf("--------in the inport function----------\n"); 64 | printf("this portNum is 0x%X\n",portNum); 65 | */ 66 | DWORD result=0; 67 | _asm{ 68 | push eax; 69 | push edx; 70 | mov dx,portNum; 71 | in eax,dx; 72 | mov result,eax; 73 | pop edx; 74 | pop eax; 75 | } 76 | // printf("this result is %llX\n",result); 77 | return result; 78 | } 79 | -------------------------------------------------------------------------------- /2.PCI&PCIE/PCI.LOG: -------------------------------------------------------------------------------- 1 | busNum Device funNum result 2 | 0 0 0 0xc008086 3 | 0 1 0 0xc018086 4 | 0 2 0 0x4128086 5 | 0 3 0 0xc0c8086 6 | 0 14 0 0x8c318086 7 | 0 16 0 0x8c3a8086 8 | 0 19 0 0x153b8086 9 | 0 1a 0 0x8c2d8086 10 | 0 1b 0 0x8c208086 11 | 0 1c 0 0x8c108086 12 | 0 1c 5 0x244e8086 13 | 0 1d 0 0x8c268086 14 | 0 1f 0 0x8c5c8086 15 | 0 1f 2 0x8c028086 16 | 0 1f 3 0x8c228086 17 | 3 0 0 0x10801b21 18 | -------------------------------------------------------------------------------- /2.PCI&PCIE/PCIE.LOG: -------------------------------------------------------------------------------- 1 | ID address vID dID Width Speed Type 2 | 1.f8008000 8086 0c01 X16 2.0 Root Port of PCI Express Root Complex 3 | 2.f8018000 8086 0c0c X 0 0.0 Root Complex Integrated Endpoint 4 | 3.f80d8000 8086 8c20 X 0 0.0 Root Complex Integrated Endpoint 5 | 4.f80e0000 8086 8c10 X 1 2.0 Root Port of PCI Express Root Complex 6 | 5.f80e5000 8086 244e X 1 2.0 Root Port of PCI Express Root Complex 7 | -------------------------------------------------------------------------------- /2.PCI&PCIE/RUTEST.BAK: -------------------------------------------------------------------------------- 1 | #include 2 | typedef unsigned long DWORD; 3 | void main() 4 | { 5 | DWORD addr,result; 6 | addr=0xF8000000; 7 | DWORD *p=0; 8 | p=(DWORD *)addr; 9 | result=*p; 10 | printf("*p is %llx\n",result); 11 | _asm{ 12 | push eax; 13 | push ds; 14 | mov ax,0; 15 | mov ds,ax; 16 | mov esi,addr; 17 | mov eax,[esi]; 18 | mov result,eax; 19 | pop ds; 20 | pop eax; 21 | } 22 | printf("[F8000000]=0x%llx\n",result); 23 | 24 | } -------------------------------------------------------------------------------- /2.PCI&PCIE/RUTEST.CPP: -------------------------------------------------------------------------------- 1 | #include 2 | typedef unsigned long DWORD; 3 | void main() 4 | { 5 | DWORD addr,result; 6 | addr=0xF8000000; 7 | DWORD *p=0; 8 | p=(DWORD *)addr; 9 | result=*p; 10 | printf("*p is %llx\n",result); 11 | _asm{ 12 | push eax; 13 | push ds; 14 | mov ax,0; 15 | mov ds,ax; 16 | mov esi,addr; 17 | mov eax,[esi]; 18 | mov result,eax; 19 | pop ds; 20 | pop eax; 21 | } 22 | printf("[F8000000]=0x%llx\n",result); 23 | 24 | } -------------------------------------------------------------------------------- /2.PCI&PCIE/openProtectMode.CPP: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void openA20() 5 | { while(inp(0x64) & 2); outp(0x64,0xd1); 6 | while(inp(0x64) & 2); outp(0x60,0xdf); 7 | while(inp(0x64) & 2); outp(0x64,0xff); 8 | } 9 | unsigned long GDT_def[]={0,0,0x0000FFFF,0x008F9200}; 10 | unsigned char GDT_Addr[6]={0}; 11 | void set4gb() 12 | { asm{ 13 | cli 14 | push ds ; push es 15 | mov word ptr GDT_Addr[0], (2*8-1) 16 | mov eax,ds 17 | shl eax,4 18 | xor ebx,ebx 19 | mov bx,offset GDT_def 20 | add eax,ebx 21 | mov dword ptr GDT_Addr[2],eax 22 | lgdt fword ptr GDT_Addr 23 | mov bx,8 24 | mov eax,cr0 25 | or al,1 26 | mov cr0,eax 27 | jmp flush1 28 | } 29 | flush1: asm{ 30 | mov ds,bx 31 | mov es,bx 32 | and al,0feh 33 | mov cr0,eax 34 | jmp flush2 35 | } 36 | flush2: asm{ 37 | pop es ; pop ds 38 | sti 39 | } 40 | } 41 | 42 | 43 | 44 | void main() 45 | { 46 | unsigned long result=0; 47 | unsigned long addr; 48 | openA20(); 49 | set4gb(); 50 | asm push ds 51 | asm mov ax,0 52 | asm mov ds,ax 53 | asm mov esi,0F8000000h 54 | N1: asm mov eax,[esi] 55 | asm mov result,eax; 56 | asm mov dword ptr [esi],0 57 | asm mov ebx,[esi] 58 | asm mov dword ptr [esi],0ffffffffh 59 | asm mov ecx,[esi] 60 | asm mov [esi],eax 61 | asm inc ecx 62 | asm cmp ebx,ecx 63 | asm jne N2 64 | asm add esi,4 65 | asm jmp N1 66 | N2: asm mov addr,esi 67 | asm pop ds 68 | printf("RAM = %ld(Mb)\n", addr >> 20 ); 69 | printf("result = %llx\n",result); 70 | 71 | } 72 | -------------------------------------------------------------------------------- /3.VeB use/CM.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "CM" 3 | category = eModule 4 | LocalRoot = "Board\EM\CM\" 5 | RefName = "CM" 6 | [files] 7 | "CM.mak" 8 | "CM.sd" 9 | "CM.sdl" 10 | "CM.uni" 11 | "CMDxe.c" 12 | "CMDxe.dxs" 13 | "CMPei.c" 14 | "CMPei.dxs" 15 | "CMsetup.c" 16 | 17 | -------------------------------------------------------------------------------- /3.VeB use/CM.sdl: -------------------------------------------------------------------------------- 1 | TOKEN 2 | Name = CM_SUPPORT 3 | Value = "1" 4 | Help = "Main switch to enable CM support in Project claregan" 5 | TokenType = Boolean 6 | TargetEQU = Yes 7 | TargetMAK = Yes 8 | Master = Yes 9 | End 10 | 11 | PATH 12 | Name = "CM_DIR" 13 | End 14 | 15 | MODULE 16 | Help = "Includes CM.mak to Project claregang" 17 | File = "CM.mak" 18 | End 19 | 20 | 21 | ELINK 22 | Name = "$(BUILD_DIR)\CM.sdb" 23 | Parent = "SETUP_SDBS" 24 | Priority = 30 25 | InvokeOrder = AfterParent 26 | End 27 | 28 | ELINK 29 | Name = "$(CM_DIR)\CM.sd" 30 | Parent = "SETUP_DEFINITIONS" 31 | Priority = 50 32 | InvokeOrder = AfterParent 33 | End 34 | 35 | ELINK 36 | Name = "$(BUILD_DIR)\CMDxe.ffs" 37 | Parent = "FV_MAIN" 38 | InvokeOrder = AfterParent 39 | End 40 | 41 | ELINK 42 | Name = "$(BUILD_DIR)\CMPei.ffs" 43 | Parent = "FV_BB" 44 | InvokeOrder = AfterParent 45 | End -------------------------------------------------------------------------------- /3.VeB use/CM.uni: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/3.VeB use/CM.uni -------------------------------------------------------------------------------- /3.VeB use/CMPei.dxs: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | DEPENDENCY_START 6 | EFI_PEI_READ_ONLY_VARIABLE_PPI_GUID AND 7 | EFI_PEI_STALL_PPI_GUID 8 | DEPENDENCY_END -------------------------------------------------------------------------------- /4.SuperIO/CPU fan speed .cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | void main() 4 | { 5 | typedef unsigned int UINT; 6 | unsigned char hAddr,lAddr,hValue,lValue,BankSelect,count=3; 7 | unsigned int HWMbase,AddrPort,FanSpeed,DataPort; 8 | //Enter MB PnP Mode(Unlock) 9 | outportb(0x2e,0x87); 10 | outportb(0x2e,0x87); 11 | 12 | //LDN select HARDWARE MONITOR, FRONT PANEL LED 13 | outportb(0x2e,0x07); 14 | outportb(0x2f,0x0B); 15 | 16 | //LDN(Logical Device) Active 17 | outportb(0x2e,0x30); 18 | outportb(0x2f,0x01); 19 | 20 | //Read HWMbase 21 | outportb(0x2e,0x60); 22 | hAddr = inportb(0x2f); 23 | printf("0x60 is 0x%x\n",hAddr); 24 | 25 | outportb(0x2e,0x61); 26 | lAddr = inportb(0x2f); 27 | //printf("0x61 is 0x%x\n",lAddr); 28 | 29 | HWMbase = ((UINT)hAddr<<8) | lAddr; 30 | //printf("HWMbase is 0x%x\n",HWMbase); 31 | 32 | AddrPort = HWMbase+0x05; 33 | DataPort = HWMbase+0x06; 34 | //printf("AddrPort is 0x%x\n",AddrPort); 35 | //printf("DataPort is 0x%x\n",DataPort); 36 | 37 | outportb(AddrPort,0x4e); 38 | outportb(DataPort,0x04); 39 | while(count--) 40 | { 41 | outportb(AddrPort,0xc2); 42 | hValue=inportb(DataPort); 43 | printf("hValue is 0x%x\n",hValue); 44 | 45 | outportb(AddrPort,0xc3); 46 | lValue=inportb(DataPort); 47 | printf("lValue is 0x%x\n",lValue); 48 | 49 | FanSpeed = ((UINT)hValue<<8) | lValue; 50 | printf("FanSpeed is %d\n",FanSpeed); 51 | delay(3000); 52 | } 53 | 54 | outportb(0x2e,0xaa);//Exit MB PnP Mode(Lock) 55 | } -------------------------------------------------------------------------------- /4.SuperIO/ProjectPEI.dxs: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | DEPENDENCY_START 5 | EFI_PEI_STALL_PPI_GUID 6 | DEPENDENCY_END -------------------------------------------------------------------------------- /4.SuperIO/SIO.CPP: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main() 6 | { 7 | 8 | 9 | 10 | //Enter MB PnP Mode(Unlock) 11 | unsigned char cData,count=3; 12 | outportb(0x2e,0x87); 13 | outportb(0x2e,0x87); 14 | 15 | //set LDN as GPIO2, GPIO3, GPIO4, GPIO5 chao by jiang 16 | outportb(0x2e,0x07); 17 | outportb(0x2f,0x09); 18 | 19 | //LDN(Logical Device) Active 20 | outportb(0x2e,0x30); 21 | cData=inportb(0x2f); 22 | cData=cData | 0x01; 23 | outportb(0x2f,cData); 24 | 25 | //Select GPIO function 26 | outportb(0x2e,0x2c); 27 | cData=inportb(0x2f); 28 | cData=cData&0xE7; 29 | outportb(0x2f,cData); 30 | 31 | //Select GPI or GPO for GPIO 32 | outportb(0x2e,0xe0); 33 | outportb(0x2f,0x00); 34 | 35 | 36 | 37 | while(count--) 38 | { 39 | outportb(0x2e,0xe1); 40 | outportb(0x2f,0x00); 41 | outportb(0x80,0xaa); 42 | delay(3000); 43 | 44 | outportb(0x2e,0xe1); 45 | outportb(0x2f,0xFF); 46 | outportb(0x80,0x55); 47 | delay(3000); 48 | } 49 | 50 | outportb(0x2e,0xaa); 51 | return 0; 52 | } -------------------------------------------------------------------------------- /6.PIC 8259/INT09.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/6.PIC 8259/INT09.asm -------------------------------------------------------------------------------- /6.PIC 8259/INT_ASM.CPP: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #define DataPort 0x60 5 | unsigned char flag=1; 6 | void clareInt09() 7 | { 8 | printf("Enter the interrupt module\n"); 9 | disable(); 10 | unsigned char scanCode; 11 | scanCode=inportb(DataPort); 12 | printf("scanCode is %x\n",scanCode); 13 | outportb(0x80, scanCode); 14 | if(scanCode==0x01) 15 | flag=0; 16 | enable(); 17 | outportb(0x20,0x20); 18 | } 19 | int main() 20 | { 21 | unsigned int SegmentIntSer,OffsetIntSer; 22 | unsigned int segmentaddr,offsetaddr; 23 | unsigned char IntVecIndex=36; 24 | OffsetIntSer=FP_OFF(clareInt09); 25 | SegmentIntSer=FP_SEG(clareInt09); 26 | 27 | printf("new segment is %x ",SegmentIntSer); 28 | printf("new offset is %x \n",OffsetIntSer); 29 | 30 | printf("Interrupt Vector Index is 0x%x\n",9*4); 31 | asm{ 32 | XOR AX, AX 33 | MOV ES, AX 34 | MOV BX, IntVecIndex 35 | mov bh, 00h 36 | MOV AX, ES:word ptr[BX] 37 | MOV offsetaddr,AX 38 | MOV AX, ES:word ptr[BX+2] 39 | MOV segmentaddr,AX 40 | } 41 | printf("old segment is %x ",segmentaddr); 42 | printf("old offset is %x \n",offsetaddr); 43 | asm{ 44 | XOR AX, AX 45 | MOV ES, AX 46 | MOV BX, IntVecIndex 47 | mov bh, 00h 48 | MOV AX,OffsetIntSer 49 | MOV ES:word ptr[BX], AX 50 | MOV AX, SegmentIntSer 51 | MOV ES:word ptr[BX+2], AX 52 | } 53 | 54 | while(flag) 55 | { 56 | 57 | } 58 | asm{ 59 | XOR AX, AX 60 | MOV ES, AX 61 | MOV BX, IntVecIndex 62 | mov bh, 00h 63 | MOV AX, offsetaddr 64 | MOV ES:word ptr[BX], AX 65 | MOV AX, segmentaddr 66 | MOV ES:word ptr[BX+2], AX 67 | MOV AH, 0x4C 68 | INT 0X21 69 | } 70 | 71 | // getchar(); 72 | 73 | return 0; 74 | } -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/BIN/Bit64_Testx64.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/BIN/Bit64_Testx64.efi -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/BIN/MSRx64.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/BIN/MSRx64.efi -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/BIN/PciDumpx64.efi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/BIN/PciDumpx64.efi -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/Build/Bit64_Test.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/Build/Bit64_Test.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/Build/Bit64_Test.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/Build/Bit64_Test.pdb -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/Build/CpuX64.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/Build/CpuX64.OBJ -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/Build/PciDump.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/Build/PciDump.OBJ -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/Build/asmsrc.lst: -------------------------------------------------------------------------------- 1 | CpuX64.asm 2 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/Build/dater.mak: -------------------------------------------------------------------------------- 1 | # ******************************************************* 2 | # * This file has been generated by * 3 | # * AMIBIOS date creator utility * 4 | # * Revision (null) * 5 | # * DO NOT EDIT THIS FILE * 6 | # ******************************************************* 7 | # TODAY=MM/DD/YYYY 8 | TODAY=08/14/2015 9 | # TODAY1=MMDDYYYY 10 | TODAY1=08142015 11 | # TODAY2=MM/DD/YY 12 | TODAY2=08/14/15 13 | # TODAY3=MMDDYY 14 | TODAY3=081415 15 | # TODAY4=YYYYMMDD 16 | TODAY4=20150814 17 | # TODAY5=YYMMDD 18 | TODAY5=150814 19 | # THIS_DAY=DD 20 | THIS_DAY=14 21 | # THIS_MONTH=MM 22 | THIS_MONTH=08 23 | # THIS_YEAR=DD 24 | THIS_YEAR=2015 25 | # NOW=HH:MM:SS 26 | NOW=13:52:08 27 | # NOW1=HHMMSS 28 | NOW1=135208 29 | # NOW2=HH:MM 30 | NOW2=13:52 31 | # NOW3=HHMM 32 | NOW3=1352 33 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/Build/src.lst: -------------------------------------------------------------------------------- 1 | PciDump.c 2 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/Build/token.h: -------------------------------------------------------------------------------- 1 | 2 | //-------- DO NOT EDIT THIS FILE -------- 3 | // 4 | // FILE WAS GENERATED AUTOMATICALY USING AMISDL v3.64.1043 (Jul 7 2010,12:30:32) 5 | // 6 | //-------- DO NOT EDIT THIS FILE -------- 7 | //**************************************************************************** 8 | //**************************************************************************** 9 | //** ** 10 | //** (C)Copyright 1985-2010, American Megatrends, Inc. ** 11 | //** ** 12 | //** All Rights Reserved. ** 13 | //** ** 14 | //** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** 15 | //** ** 16 | //** Phone (770)-246-8600 ** 17 | //** ** 18 | //**************************************************************************** 19 | //**************************************************************************** 20 | //**************************************************************************** 21 | #if !defined(_TOKEN_SDL_H) 22 | #define _TOKEN_SDL_H 23 | #define MAJVER 0x0 24 | #define MINVER 0x0 25 | 26 | #endif 27 | 28 | //-------- DO NOT EDIT THIS FILE -------- 29 | // 30 | // FILE WAS GENERATED AUTOMATICALY USING AMISDL v3.64.1043 (Jul 7 2010,12:30:32) 31 | // 32 | //-------- DO NOT EDIT THIS FILE -------- 33 | //**************************************************************************** 34 | //**************************************************************************** 35 | //** ** 36 | //** (C)Copyright 1985-2010, American Megatrends, Inc. ** 37 | //** ** 38 | //** All Rights Reserved. ** 39 | //** ** 40 | //** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** 41 | //** ** 42 | //** Phone (770)-246-8600 ** 43 | //** ** 44 | //**************************************************************************** 45 | //**************************************************************************** 46 | //**************************************************************************** 47 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/CpuLib/CpuLib.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "CpuLib" 3 | category = eChipset 4 | LocalRoot = "CpuLib" 5 | RefName = "CpuLib" 6 | [files] 7 | "IA32\CpuIA32.c" 8 | "X64\CpuX64.asm" 9 | "CpuLib.h" 10 | 11 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/CpuLib/CpuLib.h: -------------------------------------------------------------------------------- 1 | #ifndef __CPULIB_H__ 2 | #define __CPULIB_H__ 3 | 4 | typedef struct { 5 | UINT32 RegEax; 6 | UINT32 RegEbx; 7 | UINT32 RegEcx; 8 | UINT32 RegEdx; 9 | } EFI_CPUID_REGISTER; 10 | 11 | UINT64 EfiReadMsr(UINT32 Msr); 12 | VOID EfiWriteMsr(UINT32 Msr, UINT64 Value); 13 | UINT64 EfiReadTsc(); 14 | VOID EfiCpuid(UINT32 RegisterInEax, EFI_CPUID_REGISTER *Reg); 15 | VOID EfiEnableCache(); 16 | VOID EfiDisableCache(); 17 | 18 | //================================================================ 19 | // IO Access 20 | //================================================================ 21 | UINT8 IoRead8(UINT16 Port); 22 | UINT16 IoRead16(UINT16 Port); 23 | UINT32 IoRead32(UINT16 Port); 24 | 25 | VOID IoWrite8(UINT16 Port, UINT8 Value); 26 | VOID IoWrite16(UINT16 Port, UINT16 Value); 27 | VOID IoWrite32(UINT16 Port, UINT32 Value); 28 | 29 | //================================================================ 30 | // Memory Access 31 | //================================================================ 32 | #define MemRead8(Address) *((UINT8 *)((UINT32)Address)) 33 | #define MemRead16(Address) *((UINT16 *)((UINT32)Address)) 34 | #define MemRead32(Address) *((UINT32 *)((UINT32)Address)) 35 | 36 | #define MemWrite8(Address, Data) *((UINT8 *)((UINT32)Address))=Data 37 | #define MemWrite16(Address, Data) *((UINT16 *)((UINT32)Address))=Data 38 | #define MemWrite32(Address, Data) *((UINT32 *)((UINT32)Address))=Data 39 | 40 | UINT64 Div64 (UINT64 Dividend, UINTN Divisor, UINTN *Remainder); 41 | 42 | #endif //#ifndef __CPULIB_H__ -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/1033/clui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/1033/clui.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/1033/linkui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/1033/linkui.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/X64Tools.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "X64 Tools" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Bin\AMD64\" 5 | RefName = "X64 Tools" 6 | [files] 7 | "\c1.dll" 8 | "\c1xx.dll" 9 | "\c2.dll" 10 | "\cl.exe" 11 | "\lib.exe" 12 | "\link.exe" 13 | "\ml64.exe" 14 | "\msobj80.dll" 15 | "\mspdb80.dll" 16 | "\msvcp80.dll" 17 | "\msvcr80.dll" 18 | "\1033\clui.dll" 19 | "\1033\linkui.dll" 20 | 21 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/X64Tools.cif.bak: -------------------------------------------------------------------------------- 1 | 2 | name = "X64 Tools" 3 | category = ModulePart 4 | LocalRoot = "Aptio4Tools\AMD64\" 5 | RefName = "X64 Tools" 6 | [files] 7 | "\c1.dll" 8 | "\c1xx.dll" 9 | "\c2.dll" 10 | "\cl.exe" 11 | "\lib.exe" 12 | "\link.exe" 13 | "\ml64.exe" 14 | "\msobj80.dll" 15 | "\mspdb80.dll" 16 | "\msvcp80.dll" 17 | "\msvcr80.dll" 18 | "\1033\clui.dll" 19 | "\1033\linkui.dll" 20 | 21 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c1.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c1xx.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c1xx.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/c2.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msobj80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msobj80.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/mspdb80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/mspdb80.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcp80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcp80.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcr71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcr71.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcr80.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/msvcr80.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/vc80.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/vc80.idb -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/vc80.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/AMD64/vc80.pdb -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/Bin.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Bin" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Bin\" 5 | RefName = "Bin" 6 | [files] 7 | "fwimage.exe" 8 | [parts] 9 | "VC7.1 Tools" 10 | "X64 Tools" 11 | 12 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/MSDBI60.DLL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/MSDBI60.DLL -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/VC71Tools.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "VC7.1 Tools" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Bin\VC7.1\" 5 | RefName = "VC7.1 Tools" 6 | [files] 7 | "c1.dll" 8 | "c1xx.dll" 9 | "c2.dll" 10 | "cl.exe" 11 | "lib.exe" 12 | "link.exe" 13 | "MSDBI60.DLL" 14 | "msobj71.dll" 15 | "mspdb71.dll" 16 | "msvcp71.dll" 17 | "msvcr71.dll" 18 | "nmake.exe" 19 | "vc71.sdl" 20 | "vc71.mak" 21 | "ML.ERR" 22 | "ML.EXE" 23 | 24 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/VC71Tools.cif.bak: -------------------------------------------------------------------------------- 1 | 2 | name = "VC7.1 Tools" 3 | category = ModulePart 4 | LocalRoot = "Aptio4Tools\VC7.1\" 5 | RefName = "VC7.1 Tools" 6 | [files] 7 | "\c1.dll" 8 | "\c1xx.dll" 9 | "\c2.dll" 10 | "\cl.exe" 11 | "\lib.exe" 12 | "\link.exe" 13 | "\MSDBI60.DLL" 14 | "\msobj71.dll" 15 | "\mspdb71.dll" 16 | "\msvcp71.dll" 17 | "\msvcr71.dll" 18 | "\nmake.exe" 19 | "\vc71.sdl" 20 | "\vc71.mak" 21 | 22 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c1.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c1xx.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c1xx.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/c2.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msobj71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msobj71.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/mspdb71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/mspdb71.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msvcp71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msvcp71.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msvcr71.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/msvcr71.dll -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/vc71.mak: -------------------------------------------------------------------------------- 1 | #********************************************************************** 2 | #********************************************************************** 3 | #** ** 4 | #** (C)Copyright 1985-2005, American Megatrends, Inc. ** 5 | #** ** 6 | #** All Rights Reserved. ** 7 | #** ** 8 | #** 6145-F Northbelt Pkwy, Norcross, GA 30071 ** 9 | #** ** 10 | #** Phone: (770)-246-8600 ** 11 | #** ** 12 | #********************************************************************** 13 | #********************************************************************** 14 | 15 | #********************************************************************** 16 | # $Header: /Alaska/Tools/VC7.1/vc71.mak 2 1/18/05 3:22p Felixp $ 17 | # 18 | # $Revision: 2 $ 19 | # 20 | # $Date: 1/18/05 3:22p $ 21 | #********************************************************************** 22 | # Revision History 23 | # ---------------- 24 | # $Log: /Alaska/Tools/VC7.1/vc71.mak $ 25 | # 26 | # 2 1/18/05 3:22p Felixp 27 | # PrintDebugMessage renamed to Trace 28 | # 29 | # 1 12/23/04 9:58a Felixp 30 | # 31 | # 1 7/13/04 10:50a Felixp 32 | # 33 | #********************************************************************** 34 | # 35 | # 36 | # Name: vc7.mak 37 | # 38 | # Description: 39 | # 40 | # 41 | #********************************************************************** 42 | LFLAGS = $(LFLAGS) /SUBSYSTEM:$(SUBSYSTEM) /ENTRY:$(ENTRY_POINT) 43 | EXT=efi 44 | #********************************************************************** 45 | #** ** 46 | #** (C)Copyright 1985-2005, American Megatrends, Inc. ** 47 | #** ** 48 | #** All Rights Reserved. ** 49 | #** ** 50 | #** 6145-F Northbelt Pkwy, Norcross, GA 30071 ** 51 | #** ** 52 | #** Phone: (770)-246-8600 ** 53 | #** ** 54 | #********************************************************************** 55 | #********************************************************************** -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Bin/VC7.1/vc71.sdl: -------------------------------------------------------------------------------- 1 | TOKEN 2 | Name = "TOOL_LFLAGS" 3 | Value = "/NODEFAULTLIB /ALIGN:32" 4 | TokenType = Expression 5 | TargetMAK = Yes 6 | End 7 | 8 | TOKEN 9 | Name = "VC71Tools_Support" 10 | Value = "1" 11 | Help = "Main switch to enable VC 7.1 Tools support in Project" 12 | TokenType = Boolean 13 | TargetMAK = Yes 14 | Master = Yes 15 | End 16 | 17 | TOKEN 18 | Name = "TOOL_RULES" 19 | Value = "$(TOOL_DIR)\vc71.mak" 20 | TokenType = Expression 21 | TargetMAK = Yes 22 | End 23 | 24 | 25 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/EfiToolKit_20.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "EfiToolKit_20" 3 | category = CPU 4 | LocalRoot = "EfiToolKit_20\" 5 | RefName = "EfiToolKit_20" 6 | [parts] 7 | "Lib" 8 | "Include" 9 | "Bin" 10 | 11 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/Include.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Include" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Include\" 5 | RefName = "Include" 6 | [files] 7 | "efi110\efi.h" 8 | "efi110\efi_nii.h" 9 | "efi110\EFI_PXE.H" 10 | "efi110\efiapi.h" 11 | "efi110\efiBis.h" 12 | "efi110\efiBusSpecificDriverOverride.h" 13 | "efi110\efiComponentName.h" 14 | "efi110\eficon.h" 15 | "efi110\efidebug.h" 16 | "efi110\efiDebugPort.h" 17 | "efi110\efiDebugSupport.h" 18 | "efi110\efiDecompress.h" 19 | "efi110\efidef.h" 20 | "efi110\efidevp.h" 21 | "efi110\efiDriverBinding.h" 22 | "efi110\efiDriverConfiguration.h" 23 | "efi110\efiDriverDiagnostics.h" 24 | "efi110\efiEbc.h" 25 | "efi110\efierr.h" 26 | "efi110\efifs.h" 27 | "efi110\EfiGpt.h" 28 | "efi110\efilib.h" 29 | "efi110\efinet.h" 30 | "efi110\efipart.h" 31 | "efi110\efiPciIo.h" 32 | "efi110\efiPciRootBridgeIo.h" 33 | "efi110\efiPlatformDriverOverride.h" 34 | "efi110\efiPointer.h" 35 | "efi110\efiprot.h" 36 | "efi110\efipxebc.h" 37 | "efi110\EfiRtLib.h" 38 | "efi110\efiScsiPassThru.h" 39 | "efi110\efiser.h" 40 | "efi110\efistdarg.h" 41 | "efi110\efiUgaDraw.h" 42 | "efi110\efiUgaIo.h" 43 | "efi110\EfiUi.h" 44 | "efi110\efiUsbHostController.h" 45 | "efi110\efiUsbIo.h" 46 | "efi110\LIbSmbios.h" 47 | "efi110\link.h" 48 | "efi110\makefile.hdr" 49 | "efi110\pci22.h" 50 | "efi110\ROMLOAD.H" 51 | "efi110\usb.h" 52 | "efishell\makefile.hdr" 53 | "efishell\shell.h" 54 | "efishell\shellenv.h" 55 | "efi110\em64t\efibind.h" 56 | "efi110\em64t\efilibplat.h" 57 | "efi110\em64t\pe.h" 58 | "efi110\ia32\efibind.h" 59 | "efi110\ia32\efilibplat.h" 60 | "efi110\ia32\pe.h" 61 | "efi110\protocol\AdapterDebug.h" 62 | "efi110\protocol\eficonSplit.h" 63 | "efi110\protocol\efivar.h" 64 | "efi110\protocol\intload.h" 65 | "efi110\protocol\legacyboot.h" 66 | "efi110\protocol\makefile.hdr" 67 | "efi110\protocol\readme.txt" 68 | "efi110\protocol\VgaClass.h" 69 | 70 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/EfiGpt.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_GPT_H 2 | #define _EFI_GPT_H 3 | /*++ 4 | 5 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 6 | This software and associated documentation (if any) is furnished 7 | under a license and may only be used or copied in accordance 8 | with the terms of the license. Except as permitted by such 9 | license, no part of this software or documentation may be 10 | reproduced, stored in a retrieval system, or transmitted in any 11 | form or by any means without the express written consent of 12 | Intel Corporation. 13 | 14 | Module Name: 15 | 16 | EfiGpt.h 17 | 18 | Abstract: 19 | Include file for EFI partitioning scheme 20 | 21 | 22 | 23 | Revision History 24 | 25 | --*/ 26 | 27 | #define PRIMARY_PART_HEADER_LBA 1 28 | 29 | typedef struct { 30 | EFI_TABLE_HEADER Header; 31 | EFI_LBA MyLBA; 32 | EFI_LBA AlternateLBA; 33 | EFI_LBA FirstUsableLBA; 34 | EFI_LBA LastUsableLBA; 35 | EFI_GUID DiskGUID; 36 | EFI_LBA PartitionEntryLBA; 37 | UINT32 NumberOfPartitionEntries; 38 | UINT32 SizeOfPartitionEntry; 39 | UINT32 PartitionEntryArrayCRC32; 40 | } EFI_PARTITION_TABLE_HEADER; 41 | 42 | #define EFI_PTAB_HEADER_ID "EFI PART" 43 | 44 | typedef struct { 45 | EFI_GUID PartitionTypeGUID; 46 | EFI_GUID UniquePartitionGUID; 47 | EFI_LBA StartingLBA; 48 | EFI_LBA EndingLBA; 49 | UINT64 Attributes; 50 | CHAR16 PartitionName[36]; 51 | } EFI_PARTITION_ENTRY; 52 | 53 | // 54 | // EFI Partition Attributes 55 | // 56 | #define EFI_PART_REQUIRED_TO_FUNCTION 0x0000000000000001 57 | 58 | #define EFI_PART_TYPE_UNUSED_GUID \ 59 | { 0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } 60 | 61 | #define EFI_PART_TYPE_EFI_SYSTEM_PART_GUID \ 62 | { 0xc12a7328, 0xf81f, 0x11d2, 0xba, 0x4b, 0x00, 0xa0, 0xc9, 0x3e, 0xc9, 0x3b } 63 | 64 | #define EFI_PART_TYPE_LEGACY_MBR_GUID \ 65 | { 0x024dee41, 0x33e7, 0x11d3, 0x9d, 0x69, 0x00, 0x08, 0xc7, 0x81, 0xf3, 0x9f } 66 | 67 | #endif -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/EfiUi.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_UI_H 2 | #define _EFI_UI_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | EfiUi.h 18 | 19 | Abstract: 20 | Protocol used to build User Interface (UI) stuff. 21 | 22 | This protocol is just data. It is a multi dimentional array. 23 | For each string there is an array of UI_STRING_ENTRY. Each string 24 | is for a different language translation of the same string. The list 25 | is terminated by a NULL UiString. There can be any number of 26 | UI_STRING_ENTRY arrays. A NULL array terminates the list. A NULL array 27 | entry contains all zeros. 28 | 29 | Thus the shortest possible EFI_UI_PROTOCOL has three UI_STRING_ENTRY. 30 | The String, it's NULL terminator, and the NULL terminator for the entire 31 | thing. 32 | 33 | 34 | Revision History 35 | 36 | --*/ 37 | 38 | #define EFI_UI_PROTOCOL \ 39 | { 0x32dd7981, 0x2d27, 0x11d4, 0xbc, 0x8b, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } 40 | 41 | 42 | typedef enum { 43 | UiDeviceString, 44 | UiVendorString, 45 | UiMaxString 46 | } UI_STRING_TYPE; 47 | 48 | typedef struct { 49 | ISO_639_2 *LangCode; 50 | CHAR16 *UiString; 51 | } UI_STRING_ENTRY; 52 | 53 | #define EFI_UI_VERSION 0x00010000 54 | 55 | typedef struct _UI_INTERFACE { 56 | UINT32 Version; 57 | UI_STRING_ENTRY *Entry; 58 | } UI_INTERFACE; 59 | 60 | 61 | #endif 62 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/ROMLOAD.H: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | romload.h 15 | 16 | Abstract: 17 | 18 | 19 | 20 | Revision History 21 | 22 | --*/ 23 | 24 | #ifndef _EFI_ROMLOAD_H 25 | #define _EFI_ROMLOAD_H 26 | 27 | #define ROM_SIGNATURE 0xaa55 28 | #define PCIDS_SIGNATURE "PCIR" 29 | #pragma pack(push) 30 | #pragma pack(1) 31 | typedef struct 32 | { 33 | UINT8 Pcids_Sig[4]; 34 | UINT16 VendId; 35 | UINT16 DevId; 36 | UINT16 Vpd_Off; 37 | UINT16 Size; 38 | UINT8 Rev; 39 | UINT8 Class_Code[3]; 40 | UINT16 Image_Len; 41 | UINT16 Rev_Lvl; 42 | UINT8 Code_Type; 43 | UINT8 Indi; 44 | UINT16 Rsvd; 45 | }PciDataStructure; 46 | typedef struct 47 | { 48 | UINT16 Size; 49 | UINT32 Header_Sig; 50 | UINT16 SubSystem; 51 | UINT16 MachineType; 52 | UINT8 Resvd[10]; 53 | UINT16 EfiOffset; 54 | }ArchData; 55 | typedef struct 56 | { 57 | UINT16 Rom_Sig; 58 | ArchData Arch_Data; 59 | UINT16 Pcids_Off; 60 | UINT8 resvd[38]; 61 | }RomHeader; 62 | #pragma pack(pop) 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/efi.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | efi.h 15 | 16 | Abstract: 17 | 18 | Public EFI header files 19 | 20 | 21 | 22 | Revision History 23 | 24 | --*/ 25 | 26 | // 27 | // Build flags on input 28 | // EFI32 29 | // EFI_DEBUG - Enable debugging code 30 | // EFI_NT_EMULATOR - Building for running under NT 31 | // 32 | 33 | 34 | #ifndef _EFI_INCLUDE_ 35 | #define _EFI_INCLUDE_ 36 | 37 | #define EFI_FIRMWARE_VENDOR L"INTEL" 38 | #define EFI_FIRMWARE_MAJOR_REVISION 14 39 | #define EFI_FIRMWARE_MINOR_REVISION 62 40 | #define EFI_FIRMWARE_REVISION ((EFI_FIRMWARE_MAJOR_REVISION <<16) | (EFI_FIRMWARE_MINOR_REVISION)) 41 | 42 | #include "efibind.h" 43 | #include "efidef.h" 44 | #include "efidevp.h" 45 | #include "eficon.h" 46 | #include "efiser.h" 47 | #include "efi_nii.h" 48 | #include "efipxebc.h" 49 | #include "efinet.h" 50 | #include "efiapi.h" 51 | #include "efiprot.h" 52 | #include "efifs.h" 53 | #include "efierr.h" 54 | #include "efiui.h" 55 | 56 | #define EFI_STRINGIZE(a) #a 57 | #define EFI_PROTOCOL_DEFINITION(a) EFI_STRINGIZE(Protocol/a/a.h) 58 | 59 | #define EFI_GUID_DEFINITION(a) EFI_STRINGIZE(Guid/a/a##.h) 60 | #define EFI_GUID_STRING(guidpointer, shortstring, longstring) 61 | 62 | #endif 63 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/efiBusSpecificDriverOverride.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | 13 | Module Name: 14 | 15 | BusSpecificDriverOverride.h 16 | 17 | Abstract: 18 | 19 | Bus Specific Driver Override protocol as defined in the EFI 1.1 specification. 20 | 21 | --*/ 22 | 23 | #ifndef _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL_H_ 24 | #define _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL_H_ 25 | 26 | // 27 | // Global ID for the Bus Specific Driver Override Protocol 28 | // 29 | #define EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL_GUID \ 30 | { 0x3bc1b285, 0x8a15, 0x4a82, 0xaa, 0xbf, 0x4d, 0x7d, 0x13, 0xfb, 0x32, 0x65 } 31 | 32 | EFI_INTERFACE_DECL(_EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL); 33 | 34 | // 35 | // Prototypes for the Bus Specific Driver Override Protocol 36 | // 37 | 38 | typedef 39 | EFI_STATUS 40 | (EFIAPI *EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_GET_DRIVER) ( 41 | IN struct _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This, 42 | IN OUT EFI_HANDLE *DriverImageHandle 43 | ); 44 | 45 | // 46 | // Interface structure for the Bus Specific Driver Override Protocol 47 | // 48 | 49 | typedef struct _EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL { 50 | EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_GET_DRIVER GetDriver; 51 | } EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL; 52 | 53 | extern EFI_GUID BusSpecificDriverOverrideProtocol; 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/efiPlatformDriverOverride.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | 13 | Module Name: 14 | 15 | PlatformDriverOverride.h 16 | 17 | Abstract: 18 | 19 | Platform Driver Override protocol as defined in the EFI 1.1 specification. 20 | 21 | --*/ 22 | 23 | #ifndef _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL_H_ 24 | #define _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL_H_ 25 | 26 | // 27 | // Global ID for the Platform Driver Override Protocol 28 | // 29 | #define EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL_GUID \ 30 | { 0x6b30c738, 0xa391, 0x11d4, 0x9a, 0x3b, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d} 31 | 32 | EFI_INTERFACE_DECL(_EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL); 33 | 34 | // 35 | // Prototypes for the Platform Driver Override Protocol 36 | // 37 | 38 | typedef 39 | EFI_STATUS 40 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER) ( 41 | IN struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, 42 | IN EFI_HANDLE ControllerHandle, 43 | IN OUT EFI_HANDLE *DriverImageHandle 44 | ); 45 | 46 | typedef 47 | EFI_STATUS 48 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER_PATH) ( 49 | IN struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, 50 | IN EFI_HANDLE ControllerHandle, 51 | IN OUT EFI_DEVICE_PATH_PROTOCOL **DriverImagePath 52 | ); 53 | 54 | typedef 55 | EFI_STATUS 56 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_DRIVER_LOADED) ( 57 | IN struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL *This, 58 | IN EFI_HANDLE ControllerHandle, 59 | IN EFI_DEVICE_PATH_PROTOCOL *DriverImagePath, 60 | IN EFI_HANDLE DriverImageHandle 61 | ); 62 | 63 | // 64 | // Interface structure for the Platform Driver Override Protocol 65 | // 66 | typedef struct _EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL { 67 | EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER GetDriver; 68 | EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER_PATH GetDriverPath; 69 | EFI_PLATFORM_DRIVER_OVERRIDE_DRIVER_LOADED DriverLoaded; 70 | } EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL; 71 | 72 | extern EFI_GUID EFI_PS2_POLICY_PROTOCOL; 73 | 74 | #endif 75 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/efiPointer.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | 13 | Module Name: 14 | 15 | SimplePointer.h 16 | 17 | Abstract: 18 | 19 | Simple Pointer protocol from the EFI 1.1 specification. 20 | 21 | Abstraction of a very simple pointer device like a mice or tracekballs. 22 | 23 | --*/ 24 | 25 | #ifndef _EFI_POINTER_H_ 26 | #define _EFI_POINTER_H_ 27 | 28 | #define EFI_SIMPLE_POINTER_PROTOCOL_GUID \ 29 | {0x31878c87,0xb75,0x11d5,0x9a,0x4f,0x0,0x90,0x27,0x3f,0xc1,0x4d} 30 | 31 | EFI_INTERFACE_DECL(_EFI_SIMPLE_POINTER_PROTOCOL); 32 | 33 | // 34 | // Data structures 35 | // 36 | 37 | typedef struct { 38 | INT32 RelativeMovementX; 39 | INT32 RelativeMovementY; 40 | INT32 RelativeMovementZ; 41 | BOOLEAN LeftButton; 42 | BOOLEAN RightButton; 43 | } EFI_SIMPLE_POINTER_STATE; 44 | 45 | typedef struct { 46 | UINT64 ResolutionX; 47 | UINT64 ResolutionY; 48 | UINT64 ResolutionZ; 49 | BOOLEAN LeftButton; 50 | BOOLEAN RightButton; 51 | } EFI_SIMPLE_POINTER_MODE; 52 | 53 | typedef 54 | EFI_STATUS 55 | (EFIAPI *EFI_SIMPLE_POINTER_RESET) ( 56 | IN struct _EFI_SIMPLE_POINTER_PROTOCOL *This, 57 | IN BOOLEAN ExtendedVerification 58 | ); 59 | 60 | typedef 61 | EFI_STATUS 62 | (EFIAPI *EFI_SIMPLE_POINTER_GET_STATE) ( 63 | IN struct _EFI_SIMPLE_POINTER_PROTOCOL *This, 64 | IN OUT EFI_SIMPLE_POINTER_STATE *State 65 | ); 66 | 67 | typedef struct _EFI_SIMPLE_POINTER_PROTOCOL { 68 | EFI_SIMPLE_POINTER_RESET Reset; 69 | EFI_SIMPLE_POINTER_GET_STATE GetState; 70 | EFI_EVENT WaitForInput; 71 | EFI_SIMPLE_POINTER_MODE *Mode; 72 | } EFI_SIMPLE_POINTER_PROTOCOL; 73 | 74 | extern EFI_GUID SimplePointerProtocol; 75 | 76 | #endif 77 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/efiUgaIo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/efiUgaIo.h -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/efierr.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_ERR_H 2 | #define _EFI_ERR_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | efierr.h 18 | 19 | Abstract: 20 | 21 | EFI error codes 22 | 23 | 24 | 25 | 26 | Revision History 27 | 28 | --*/ 29 | 30 | 31 | #define EFIWARN(a) (a) 32 | #define EFI_ERROR(a) (((INTN) a) < 0) 33 | 34 | 35 | #define EFI_SUCCESS 0 36 | #define EFI_LOAD_ERROR EFIERR(1) 37 | #define EFI_INVALID_PARAMETER EFIERR(2) 38 | #define EFI_UNSUPPORTED EFIERR(3) 39 | #define EFI_BAD_BUFFER_SIZE EFIERR(4) 40 | #define EFI_BUFFER_TOO_SMALL EFIERR(5) 41 | #define EFI_NOT_READY EFIERR(6) 42 | #define EFI_DEVICE_ERROR EFIERR(7) 43 | #define EFI_WRITE_PROTECTED EFIERR(8) 44 | #define EFI_OUT_OF_RESOURCES EFIERR(9) 45 | #define EFI_VOLUME_CORRUPTED EFIERR(10) 46 | #define EFI_VOLUME_FULL EFIERR(11) 47 | #define EFI_NO_MEDIA EFIERR(12) 48 | #define EFI_MEDIA_CHANGED EFIERR(13) 49 | #define EFI_NOT_FOUND EFIERR(14) 50 | #define EFI_ACCESS_DENIED EFIERR(15) 51 | #define EFI_NO_RESPONSE EFIERR(16) 52 | #define EFI_NO_MAPPING EFIERR(17) 53 | #define EFI_TIMEOUT EFIERR(18) 54 | #define EFI_NOT_STARTED EFIERR(19) 55 | #define EFI_ALREADY_STARTED EFIERR(20) 56 | #define EFI_ABORTED EFIERR(21) 57 | #define EFI_ICMP_ERROR EFIERR(22) 58 | #define EFI_TFTP_ERROR EFIERR(23) 59 | #define EFI_PROTOCOL_ERROR EFIERR(24) 60 | 61 | #define EFI_WARN_UNKNOWN_GLYPH EFIWARN(1) 62 | #define EFI_WARN_DELETE_FAILURE EFIWARN(2) 63 | #define EFI_WARN_WRITE_FAILURE EFIWARN(3) 64 | #define EFI_WARN_BUFFER_TOO_SMALL EFIWARN(4) 65 | 66 | #endif -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/efipart.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_PART_H 2 | #define _EFI_PART_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | efipart.h 18 | 19 | Abstract: 20 | Info about disk partitions and Master Boot Records 21 | 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | // 30 | // 31 | // 32 | 33 | #define EFI_PARTITION 0xef 34 | #define MBR_SIZE 512 35 | 36 | #pragma pack(1) 37 | 38 | typedef struct { 39 | UINT8 BootIndicator; 40 | UINT8 StartHead; 41 | UINT8 StartSector; 42 | UINT8 StartTrack; 43 | UINT8 OSIndicator; 44 | UINT8 EndHead; 45 | UINT8 EndSector; 46 | UINT8 EndTrack; 47 | UINT8 StartingLBA[4]; 48 | UINT8 SizeInLBA[4]; 49 | } MBR_PARTITION_RECORD; 50 | 51 | #define EXTRACT_UINT32(D) (UINT32)(D[0] | (D[1] << 8) | (D[2] << 16) | (D[3] << 24)) 52 | 53 | #define MBR_SIGNATURE 0xaa55 54 | #define MIN_MBR_DEVICE_SIZE 0x80000 55 | #define MBR_ERRATA_PAD 0x40000 // 128 MB 56 | 57 | #define MAX_MBR_PARTITIONS 4 58 | typedef struct { 59 | UINT8 BootStrapCode[440]; 60 | UINT8 UniqueMbrSignature[4]; 61 | UINT8 Unknown[2]; 62 | MBR_PARTITION_RECORD Partition[MAX_MBR_PARTITIONS]; 63 | UINT16 Signature; 64 | } MASTER_BOOT_RECORD; 65 | #pragma pack() 66 | 67 | 68 | #endif 69 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/efistdarg.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFISTDARG_H_ 2 | #define _EFISTDARG_H_ 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | devpath.h 18 | 19 | Abstract: 20 | 21 | Defines for parsing the EFI Device Path structures 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | #define _INTSIZEOF(n) ( (sizeof(n) + sizeof(UINTN) - 1) & ~(sizeof(UINTN) - 1) ) 30 | 31 | typedef CHAR8 * va_list; 32 | 33 | #define va_start(ap,v) ( ap = (va_list)&v + _INTSIZEOF(v) ) 34 | #define va_arg(ap,t) ( *(t *)((ap += _INTSIZEOF(t)) - _INTSIZEOF(t)) ) 35 | #define va_end(ap) ( ap = (va_list)0 ) 36 | 37 | 38 | #endif /* _INC_STDARG */ 39 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/em64t/efilibplat.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_LIB_PLAT_H 2 | #define _EFI_LIB_PLAT_H 3 | /*++ 4 | 5 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 6 | This software and associated documentation (if any) is furnished 7 | under a license and may only be used or copied in accordance 8 | with the terms of the license. Except as permitted by such 9 | license, no part of this software or documentation may be 10 | reproduced, stored in a retrieval system, or transmitted in any 11 | form or by any means without the express written consent of 12 | Intel Corporation. 13 | 14 | Module Name: 15 | 16 | efilibplat.h 17 | 18 | Abstract: 19 | 20 | EFI to compile bindings 21 | 22 | 23 | 24 | Revision History 25 | 26 | --*/ 27 | 28 | 29 | VOID 30 | InitializeLibPlatform ( 31 | IN EFI_HANDLE ImageHandle, 32 | IN EFI_SYSTEM_TABLE *SystemTable 33 | ); 34 | 35 | #endif -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/ia32/efilibplat.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | efilibplat.h 15 | 16 | Abstract: 17 | 18 | EFI to compile bindings 19 | 20 | 21 | 22 | 23 | Revision History 24 | 25 | --*/ 26 | 27 | VOID 28 | InitializeLibPlatform ( 29 | IN EFI_HANDLE ImageHandle, 30 | IN EFI_SYSTEM_TABLE *SystemTable 31 | ); 32 | 33 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/AdapterDebug.h: -------------------------------------------------------------------------------- 1 | #ifndef _ADAPTER_DEBUG_H 2 | #define _ADAPTER_DEBUG_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | AdapterDebug.h 18 | 19 | Abstract: 20 | 21 | Protocol to debug the EDD 3.0 enablement of BIOS option ROMs 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | // {82F86881-282B-11d4-BC7D-0080C73C8881} 30 | #define ADAPTER_DEBUG_PROTOCOL \ 31 | { 0x82f86881, 0x282b, 0x11d4, 0xbc, 0x7d, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } 32 | 33 | // 34 | // This protocol points to the BIOS_LEGACY_DRIVE data structure 35 | // see edd.h for more details 36 | // 37 | 38 | #endif -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/VgaClass.h: -------------------------------------------------------------------------------- 1 | #ifndef _VGA_CLASS_H 2 | #define _VGA_CLASS_H 3 | 4 | /*++ 5 | 6 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 7 | This software and associated documentation (if any) is furnished 8 | under a license and may only be used or copied in accordance 9 | with the terms of the license. Except as permitted by such 10 | license, no part of this software or documentation may be 11 | reproduced, stored in a retrieval system, or transmitted in any 12 | form or by any means without the express written consent of 13 | Intel Corporation. 14 | 15 | Module Name: 16 | 17 | VgaClass.h 18 | 19 | Abstract: 20 | 21 | Vga Mini port binding to Vga Class protocol 22 | 23 | 24 | 25 | Revision History 26 | 27 | --*/ 28 | 29 | // 30 | // VGA Device Structure 31 | // 32 | 33 | // {0E3D6310-6FE4-11d3-BB81-0080C73C8881} 34 | #define VGA_CLASS_DRIVER_PROTOCOL \ 35 | { 0xe3d6310, 0x6fe4, 0x11d3, 0xbb, 0x81, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } 36 | 37 | typedef 38 | EFI_STATUS 39 | (* INIT_VGA_CARD) ( 40 | IN UINTN VgaMode, 41 | IN VOID *Context 42 | ); 43 | 44 | typedef struct { 45 | UINTN MaxColumns; 46 | UINTN MaxRows; 47 | } MAX_CONSOLE_GEOMETRY; 48 | 49 | #define VGA_CON_OUT_DEV_SIGNATURE EFI_SIGNATURE_32('c','v','g','a') 50 | typedef struct { 51 | UINTN Signature; 52 | 53 | EFI_HANDLE Handle; 54 | SIMPLE_TEXT_OUTPUT_INTERFACE ConOut; 55 | SIMPLE_TEXT_OUTPUT_MODE ConOutMode; 56 | EFI_DEVICE_PATH *DevicePath; 57 | 58 | UINT8 *Buffer; 59 | EFI_DEVICE_IO_INTERFACE *DeviceIo; 60 | 61 | // 62 | // Video Card Context 63 | // 64 | INIT_VGA_CARD InitVgaCard; 65 | VOID *VgaCardContext; 66 | MAX_CONSOLE_GEOMETRY *Geometry; 67 | // 68 | // Video buffer normally 0xb8000 69 | // 70 | UINT64 VideoBuffer; 71 | 72 | // 73 | // Clear Screen & Default Attribute 74 | // 75 | UINT32 Attribute; 76 | 77 | // 78 | // -1 means search for active VGA device 79 | // 80 | EFI_PCI_ADDRESS_UNION Pci; 81 | } VGA_CON_OUT_DEV; 82 | 83 | #define VGA_CON_OUT_DEV_FROM_THIS(a) CR(a, VGA_CON_OUT_DEV, ConOut, VGA_CON_OUT_DEV_SIGNATURE) 84 | 85 | // 86 | // Vga Class Driver Protocol. 87 | // GUID defined in EFI Lib 88 | // 89 | 90 | typedef 91 | EFI_STATUS 92 | (EFIAPI *INSTALL_VGA_DRIVER) ( 93 | IN VGA_CON_OUT_DEV *ConOutDev 94 | ); 95 | 96 | typedef struct { 97 | UINT32 Version; 98 | INSTALL_VGA_DRIVER InstallGenericVgaDriver; 99 | } INSTALL_VGA_DRIVER_INTERFACE; 100 | 101 | #endif -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/eficonSplit.h: -------------------------------------------------------------------------------- 1 | #ifndef _EFI_CONFORK_H 2 | #define _EFI_CONFORK_H 3 | /*++ 4 | 5 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 6 | This software and associated documentation (if any) is furnished 7 | under a license and may only be used or copied in accordance 8 | with the terms of the license. Except as permitted by such 9 | license, no part of this software or documentation may be 10 | reproduced, stored in a retrieval system, or transmitted in any 11 | form or by any means without the express written consent of 12 | Intel Corporation. 13 | 14 | Module Name: 15 | 16 | Abstract: 17 | 18 | 19 | 20 | Revision History 21 | 22 | --*/ 23 | 24 | 25 | 26 | // 27 | // ConOut Forker Protocol 28 | // 29 | 30 | #define TEXT_OUT_SPLITER_PROTOCOL \ 31 | { 0x56d830a0, 0x7e7a, 0x11d3, 0xbb, 0xa0, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } 32 | 33 | #define ERROR_OUT_SPLITER_PROTOCOL \ 34 | { 0xf0ba9039, 0x68f1, 0x425e, 0xaa, 0x7f, 0xd9, 0xaa, 0xf9, 0x1b, 0x82, 0xa1} 35 | 36 | #define TEXT_IN_SPLITER_PROTOCOL \ 37 | { 0xf9a3c550, 0x7fb5, 0x11d3, 0xbb, 0xa0, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } 38 | 39 | #endif 40 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/intload.h: -------------------------------------------------------------------------------- 1 | /*++ 2 | 3 | Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved 4 | This software and associated documentation (if any) is furnished 5 | under a license and may only be used or copied in accordance 6 | with the terms of the license. Except as permitted by such 7 | license, no part of this software or documentation may be 8 | reproduced, stored in a retrieval system, or transmitted in any 9 | form or by any means without the express written consent of 10 | Intel Corporation. 11 | 12 | Module Name: 13 | 14 | intload 15 | 16 | Abstract: 17 | 18 | EFI support for loading internally linked in apps 19 | 20 | 21 | 22 | Revision History 23 | 24 | --*/ 25 | 26 | #ifndef _INTERNAL_LOAD_INCLUDE_ 27 | #define _INTERNAL_LOAD_INCLUDE_ 28 | 29 | // {D65A6B8C-71E5-4df0-A909-F0D2992B5AA9} 30 | #define INTERNAL_SHELL_GUID \ 31 | { 0xd65a6b8c, 0x71e5, 0x4df0, 0xa9, 0x09, 0xf0, 0xd2, 0x99, 0x2b, 0x5a, 0xa9 } 32 | 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/makefile.hdr: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # This is a machine generated file - DO NOT EDIT 4 | # Generated by genmake.exe 5 | # Generated from make.inf 6 | # Copyright (c) 1998 Intel Corporation 7 | # 8 | 9 | INC_DEPS = $(INC_DEPS) \ 10 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\efivar.h \ 11 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\legacyboot.h \ 12 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\vgaclass.h \ 13 | $(SDK_INSTALL_DIR)\include\$(EFI_INC_DIR)\protocol\intload.h \ 14 | 15 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efi110/protocol/readme.txt: -------------------------------------------------------------------------------- 1 | The protocol directory contains non Architectural 2 | Protocols that span the FW, Platform, or application 3 | space. -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Include/efishell/makefile.hdr: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # This is a machine generated file - DO NOT EDIT 4 | # Generated by genmake.exe 5 | # Generated from make.inf 6 | # Copyright (c) 1998 Intel Corporation 7 | # 8 | 9 | INC_DEPS = $(INC_DEPS) \ 10 | $(SDK_INSTALL_DIR)\include\efishell\shell.h \ 11 | $(SDK_INSTALL_DIR)\include\efishell\shellenv.h \ 12 | 13 | 14 | !IF "$(PROCESSOR)" == "Ia32" 15 | INC_DEPS = $(INC_DEPS) \ 16 | 17 | 18 | !ENDIF 19 | 20 | 21 | !IF "$(PROCESSOR)" == "Ia64" 22 | INC_DEPS = $(INC_DEPS) \ 23 | 24 | 25 | !ENDIF 26 | 27 | !IF "$(PROCESSOR)" == "Em64t" 28 | INC_DEPS = $(INC_DEPS) \ 29 | 30 | 31 | !ENDIF 32 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Lib/Lib.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Lib" 3 | category = ModulePart 4 | LocalRoot = "EfiToolKit_20\Lib\" 5 | RefName = "Lib" 6 | [files] 7 | "LibEfiAll.lib" 8 | "LibEfiAllx64.lib" 9 | 10 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Lib/LibEfiAll.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Lib/LibEfiAll.lib -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/EfiToolKit_20/Lib/LibEfiAllx64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/EfiToolKit_20/Lib/LibEfiAllx64.lib -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/Kernel.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Kernel" 3 | category = eCore 4 | RefName = "Kernel" 5 | [files] 6 | "scripts\Kernel.sdl" 7 | "ba.cmd" 8 | "builda_AMD64.cmd" 9 | "builda_X86.cmd" 10 | "scripts\kernel32.mak" 11 | "scripts\kernel64.mak" 12 | 13 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/MemMap/Memmap.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "Memmap" 3 | category = eBoard 4 | LocalRoot = "MemMap\" 5 | RefName = "Memmap" 6 | [files] 7 | "Memmap.sdl" 8 | "Memmap.c" 9 | 10 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/MemMap/Memmap.sdl: -------------------------------------------------------------------------------- 1 | TOKEN 2 | Name = "Memmap_SUPPORT" 3 | Value = "1" 4 | Help = "Main switch to enable Project support in Project" 5 | TokenType = Boolean 6 | TargetEQU = Yes 7 | TargetMAK = Yes 8 | Master = Yes 9 | End 10 | 11 | PATH 12 | Name = "Memmap_DIR" 13 | End 14 | 15 | TOKEN 16 | Name = "Memmap_NAME" 17 | Value = "Memmap" 18 | TokenType = Expression 19 | TargetMAK = Yes 20 | End 21 | 22 | TOKEN 23 | Name = "MAJVER" 24 | Value = "0" 25 | TokenType = Integer 26 | TargetMAK = Yes 27 | TargetH = Yes 28 | End 29 | 30 | TOKEN 31 | Name = "MINVER" 32 | Value = "00" 33 | TokenType = Integer 34 | TargetMAK = Yes 35 | TargetH = Yes 36 | End 37 | 38 | TOKEN 39 | Name = "IMAGE_ENTRY_POINT" 40 | Value = "ClareEntryPoint" 41 | TokenType = Expression 42 | TargetMAK = Yes 43 | End -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/PciDump.brs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/PciDump.brs -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/PciDump.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/PciDump.dat -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/PciDump.veb: -------------------------------------------------------------------------------- 1 | [project] 2 | version = 1 3 | Build = "nmake -f scripts\kernel32.mak backup" 4 | BuildAll = "ba.cmd X64" 5 | BoardFlavor = "PciDump" 6 | 7 | [files] 8 | "Kernel.cif"= Private 9 | "EfiToolKit_20\EfiToolKit_20.cif"= Private 10 | "EfiToolKit_20\Lib\Lib.cif"= Private 11 | "EfiToolKit_20\Include\Include.cif"= Private 12 | "EfiToolKit_20\Bin\Bin.cif"= Private 13 | "Project\project.cif"= Private 14 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/ba.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | if %1 == ALL goto _Build_ALL 3 | if %1 == AMD64 goto _Build_AMD64 4 | if %1 == X86 goto _Build_X86 5 | 6 | echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 7 | echo Build type is not set, Use AMD64 As Default 8 | echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 9 | goto _Build_AMD64 10 | 11 | :_Build_AMD64 12 | call builda_AMD64.cmd 13 | goto END 14 | 15 | :_Build_X86 16 | call builda_X86.cmd 17 | goto END 18 | 19 | :_Build_ALL 20 | call builda_AMD64.cmd 21 | call builda_X86.cmd 22 | :END -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/builda_AMD64.cmd: -------------------------------------------------------------------------------- 1 | del /F /Q /S BUILD\ 2 | del *.obj 3 | dater /CREATEMAKEFILE 4 | move dater.mak BUILD\dater.mak 5 | AMISDL project.ldl 6 | dir /B project\*.C >> BUILD\src.lst 7 | dir /B project\X64\*.asm >> BUILD\asmsrc.lst 8 | dir /B MiscLib\*.C >> BUILD\src.lst 9 | dir /B CpuLib\X64\*.asm >> BUILD\asmsrc.lst 10 | echo OBJS = >> BUILD\token.mak 11 | FOR /F "tokens=1 delims=." %%I in (BUILD\src.lst) DO echo OBJS = $(OBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 12 | FOR /F "tokens=1 delims=." %%I in (BUILD\asmsrc.lst) DO echo ASMOBJS = $(ASMOBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 13 | 14 | nmake -f scripts\kernel64.mak all -nologo -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/builda_X86.cmd: -------------------------------------------------------------------------------- 1 | del /F /Q /S BUILD\ 2 | dater /CREATEMAKEFILE 3 | move dater.mak BUILD\dater.mak 4 | AMISDL project.ldl 5 | dir /B project\*.C >> BUILD\src.lst 6 | dir /B project\IA32\*.asm >> BUILD\asmsrc.lst 7 | dir /B MiscLib\*.C >> BUILD\src.lst 8 | dir /B CpuLib\IA32\*.asm >> BUILD\asmsrc.lst 9 | dir /B CpuLib\IA32\*.C >> BUILD\src.lst 10 | echo OBJS = >> BUILD\token.mak 11 | FOR /F "tokens=1 delims=." %%I in (BUILD\src.lst) DO echo OBJS = $(OBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 12 | FOR /F "tokens=1 delims=." %%I in (BUILD\asmsrc.lst) DO echo ASMOBJS = $(ASMOBJS) $(BUILD_DIR)\%%I.OBJ >> BUILD\token.mak 13 | 14 | nmake -f scripts\kernel32.mak all -nologo 15 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/project.ldl: -------------------------------------------------------------------------------- 1 | scripts\Kernel.sdl\ 2 | Project\project.sdl\ 3 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/project/project.cif: -------------------------------------------------------------------------------- 1 | 2 | name = "project" 3 | category = eBoard 4 | LocalRoot = "Project\" 5 | RefName = "project" 6 | [files] 7 | "project.sdl" 8 | "PciDump.c" 9 | 10 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/project/project.sdl: -------------------------------------------------------------------------------- 1 | TOKEN 2 | Name = "PROJECT_SUPPORT" 3 | Value = "1" 4 | Help = "Main switch to enable Project support in Project" 5 | TokenType = Boolean 6 | TargetEQU = Yes 7 | TargetMAK = Yes 8 | Master = Yes 9 | End 10 | 11 | PATH 12 | Name = "PROJECT_DIR" 13 | End 14 | 15 | TOKEN 16 | Name = "PROJECT_NAME" 17 | Value = "Bit64_Test" 18 | TokenType = Expression 19 | TargetMAK = Yes 20 | End 21 | 22 | TOKEN 23 | Name = "MAJVER" 24 | Value = "0" 25 | TokenType = Integer 26 | TargetMAK = Yes 27 | TargetH = Yes 28 | End 29 | 30 | TOKEN 31 | Name = "MINVER" 32 | Value = "00" 33 | TokenType = Integer 34 | TargetMAK = Yes 35 | TargetH = Yes 36 | End 37 | 38 | TOKEN 39 | Name = "IMAGE_ENTRY_POINT" 40 | Value = "Bit64EntryPoint" 41 | TokenType = Expression 42 | TargetMAK = Yes 43 | End -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/scripts/Kernel.sdl: -------------------------------------------------------------------------------- 1 | TOKEN 2 | Name = "Kernel_SUPPORT" 3 | Value = "1" 4 | Help = "Main switch to enable Kernel support in Project" 5 | TokenType = Boolean 6 | TargetEQU = Yes 7 | TargetMAK = Yes 8 | Master = Yes 9 | End 10 | 11 | TOKEN 12 | Name = "Aptio4Tool_DIR" 13 | Value = "D:\EfiTools\Aptio4Tools" 14 | TokenType = Expression 15 | TargetMAK = Yes 16 | End 17 | 18 | MODULE 19 | Help = "Includes Kernel.mak to Project" 20 | File = "Kernel.mak" 21 | End 22 | 23 | OUTPUTREGISTER 24 | Name = "TOKEN_H" 25 | Path = "BUILD" 26 | File = "token.h" 27 | End 28 | 29 | OUTPUTREGISTER 30 | Name = "TOKEN_MAK" 31 | Path = "BUILD" 32 | File = "TOKEN.MAK" 33 | End 34 | 35 | -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/symbols.brs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/symbols.brs -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/vc70.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/vc70.idb -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/vc70.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/vc70.pdb -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/vc80.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/vc80.idb -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/vc80.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/vc80.pdb -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/vc90.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/vc90.idb -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/vc90.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/7.Memory/PciDump-20140717/vc90.pdb -------------------------------------------------------------------------------- /7.Memory/PciDump-20140717/wspace.dat: -------------------------------------------------------------------------------- 1 | gUD3D:\EFITools\FileOps\D:\EFITools\FileOps\ proj_ss_path -------------------------------------------------------------------------------- /8.itp/itp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/8.itp/itp.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | #ASUSTek 2015 Training Exercise 2 | 3 | 华硕科技2015届新人Training练习答案,上传至Github备份。 4 | 5 | If any problem contact solidman@msn.cn. 6 | -------------------------------------------------------------------------------- /backup/PCI.CPP: -------------------------------------------------------------------------------- 1 | #include 2 | #define PCI_CONFIG_ADDR_PORT 0x0CF8 3 | #define PCI_CONFIG_DATA_PORT 0x0CFC 4 | typedef unsigned long DWORD; 5 | 6 | void outport_long(int portNum,DWORD cmd); 7 | DWORD inport_long(int portNum); 8 | 9 | void main() 10 | { 11 | DWORD busNum,devNum,funNum; 12 | DWORD baseCmd=0x80000000,cmd; 13 | DWORD result=0; 14 | FILE *fp; 15 | fp=fopen("PCI.log","w+"); 16 | if(fp==NULL)return; 17 | printf("busNum Device funNum result\n"); 18 | fprintf(fp,"busNum Device funNum result\n"); 19 | for(busNum=0;busNum<256;busNum++)//for bus number 20 | for(devNum=0;devNum<32;devNum++)//for device id 21 | for(funNum=0;funNum<8;funNum++) 22 | { 23 | cmd=baseCmd|(busNum<<16)|(devNum<<11)|(funNum<<8); 24 | outport_long(PCI_CONFIG_ADDR_PORT,cmd); 25 | result=inport_long(PCI_CONFIG_DATA_PORT); 26 | if(result!=0xffffffff) 27 | { 28 | printf("%2llx %2llx %2llx 0x%llx\n",busNum,devNum,funNum,result); 29 | fprintf(fp,"%2llx %2llx %2llx 0x%llx\n",busNum,devNum,funNum,result); 30 | } 31 | } 32 | fclose(fp); 33 | } 34 | 35 | void outport_long(int portNum,DWORD cmd) 36 | { 37 | /* ifdef Dbug 38 | printf("-----In the outport Function-----------\n"); 39 | printf("this portNum is 0x%X\n",portNum); 40 | printf("this cmd is 0x%llx\n",cmd); 41 | endif*/ 42 | _asm{ 43 | push eax; 44 | push edx; 45 | mov dx,portNum; 46 | mov eax,cmd; 47 | out dx,eax; 48 | pop edx; 49 | pop eax; 50 | } 51 | } 52 | DWORD inport_long(int portNum) 53 | { 54 | /* printf("--------in the inport function----------\n"); 55 | printf("this portNum is 0x%X\n",portNum); 56 | */ 57 | DWORD result=0; 58 | _asm{ 59 | push eax; 60 | push edx; 61 | mov dx,portNum; 62 | in eax,dx; 63 | mov result,eax; 64 | pop edx; 65 | pop eax; 66 | } 67 | // printf("this result is %llX\n",result); 68 | return result; 69 | } 70 | -------------------------------------------------------------------------------- /backup/PCI.LOG: -------------------------------------------------------------------------------- 1 | busNum Device funNum result 2 | 0 0 0 0xc008086 3 | 0 1 0 0xc018086 4 | 0 2 0 0x4128086 5 | 0 3 0 0xc0c8086 6 | 0 14 0 0x8c318086 7 | 0 16 0 0x8c3a8086 8 | 0 19 0 0x153b8086 9 | 0 1a 0 0x8c2d8086 10 | 0 1b 0 0x8c208086 11 | 0 1c 0 0x8c108086 12 | 0 1c 5 0x244e8086 13 | 0 1d 0 0x8c268086 14 | 0 1f 0 0x8c5c8086 15 | 0 1f 2 0x8c028086 16 | 0 1f 3 0x8c228086 17 | 3 0 0 0x10801b21 18 | -------------------------------------------------------------------------------- /backup/PCIE.LOG: -------------------------------------------------------------------------------- 1 | ID address vID dID Width Speed Type 2 | 1.f8008000 8086 0c01 X16 2.0 Root Port of PCI Express Root Complex 3 | 2.f8018000 8086 0c0c X 0 0.0 Root Complex Integrated Endpoint 4 | 3.f80d8000 8086 8c20 X 0 0.0 Root Complex Integrated Endpoint 5 | 4.f80e0000 8086 8c10 X 1 2.0 Root Port of PCI Express Root Complex 6 | 5.f80e5000 8086 244e X 1 2.0 Root Port of PCI Express Root Complex 7 | -------------------------------------------------------------------------------- /test/Readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DOGSHITD/ASUSTekBiosTraining/02dbd044062119d36d20718fe8dee59c9ea56c51/test/Readme.txt -------------------------------------------------------------------------------- /test/kb.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #define PCI_CONF_ADDR_PORT 0xCF8 5 | #define PCI_CONF_DATA_PORT 0xCFC 6 | #define OUT 7 | #define IN 8 | #define BIT(i) (0x01<