mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56:16 +00:00
[NTVDM]
Give the virtual machine 16 MB of memory, for DOS extenders, protected mode programs, etc... EMS is still not implemented. svn path=/branches/ntvdm/; revision=60937
This commit is contained in:
parent
e3c68b1796
commit
442302eeb3
|
@ -25,7 +25,7 @@
|
|||
#define TO_LINEAR(seg, off) (((seg) << 4) + (off))
|
||||
#define MAX_SEGMENT 0xFFFF
|
||||
#define MAX_OFFSET 0xFFFF
|
||||
#define MAX_ADDRESS TO_LINEAR(MAX_SEGMENT, MAX_OFFSET)
|
||||
#define MAX_ADDRESS 0x1000000 // 16 MB of RAM
|
||||
|
||||
#define FAR_POINTER(x) \
|
||||
(PVOID)((ULONG_PTR)BaseAddress + TO_LINEAR(HIWORD(x), LOWORD(x)))
|
||||
|
|
Loading…
Reference in a new issue