New cr2 registers and physical memory reading function
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1442
This commit is contained in:
parent
d46d87c72f
commit
22c885b09f
1 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,9 @@ void MEM_SetLFB(Bitu _page,Bitu _pages,HostPt _pt);
|
|||
void MEM_SetPageHandler(Bitu phys_page,Bitu pages,PageHandler * handler);
|
||||
void MEM_UnlinkPages(void);
|
||||
|
||||
Bit32u MEM_PhysReadD(Bitu addr);
|
||||
|
||||
|
||||
|
||||
|
||||
#pragma pack(1)
|
||||
|
@ -92,6 +95,7 @@ union X86PageEntry {
|
|||
|
||||
struct PagingBlock {
|
||||
Bitu cr3;
|
||||
Bitu cr2;
|
||||
struct {
|
||||
Bitu page;
|
||||
PhysPt addr;
|
||||
|
|
Loading…
Add table
Reference in a new issue