/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
D | Thunk.c | 57 IN EFI_IA32_REGISTER_SET *Regs in LegacyBiosInt86() argument 62 Regs->X.Flags.Reserved1 = 1; in LegacyBiosInt86() 63 Regs->X.Flags.Reserved2 = 0; in LegacyBiosInt86() 64 Regs->X.Flags.Reserved3 = 0; in LegacyBiosInt86() 65 Regs->X.Flags.Reserved4 = 0; in LegacyBiosInt86() 66 Regs->X.Flags.IOPL = 3; in LegacyBiosInt86() 67 Regs->X.Flags.NT = 0; in LegacyBiosInt86() 68 Regs->X.Flags.IF = 0; in LegacyBiosInt86() 69 Regs->X.Flags.TF = 0; in LegacyBiosInt86() 70 Regs->X.Flags.CF = 0; in LegacyBiosInt86() [all …]
|
D | LegacyBios.c | 125 EFI_IA32_REGISTER_SET Regs; in LegacyBiosGetLegacyRegion() local 132 ZeroMem (&Regs, sizeof (EFI_IA32_REGISTER_SET)); in LegacyBiosGetLegacyRegion() 133 Regs.X.AX = Legacy16GetTableAddress; in LegacyBiosGetLegacyRegion() 134 Regs.X.BX = (UINT16) Region; in LegacyBiosGetLegacyRegion() 135 Regs.X.CX = (UINT16) LegacyMemorySize; in LegacyBiosGetLegacyRegion() 136 Regs.X.DX = (UINT16) Alignment; in LegacyBiosGetLegacyRegion() 141 &Regs, in LegacyBiosGetLegacyRegion() 146 if (Regs.X.AX == 0) { in LegacyBiosGetLegacyRegion() 147 *LegacyMemoryAddress = (VOID *) (UINTN) ((Regs.X.DS << 4) + Regs.X.BX); in LegacyBiosGetLegacyRegion() 229 EFI_IA32_REGISTER_SET Regs; in ShadowAndStartLegacy16() local [all …]
|
D | LegacyBootSupport.c | 649 EFI_IA32_REGISTER_SET Regs; in LegacyGetDataOrTable() local 692 ZeroMem (&Regs, sizeof (EFI_IA32_REGISTER_SET)); in LegacyGetDataOrTable() 693 Regs.X.AX = Legacy16GetTableAddress; in LegacyGetDataOrTable() 694 Regs.X.CX = (UINT16) TableSize; in LegacyGetDataOrTable() 695 Regs.X.BX = (UINT16) Location; in LegacyGetDataOrTable() 696 Regs.X.DX = (UINT16) Alignment; in LegacyGetDataOrTable() 701 &Regs, in LegacyGetDataOrTable() 706 if (Regs.X.AX != 0) { in LegacyGetDataOrTable() 723 Regs.X.DS, in LegacyGetDataOrTable() 724 Regs.X.BX in LegacyGetDataOrTable() [all …]
|
D | LegacyBbs.c | 292 EFI_IA32_REGISTER_SET Regs; in LegacyBiosGetBbsInfo() local 348 ZeroMem (&Regs, sizeof (EFI_IA32_REGISTER_SET)); in LegacyBiosGetBbsInfo() 349 Regs.X.AX = Legacy16UpdateBbs; in LegacyBiosGetBbsInfo() 355 Regs.X.ES = NORMALIZE_EFI_SEGMENT ((UINT32) TempData); in LegacyBiosGetBbsInfo() 356 Regs.X.BX = NORMALIZE_EFI_OFFSET ((UINT32) TempData); in LegacyBiosGetBbsInfo() 362 &Regs, in LegacyBiosGetBbsInfo() 370 if (Regs.X.AX != 0) { in LegacyBiosGetBbsInfo()
|
D | LegacyPci.c | 793 EFI_IA32_REGISTER_SET Regs; in CopyPirqTable() local 809 ZeroMem (&Regs, sizeof (EFI_IA32_REGISTER_SET)); in CopyPirqTable() 811 Regs.X.AX = Legacy16GetTableAddress; in CopyPirqTable() 812 Regs.X.CX = (UINT16) PirqTableSize; in CopyPirqTable() 816 Regs.X.BX = (UINT16) 0x1; in CopyPirqTable() 821 Regs.X.DX = 0x10; in CopyPirqTable() 826 &Regs, in CopyPirqTable() 831 Private->Legacy16Table->IrqRoutingTablePointer = (UINT32) (Regs.X.DS * 16 + Regs.X.BX); in CopyPirqTable() 832 if (Regs.X.AX != 0) { in CopyPirqTable() 906 EFI_IA32_REGISTER_SET Regs; in InstallLegacyIrqHandler() local [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/ |
D | Thunk.c | 61 IN EFI_IA32_REGISTER_SET *Regs, in BiosIntCall() argument 75 DwordRegs.Ds = Regs->X.DS; in BiosIntCall() 76 DwordRegs.Es = Regs->X.ES; in BiosIntCall() 77 DwordRegs.Fs = Regs->X.ES; in BiosIntCall() 78 DwordRegs.Gs = Regs->X.ES; in BiosIntCall() 81 DwordRegs.Eax = Regs->X.AX; in BiosIntCall() 82 DwordRegs.Ebx = Regs->X.BX; in BiosIntCall() 87 DwordRegs.Ecx = Regs->E.ECX; in BiosIntCall() 88 DwordRegs.Edx = Regs->X.DX; in BiosIntCall() 90 DwordRegs.Ebp = Regs->X.BP; in BiosIntCall() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/ |
D | BiosInt13.c | 143 EFI_IA32_REGISTER_SET Regs; in Int13GetDeviceParameters() local 145 ZeroMem (&Regs, sizeof (EFI_IA32_REGISTER_SET)); in Int13GetDeviceParameters() 147 Regs.H.AH = 0x08; in Int13GetDeviceParameters() 148 Regs.H.DL = Drive->Number; in Int13GetDeviceParameters() 149 CarryFlag = BiosBlockIoDev->LegacyBios->Int86 (BiosBlockIoDev->LegacyBios, 0x13, &Regs); in Int13GetDeviceParameters() 150 …13GetDeviceParameters: INT 13 08 DL=%02x : CF=%d AH=%02x\n", Drive->Number, CarryFlag, Regs.H.AH)); in Int13GetDeviceParameters() 151 if (CarryFlag != 0 || Regs.H.AH != 0x00) { in Int13GetDeviceParameters() 152 Drive->ErrorCode = Regs.H.AH; in Int13GetDeviceParameters() 157 if (Regs.H.BL == 0x10) { in Int13GetDeviceParameters() 160 Drive->MaxHead = Regs.H.DH; in Int13GetDeviceParameters() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/BiosVideoThunkDxe/ |
D | LegacyBiosThunk.c | 139 IN IA32_REGISTER_SET *Regs in LegacyBiosInt86() argument 159 ThunkRegSet.E.EDI = Regs->E.EDI; in LegacyBiosInt86() 160 ThunkRegSet.E.ESI = Regs->E.ESI; in LegacyBiosInt86() 161 ThunkRegSet.E.EBP = Regs->E.EBP; in LegacyBiosInt86() 162 ThunkRegSet.E.EBX = Regs->E.EBX; in LegacyBiosInt86() 163 ThunkRegSet.E.EDX = Regs->E.EDX; in LegacyBiosInt86() 164 ThunkRegSet.E.ECX = Regs->E.ECX; in LegacyBiosInt86() 165 ThunkRegSet.E.EAX = Regs->E.EAX; in LegacyBiosInt86() 166 ThunkRegSet.E.DS = Regs->E.DS; in LegacyBiosInt86() 167 ThunkRegSet.E.ES = Regs->E.ES; in LegacyBiosInt86() [all …]
|
D | BiosVideo.c | 602 IA32_REGISTER_SET Regs; in BiosVideoChildHandleUninstall() local 684 gBS->SetMem (&Regs, sizeof (Regs), 0); in BiosVideoChildHandleUninstall() 689 Regs.H.AH = 0x00; in BiosVideoChildHandleUninstall() 690 Regs.H.AL = 0x03; in BiosVideoChildHandleUninstall() 691 LegacyBiosInt86 (BiosVideoPrivate, 0x10, &Regs); in BiosVideoChildHandleUninstall() 693 Regs.H.AH = 0x11; in BiosVideoChildHandleUninstall() 694 Regs.H.AL = 0x14; in BiosVideoChildHandleUninstall() 695 Regs.H.BL = 0; in BiosVideoChildHandleUninstall() 696 LegacyBiosInt86 (BiosVideoPrivate, 0x10, &Regs); in BiosVideoChildHandleUninstall() 1034 IA32_REGISTER_SET Regs; in BiosVideoCheckForVbe() local [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/ |
D | BiosVideo.c | 848 EFI_IA32_REGISTER_SET Regs; in BiosVideoChildHandleUninstall() local 892 Regs.H.AH = 0x00; in BiosVideoChildHandleUninstall() 893 Regs.H.AL = 0x03; in BiosVideoChildHandleUninstall() 894 BiosVideoPrivate->LegacyBios->Int86 (BiosVideoPrivate->LegacyBios, 0x10, &Regs); in BiosVideoChildHandleUninstall() 896 Regs.H.AH = 0x11; in BiosVideoChildHandleUninstall() 897 Regs.H.AL = 0x14; in BiosVideoChildHandleUninstall() 898 Regs.H.BL = 0; in BiosVideoChildHandleUninstall() 899 BiosVideoPrivate->LegacyBios->Int86 (BiosVideoPrivate->LegacyBios, 0x10, &Regs); in BiosVideoChildHandleUninstall() 1292 EFI_IA32_REGISTER_SET Regs; in BiosVideoCheckForVbe() local 1360 gBS->SetMem (&Regs, sizeof (Regs), 0); in BiosVideoCheckForVbe() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeSalLibEsal/ |
D | DxeSalLibEsal.c | 61 SAL_RETURN_REGS Regs; in SalCall() local 66 Regs.r9 = 0; in SalCall() 67 Regs.r10 = 0; in SalCall() 68 Regs.r11 = 0; in SalCall() 69 Regs.Status = EFI_SAL_INVALID_ARGUMENT; in SalCall() 283 return Regs; in SalCall()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeExtendedSalLib/ |
D | ExtendedSalLib.c | 432 SAL_RETURN_REGS Regs; in EsalGetStateBuffer() local 434 Regs = EsalCall ( in EsalGetStateBuffer() 447 *McaBuffer = (UINT8 *) Regs.r9; in EsalGetStateBuffer() 448 *BufferSize = Regs.r10; in EsalGetStateBuffer() 450 return Regs; in EsalGetStateBuffer() 948 SAL_RETURN_REGS Regs; in EsalMcaGetStateInfo() local 950 Regs = EsalCall ( in EsalMcaGetStateInfo() 963 *StateBufferPointer = (EFI_PHYSICAL_ADDRESS) Regs.r9; in EsalMcaGetStateInfo() 964 *RequiredStateBufferSize = (UINT64) Regs.r10; in EsalMcaGetStateInfo() 966 return Regs; in EsalMcaGetStateInfo()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeRuntimeExtendedSalLib/ |
D | ExtendedSalLib.c | 555 SAL_RETURN_REGS Regs; in EsalGetStateBuffer() local 557 Regs = EsalCall ( in EsalGetStateBuffer() 570 *McaBuffer = (UINT8 *) Regs.r9; in EsalGetStateBuffer() 571 *BufferSize = Regs.r10; in EsalGetStateBuffer() 573 return Regs; in EsalGetStateBuffer() 1071 SAL_RETURN_REGS Regs; in EsalMcaGetStateInfo() local 1073 Regs = EsalCall ( in EsalMcaGetStateInfo() 1086 *StateBufferPointer = (EFI_PHYSICAL_ADDRESS) Regs.r9; in EsalMcaGetStateInfo() 1087 *RequiredStateBufferSize = (UINT64) Regs.r10; in EsalMcaGetStateInfo() 1089 return Regs; in EsalMcaGetStateInfo()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/LegacyBiosThunk/ |
D | LegacyBiosThunk.h | 56 IN OUT EFI_IA32_REGISTER_SET * Regs 85 IN EFI_IA32_REGISTER_SET * Regs,
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/ |
D | BiosKeyboard.c | 202 EFI_IA32_REGISTER_SET Regs; in BiosKeyboardDriverBindingStart() local 409 Regs.H.AH = 0xc0; in BiosKeyboardDriverBindingStart() 413 &Regs in BiosKeyboardDriverBindingStart() 421 if (*(UINT8 *)(UINTN) ((Regs.X.ES << 4) + Regs.X.BX + 0x06) & 0x40) { in BiosKeyboardDriverBindingStart() 425 Regs.H.AH = 0x09; in BiosKeyboardDriverBindingStart() 429 &Regs in BiosKeyboardDriverBindingStart() 437 if ((Regs.H.AL & 0x40) != 0) { in BiosKeyboardDriverBindingStart() 1753 EFI_IA32_REGISTER_SET Regs; in BiosKeyboardTimerHandler() local 1771 Regs.H.AH = 0x11; in BiosKeyboardTimerHandler() 1773 Regs.H.AH = 0x01; in BiosKeyboardTimerHandler() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/CpuIA32Lib/IA32/ |
D | CpuIA32.c | 173 OUT EFI_CPUID_REGISTER *Regs 182 mov edi, DWORD PTR Regs
|
D | CpuIA32.S | 211 # OUT EFI_CPUID_REGISTER *Regs 222 movl 0x38(%esp), %edi # DWORD PTR Regs
|
D | CpuIA32.asm | 200 ; OUT EFI_CPUID_REGISTER *Regs 208 mov edi, dword ptr [esp + 38h] ; DWORD PTR Regs
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Library/ |
D | CpuIA32.h | 204 OUT EFI_CPUID_REGISTER *Regs 224 OUT EFI_CPUID_REGISTER *Regs
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/IA32/ |
D | CpuIA32.c | 161 OUT EFI_CPUID_REGISTER *Regs in EfiCpuidExt() argument 170 mov edi, DWORD PTR Regs in EfiCpuidExt()
|
D | CpuIA32.S | 199 # OUT EFI_CPUID_REGISTER *Regs 210 movl 0x38(%esp), %edi # DWORD PTR Regs
|
D | CpuIA32.asm | 182 ; OUT EFI_CPUID_REGISTER *Regs 190 mov edi, dword ptr [esp + 38h] ; DWORD PTR Regs
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Cpu/Pentium/Include/ |
D | CpuIA32.h | 185 OUT EFI_CPUID_REGISTER *Regs 203 OUT EFI_CPUID_REGISTER *Regs
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/X64/ |
D | CpuFuncs.h | 246 OUT EFI_CPUID_REGISTER *Regs
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/Ia32/ |
D | CpuFuncs.h | 244 OUT EFI_CPUID_REGISTER *Regs
|