Home
last modified time | relevance | path

Searched refs:IntThunk (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/Ipf/
DThunk.c133 LOW_MEMORY_THUNK *IntThunk in RealModeTemplate() argument
167 LOW_MEMORY_THUNK *IntThunk; in LegacyBiosInitializeThunk() local
172 IntThunk = Private->IntThunk; in LegacyBiosInitializeThunk()
177 ZeroMem (&(IntThunk->RealModeGdt[0]), sizeof (GDT32)); in LegacyBiosInitializeThunk()
182 CodeGdt = &(IntThunk->RealModeGdt[1]); in LegacyBiosInitializeThunk()
205 Base = (*((UINT32 *) &IntThunk->Code)); in LegacyBiosInitializeThunk()
213 DataGdt = &(IntThunk->RealModeGdt[2]); in LegacyBiosInitializeThunk()
239 IntThunk->RealModeGdtDesc.Limit = (UINT16) (sizeof (IntThunk->RealModeGdt) - 1); in LegacyBiosInitializeThunk()
240 CopyMem (&IntThunk->RealModeGdtDesc.Base, (UINT32 *) &IntThunk->RealModeGdt, sizeof (UINT32)); in LegacyBiosInitializeThunk()
244 IntThunk->RealModeIdtDesc.Limit = 0xFFFF; in LegacyBiosInitializeThunk()
[all …]
DIpfThunk.h36 LOW_MEMORY_THUNK *IntThunk
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DLegacyPci.c951 Private->IntThunk->PciHandler.PciBus = (UINT8) PciBus; in InstallLegacyIrqHandler()
952 Private->IntThunk->PciHandler.PciDeviceFun = (UINT8) ((PciDevice << 3) + PciFunction); in InstallLegacyIrqHandler()
953 Private->IntThunk->PciHandler.PciSegment = (UINT8) PciSegment; in InstallLegacyIrqHandler()
954 Private->IntThunk->PciHandler.PciClass = PciConfigHeader->Hdr.ClassCode[2]; in InstallLegacyIrqHandler()
955 Private->IntThunk->PciHandler.PciSubclass = PciConfigHeader->Hdr.ClassCode[1]; in InstallLegacyIrqHandler()
956 Private->IntThunk->PciHandler.PciInterface = PciConfigHeader->Hdr.ClassCode[0]; in InstallLegacyIrqHandler()
964 …Private->IntThunk->PciHandler.PrimaryBusMaster = (UINT16)(PciConfigHeader->Device.Bar[4] & 0xfffc… in InstallLegacyIrqHandler()
966 Private->IntThunk->PciHandler.PrimaryIrq = PciIrq; in InstallLegacyIrqHandler()
967 …Private->IntThunk->PciHandler.PrimaryBase = (UINT16) (PciConfigHeader->Device.Bar[0] & 0xfffc); in InstallLegacyIrqHandler()
968 …Private->IntThunk->PciHandler.PrimaryControl = (UINT16) ((PciConfigHeader->Device.Bar[1] & 0xfffc… in InstallLegacyIrqHandler()
[all …]
DLegacyCmos.c112 if (Private->IntThunk->EfiToLegacy16InitTable.OsMemoryAbove1Mb < (15 * SIZE_1MB)) { in LegacyBiosInitCmos()
113 Size = Private->IntThunk->EfiToLegacy16InitTable.OsMemoryAbove1Mb >> 10; in LegacyBiosInitCmos()
DLegacyBios.c289 EfiToLegacy16BootTable = &Private->IntThunk->EfiToLegacy16BootTable; in ShadowAndStartLegacy16()
371 EfiToLegacy16InitTable = &Private->IntThunk->EfiToLegacy16InitTable; in ShadowAndStartLegacy16()
373 Private->Legacy16BootPtr = &Private->IntThunk->EfiToLegacy16BootTable; in ShadowAndStartLegacy16()
380 Private->HddTablePtr = &Private->IntThunk->EfiToLegacy16BootTable.HddInfo; in ShadowAndStartLegacy16()
550 BbsTable = (BBS_TABLE *)(UINTN)Private->IntThunk->BbsTable; in ShadowAndStartLegacy16()
551 ZeroMem ((VOID *)BbsTable, sizeof (Private->IntThunk->BbsTable)); in ShadowAndStartLegacy16()
560 for (Index = 0; Index < (sizeof (Private->IntThunk->BbsTable) / sizeof (BBS_TABLE)); Index++) { in ShadowAndStartLegacy16()
1043 Private->IntThunk = (LOW_MEMORY_THUNK *) (UINTN) MemoryAddress; in LegacyBiosInstall()
1044 EfiToLegacy16InitTable = &Private->IntThunk->EfiToLegacy16InitTable; in LegacyBiosInstall()
1099 Private->IntThunk->InterruptRedirectionCode, in LegacyBiosInstall()
[all …]
DLegacyBootSupport.c252 EfiToLegacy16BootTable = &Private->IntThunk->EfiToLegacy16BootTable; in UpdateSioData()
473 HddInfo = &Private->IntThunk->EfiToLegacy16BootTable.HddInfo[0]; in UpdateAllIdentifyDriveData()
894 EfiToLegacy16BootTable = &Private->IntThunk->EfiToLegacy16BootTable; in GenericLegacyBoot()
1157 (VOID *) &Private->IntThunk->EfiToLegacy16BootTable in GenericLegacyBoot()
1390 EfiToLegacy16BootTable = &Private->IntThunk->EfiToLegacy16BootTable; in LegacyBiosPrepareToBootEfi()
1395 *BbsCount = (UINT16) (sizeof (Private->IntThunk->BbsTable) / sizeof (BBS_TABLE)); in LegacyBiosPrepareToBootEfi()
1440 EfiToLegacy16BootTable = &Private->IntThunk->EfiToLegacy16BootTable; in LegacyBiosBootUnconventionalDevice()
1850 Private->IntThunk->EfiToLegacy16InitTable.NumberE820Entries = (UINT32)Index; in LegacyBiosBuildE820()
1851 Private->IntThunk->EfiToLegacy16BootTable.NumberE820Entries = (UINT32)Index; in LegacyBiosBuildE820()
1913 Private->IntThunk->EfiToLegacy16InitTable.NumberE820Entries = (UINT32)Index; in LegacyBiosBuildE820()
[all …]
DLegacyBbs.c195 HddInfo = &Private->IntThunk->EfiToLegacy16BootTable.HddInfo[0]; in LegacyBiosBuildBbs()
305 EfiToLegacy16BootTable = &Private->IntThunk->EfiToLegacy16BootTable; in LegacyBiosGetBbsInfo()
382 *BbsCount = (UINT16) (sizeof (Private->IntThunk->BbsTable) / sizeof (BBS_TABLE)); in LegacyBiosGetBbsInfo()
DLegacyBiosInterface.h597 LOW_MEMORY_THUNK *IntThunk; member
1229 LOW_MEMORY_THUNK *IntThunk
DThunk.c367 MemoryAddress = (EFI_PHYSICAL_ADDRESS) (UINTN) Private->IntThunk; in LegacyBiosInitializeThunk()
DLegacySio.c452 SioPtr = &Private->IntThunk->EfiToLegacy16BootTable.SioData; in LegacyBiosBuildSioData()