Changeset 2749 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- May 21, 2007 4:31:41 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 21352
- Location:
- trunk/src/VBox/Devices/PC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r2640 r2749 1710 1710 */ 1711 1711 uint32_t u32Eax, u32Ebx, u32Ecx, u32Edx; 1712 PDMDevHlp QueryCPUId(pDevIns, 0, &u32Eax, &u32Ebx, &u32Ecx, &u32Edx);1712 PDMDevHlpGetCpuId(pDevIns, 0, &u32Eax, &u32Ebx, &u32Ecx, &u32Edx); 1713 1713 if (u32Eax >= 1) 1714 1714 { -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r2651 r2749 732 732 } 733 733 734 734 735 /** 735 736 * Construct the DMI table. … … 815 816 } 816 817 818 817 819 /** 818 820 * Construct the MPS table. Only applicable if IOAPIC is active. … … 843 845 uint32_t u32CPUSignature = 0x0520; /* default: Pentium 100 */ 844 846 uint32_t u32FeatureFlags = 0x0001; /* default: FPU */ 845 PDMDevHlp QueryCPUId(pDevIns, 0, &u32Eax, &u32Ebx, &u32Ecx, &u32Edx);847 PDMDevHlpGetCpuId(pDevIns, 0, &u32Eax, &u32Ebx, &u32Ecx, &u32Edx); 846 848 if (u32Eax >= 1) 847 849 { 848 PDMDevHlp QueryCPUId(pDevIns, 1, &u32Eax, &u32Ebx, &u32Ecx, &u32Edx);850 PDMDevHlpGetCpuId(pDevIns, 1, &u32Eax, &u32Ebx, &u32Ecx, &u32Edx); 849 851 u32CPUSignature = u32Eax & 0xfff; 850 852 /* Local APIC will be enabled later so override it here. Since we provide … … 883 885 884 886 PMPSIOIRQENTRY pIrqEntry = (PMPSIOIRQENTRY)(pIOAPICEntry+1); 885 for (int i =0; i<16; i++, pIrqEntry++)887 for (int i = 0; i < 16; i++, pIrqEntry++) 886 888 { 887 889 pIrqEntry->u8EntryType = 3; /* I/O interrupt entry */
Note:
See TracChangeset
for help on using the changeset viewer.