Searched refs:Bits (Results 1 - 25 of 101) sorted by relevance

12345

/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/
H A DX86GetInterruptState.c38 return (BOOLEAN)(1 == EFlags.Bits.IF);
H A DX86Thunk.c128 RealModeGdt[1].Bits.BaseLow =
130 RealModeGdt[1].Bits.BaseMid =
146 RealModeGdt[1].Bits.LimitHigh = 0;
147 RealModeGdt[1].Bits.G = 0;
148 RealModeGdt[2].Bits.LimitHigh = 0;
149 RealModeGdt[2].Bits.G = 0;
/vbox/src/VBox/Devices/EFI/Firmware/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/
H A DArchReadGroupRegister.c38 RegisterGroupSegBase->CsBas = (Ia32Gdt[Index].Bits.BaseLow) + (Ia32Gdt[Index].Bits.BaseMid << 16) + (Ia32Gdt[Index].Bits.BaseMid << 24);
40 RegisterGroupSegBase->SsBas = (Ia32Gdt[Index].Bits.BaseLow) + (Ia32Gdt[Index].Bits.BaseMid << 16) + (Ia32Gdt[Index].Bits.BaseMid << 24);
42 RegisterGroupSegBase->GsBas = (Ia32Gdt[Index].Bits.BaseLow) + (Ia32Gdt[Index].Bits.BaseMid << 16) + (Ia32Gdt[Index].Bits.BaseMid << 24);
44 RegisterGroupSegBase->FsBas = (Ia32Gdt[Index].Bits
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/UefiCpuPkg/Library/BaseXApicX2ApicLib/
H A DBaseXApicX2ApicLib.c148 } while (IcrLowReg.Bits.DeliveryStatus != 0);
183 ASSERT (ApicBaseMsr.Bits.En != 0);
184 if (ApicBaseMsr.Bits.Extd != 0) {
215 ApicBaseMsr.Bits.Extd = 1;
229 ApicBaseMsr.Bits.Extd = 0;
230 ApicBaseMsr.Bits.En = 0;
232 ApicBaseMsr.Bits.En = 1;
320 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_FIXED;
321 IcrLow.Bits.Level = 1;
322 IcrLow.Bits
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/UefiCpuPkg/Library/BaseXApicLib/
H A DBaseXApicLib.c108 } while (IcrLowReg.Bits.DeliveryStatus != 0);
137 ASSERT (ApicBaseMsr.Bits.En != 0);
138 ASSERT (ApicBaseMsr.Bits.Extd == 0);
237 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_FIXED;
238 IcrLow.Bits.Level = 1;
239 IcrLow.Bits.Vector = Vector;
259 IcrLow.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_FIXED;
260 IcrLow.Bits.Level = 1;
261 IcrLow.Bits.DestinationShorthand = LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF;
262 IcrLow.Bits
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/
H A DArchReadGroupRegister.c92 RegisterGroupSegBase->CsBas = (Ia32Gdt[Index].Bits.BaseLow) + (Ia32Gdt[Index].Bits.BaseMid << 16) + (Ia32Gdt[Index].Bits.BaseMid << 24);
94 RegisterGroupSegBase->SsBas = (Ia32Gdt[Index].Bits.BaseLow) + (Ia32Gdt[Index].Bits.BaseMid << 16) + (Ia32Gdt[Index].Bits.BaseMid << 24);
96 RegisterGroupSegBase->GsBas = (Ia32Gdt[Index].Bits.BaseLow) + (Ia32Gdt[Index].Bits.BaseMid << 16) + (Ia32Gdt[Index].Bits.BaseMid << 24);
98 RegisterGroupSegBase->FsBas = (Ia32Gdt[Index].Bits
[all...]
H A DArchDebugSupport.c242 IdtEntry[Index].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
243 IdtEntry[Index].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
244 IdtEntry[Index].Bits.OffsetUpper = (UINT32)((UINTN)InterruptHandler >> 32);
245 IdtEntry[Index].Bits.Selector = CodeSegment;
246 IdtEntry[Index].Bits.GateType = IA32_IDT_GATE_TYPE_INTERRUPT_32;
250 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetLow = (UINT16)(UINTN)InterruptHandler;
251 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetHigh = (UINT16)((UINTN)InterruptHandler >> 16);
252 IdtEntry[DEBUG_TIMER_VECTOR].Bits.OffsetUpper = (UINT32)((UINTN)InterruptHandler >> 32);
253 IdtEntry[DEBUG_TIMER_VECTOR].Bits.Selector = CodeSegment;
254 IdtEntry[DEBUG_TIMER_VECTOR].Bits
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg/Library/BaseIoApicLib/
H A DIoApicLib.c91 ASSERT (Version.Bits.MaximumRedirectionEntry < 0xF0);
92 ASSERT (Irq <= Version.Bits.MaximumRedirectionEntry);
95 Entry.Bits.Mask = Enable ? 0 : 1;
141 ASSERT (Version.Bits.MaximumRedirectionEntry < 0xF0);
142 ASSERT (Irq <= Version.Bits.MaximumRedirectionEntry);
147 Entry.Bits.Vector = (UINT8)Vector;
148 Entry.Bits.DeliveryMode = (UINT32)DeliveryMode;
149 Entry.Bits.DestinationMode = 0;
150 Entry.Bits.Polarity = AssertionLevel ? 0 : 1;
151 Entry.Bits
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/DxeIplPeim/X64/
H A DVirtualMemory.c145 PageMapLevel4Entry->Bits.ReadWrite = 1;
146 PageMapLevel4Entry->Bits.Present = 1;
156 PageDirectory1GEntry->Bits.ReadWrite = 1;
157 PageDirectory1GEntry->Bits.Present = 1;
158 PageDirectory1GEntry->Bits.MustBe1 = 1;
173 PageDirectoryPointerEntry->Bits.ReadWrite = 1;
174 PageDirectoryPointerEntry->Bits.Present = 1;
181 PageDirectoryEntry->Bits.ReadWrite = 1;
182 PageDirectoryEntry->Bits.Present = 1;
183 PageDirectoryEntry->Bits
[all...]
H A DVirtualMemory.h43 } Bits; member in union:__anon10948
72 } Bits; member in union:__anon10951
96 } Bits; member in union:__anon10953
120 } Bits; member in union:__anon10955
/vbox/src/VBox/Devices/EFI/Firmware/UefiCpuPkg/Include/Register/
H A DLocalApic.h72 } Bits; member in union:__anon13049
86 } Bits; member in union:__anon13051
105 } Bits; member in union:__anon13053
116 } Bits; member in union:__anon13055
131 } Bits; member in union:__anon13057
144 } Bits; member in union:__anon13059
160 } Bits; member in union:__anon13061
178 } Bits; member in union:__anon13063
193 } Bits; member in union:__anon13065
209 } Bits; member in union:__anon13067
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/DebugSupportDxe/X64/
H A DPlDebugSupportX64.c39 InterruptHandle = ((UINTN) IdtGateDecriptor->Bits.OffsetLow) |
40 (((UINTN) IdtGateDecriptor->Bits.OffsetHigh) << 16) |
41 (((UINTN) IdtGateDecriptor->Bits.OffsetUpper) << 32) ;
/vbox/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg/Include/Register/
H A DIoApic.h49 } Bits; member in union:__anon12641
59 } Bits; member in union:__anon12643
76 } Bits; member in union:__anon12645
H A DHpet.h53 } Bits; member in union:__anon12633
66 } Bits; member in union:__anon12635
89 } Bits; member in union:__anon12637
100 } Bits; member in union:__anon12639
/vbox/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg/HpetTimerDxe/
H A DHpetTimer.c280 mHpetGeneralConfiguration.Bits.MainCounterEnable = Enable ? 1 : 0;
388 mHpetGeneralCapabilities.Bits.CounterClockPeriod
533 if (mTimerConfiguration.Bits.MsiInterruptCapablity != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {
537 mTimerConfiguration.Bits.MsiInterruptEnable = 0;
548 mTimerConfiguration.Bits.InterruptEnable = 0;
558 mHpetGeneralCapabilities.Bits.CounterClockPeriod
579 if (mTimerConfiguration.Bits.MsiInterruptCapablity != 0 && FeaturePcdGet (PcdHpetMsiEnable)) {
584 HpetTimerMsiRoute.Bits.Address = GetApicMsiAddress ();
585 HpetTimerMsiRoute.Bits.Value = (UINT32)GetApicMsiValue (PcdGet8 (PcdHpetLocalApicVector), LOCAL_APIC_DELIVERY_MODE_LOWEST_PRIORITY, FALSE, FALSE);
590 mTimerConfiguration.Bits
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenPage/
H A DVirtualMemory.h52 } Bits; member in union:__anon10018
74 } Bits; member in union:__anon10020
96 } Bits; member in union:__anon10022
121 } Bits; member in union:__anon10024
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/wine/
H A Dlibrary.h129 ent->HighWord.Bits.BaseMid = (BYTE)((ULONG_PTR)base >> 16);
130 ent->HighWord.Bits.BaseHi = (BYTE)((ULONG_PTR)base >> 24);
134 if ((ent->HighWord.Bits.Granularity = (limit >= 0x100000))) limit >>= 12;
136 ent->HighWord.Bits.LimitHi = (limit >> 16);
141 (ULONG_PTR)ent->HighWord.Bits.BaseMid << 16 |
142 (ULONG_PTR)ent->HighWord.Bits.BaseHi << 24);
146 unsigned int limit = ent->LimitLow | (ent->HighWord.Bits.LimitHi << 16);
147 if (ent->HighWord.Bits.Granularity) limit = (limit << 12) | 0xfff;
152 ent->HighWord.Bits.Dpl = 3;
153 ent->HighWord.Bits
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/
H A Dlibrary.h129 ent->HighWord.Bits.BaseMid = (BYTE)((ULONG_PTR)base >> 16);
130 ent->HighWord.Bits.BaseHi = (BYTE)((ULONG_PTR)base >> 24);
134 if ((ent->HighWord.Bits.Granularity = (limit >= 0x100000))) limit >>= 12;
136 ent->HighWord.Bits.LimitHi = (limit >> 16);
141 (ULONG_PTR)ent->HighWord.Bits.BaseMid << 16 |
142 (ULONG_PTR)ent->HighWord.Bits.BaseHi << 24);
146 unsigned int limit = ent->LimitLow | (ent->HighWord.Bits.LimitHi << 16);
147 if (ent->HighWord.Bits.Granularity) limit = (limit << 12) | 0xfff;
152 ent->HighWord.Bits.Dpl = 3;
153 ent->HighWord.Bits
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/DebugSupportDxe/Ia32/
H A DPlDebugSupportIa32.c38 ((UINT16 *) &InterruptHandle)[0] = (UINT16) IdtGateDescriptor->Bits.OffsetLow;
39 ((UINT16 *) &InterruptHandle)[1] = (UINT16) IdtGateDescriptor->Bits.OffsetHigh;
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/
H A DSerial.c987 Mcr.Bits.Rts = 1;
996 if ((Lsr.Bits.Dr == 1) && !ReceiveFifoFull) {
999 if (Lsr.Bits.FIFOe == 1 || Lsr.Bits.Oe == 1 || Lsr.Bits.Pe == 1 || Lsr.Bits.Fe == 1 || Lsr.Bits.Bi == 1) {
1005 if (Lsr.Bits.FIFOe == 1 || Lsr.Bits.Pe == 1|| Lsr.Bits
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/
H A DAcpiS3Save.h38 } Bits; member in union:__anon10475
67 } Bits; member in union:__anon10478
91 } Bits; member in union:__anon10480
115 } Bits; member in union:__anon10482
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/libWine/
H A Dldt.c70 ptr->limit = entry->LimitLow | (entry->HighWord.Bits.LimitHi << 16);
71 ptr->seg_32bit = entry->HighWord.Bits.Default_Big;
72 ptr->contents = (entry->HighWord.Bits.Type >> 2) & 3;
73 ptr->read_exec_only = !(entry->HighWord.Bits.Type & 2);
74 ptr->limit_in_pages = entry->HighWord.Bits.Granularity;
75 ptr->seg_not_present = !entry->HighWord.Bits.Pres;
76 ptr->usable = entry->HighWord.Bits.Sys;
213 if (entry_copy.HighWord.Bits.Pres
214 && entry_copy.HighWord.Bits.Dpl != 3)
215 entry_copy.HighWord.Bits
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/EhciDxe/
H A DUsbHcMem.c58 Block->Bits = AllocateZeroPool (Block->BitsLen);
60 if (Block->Bits == NULL) {
115 gBS->FreePool (Block->Bits);
146 gBS->FreePool (Block->Bits);
186 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) {
215 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit));
217 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | USB_HC_BIT (Bit));
309 if (Block->Bits[Index] != 0) {
540 ASSERT (USB_HC_BIT_IS_SET (Block->Bits[Byt
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/UhciDxe/
H A DUsbHcMem.c57 Block->Bits = AllocateZeroPool (Block->BitsLen);
59 if (Block->Bits == NULL) {
114 gBS->FreePool (Block->Bits);
145 gBS->FreePool (Block->Bits);
185 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) {
214 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit));
216 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) USB_HC_BIT (Bit));
307 if (Block->Bits[Index] != 0) {
538 ASSERT (USB_HC_BIT_IS_SET (Block->Bits[Byt
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/OptionRomPkg/Application/BltLibSample/
H A DBltLibSample.c43 INTN Bits; local
56 Bits = HighBitSet64 (TscBits);
57 if (Bits > 0) {
58 Bits = Bits - 1;
60 R32 = (UINT32)((R32 << Bits) |
61 RShiftU64 (LShiftU64 (TscBits, (UINTN) (64 - Bits)), (UINTN) (64 - Bits)));
62 Found = Found + Bits;

Completed in 566 milliseconds

12345