Changeset 61385 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Timestamp:
- Jun 1, 2016 6:34:57 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107696
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-rm-InitMemory.c
r60686 r61385 32 32 #include "bs3-cmn-memory.h" 33 33 #include <iprt/asm.h> 34 #include <VBox/VMMDevTesting.h> 34 35 35 36 … … 248 249 BS3_DECL(void) BS3_FAR_CODE Bs3InitMemory_rm_far(void) 249 250 { 250 uint16_t i; 251 uint16_t cPages; 252 uint32_t u32; 253 INT15E820ENTRY Entry; 251 uint16_t i; 252 uint16_t cPages; 253 uint32_t u32; 254 INT15E820ENTRY Entry; 255 uint32_t BS3_FAR *pu32Mmio; 254 256 255 257 /* … … 332 334 333 335 /* 336 * Check if we've got the VMMDev MMIO testing memory mapped above 1MB. 337 */ 338 pu32Mmio = (uint32_t BS3_FAR *)BS3_FP_MAKE(VMMDEV_TESTING_MMIO_RM_SEL, 339 VMMDEV_TESTING_MMIO_RM_OFF2(VMMDEV_TESTING_MMIO_OFF_NOP)); 340 if (*pu32Mmio == VMMDEV_TESTING_NOP_RET) 341 { 342 Bs3Printf("Memory: Found VMMDev MMIO testing region\n"); 343 if (!ASMBitTestAndSet(g_Bs3Mem4KUpperTiled.Core.bmAllocated, 1)) 344 g_Bs3Mem4KUpperTiled.Core.cFreeChunks--; 345 346 } 347 348 /* 334 349 * Initialize the slab lists. 335 350 */ -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h
r60777 r61385 3164 3164 * Basic CPU detection. 3165 3165 * 3166 * This sets the #g_ bBs3CpuDetected global variable to the return value.3166 * This sets the #g_uBs3CpuDetected global variable to the return value. 3167 3167 * 3168 3168 * @returns BS3CPU_XXX value with the BS3CPU_F_CPUID flag set depending on
Note:
See TracChangeset
for help on using the changeset viewer.