Questions about changing physical address width
"探思" <[email protected]> Thu, 22 Nov 2018 10:45:44 +0800
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, We want to change Bochs’ physical address width to 46bit. Could you give us any comments about how to do? Basically, we will change below macro in config.h to 46, #if BX_CPU_LEVEL == 5 #define BX_PHY_ADDRESS_WIDTH 36 #else #define BX_PHY_ADDRESS_WIDTH 40 #endif But we also notice code in paging.cc like below const Bit32u PAGING_PDE4M_RESERVED_BITS = ((1 << (41-BX_PHY_ADDRESS_WIDTH))-1) << (13 + BX_PHY_ADDRESS_WIDTH - 32); If we change BX_PHY_ADDRESS_WIDTH equal 46, (41-BX_PHY_ADDRESS_WIDTH) will be minus. What do you think about this? Best regards, --- Cliff _______________________________________________ bochs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bochs-developers