- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check out the Intel 64 and IA-32 Architectures Software Developer's Manual Volume 3A: System Programming Guide at
http://www.intel.com/products/processor/manuals/
In particular, seeSection 3.8, Figure 3-20. Above the figure, the 2nd bullet from the top of the page gives the maxphyaddr value as 36.
David Ott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Answer: no
"A CPU can support 32-bit with PAE on, and doesn't support IA32e; when it works on 32-bit PAE mode, the 64:32 of the 64-bit controls must be zero??"
Answer: yes
"Does this imply 32-bit PAE VMM must allocate the machine physical page for the 64-bit controls only below 4G?"
Answer: This is true unless the VMM checks first to see if the CPU supports IA-32e mode; if the CPU does, the VMM can locate the pages above 4GB. (By "the machine physical page for the 64-bit controls," I assume you mean physical pages referenced by the relevant 64-bit addresses that are controls in the VMCS.)
David Ott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
Hoping someone can help. I am working on getting an OS booted in VMM
mode on an intel processor. I am using OWC 17 as the compiler(does not support Intel vmx instruction set). So far I have paging enabled and working. (32 bit mode with segmentation
enabled). I checked the cpuid for the processor I am using and it does
support VMX. I allocate a region in memory equal to size shown in
IA32_VMX_BASIC_MSR (bits44:32) = 800 so I set it up as 2048 = 2k
region size and set the VMCS revision Identifier as shown in bits 31:0
of this msr = 13 (on my test processor). It is 4k aligned region. My
vmxon address is 66c000 (looks ok). Control Registers:
CR0 = 8001003b
CR4 = 2200
IA32_FEATURE_CONTROL MSR = 0xd
IA32_EFER.LMA = 0x0
EFLAGS = 246
A20 = 0x0
Then when I call vmxon I get interrupt 13 a GP - seems to not like my
memory reference to the vmxon region?
Watcom does not have support for the Intel VMX instruction set so had
to add lib with opcode for vmxon
unsigned long long vmxon_region;
void __near vmxon(void);
#pragma aux vmxon = \
"nop" \
"nop" \
"push ebx" \
"mov ebx, offset vmxon_region" \
"nop" \
"nop" \
0xF3 0x0F 0xC7 0x33 \
"nop" \
"nop" \
"pop ebx" \
"nop" \
"nop";
I assign the 32 bit addres to vmxon_region (a 64 bit long long) in
another function and then call vmxon. I am not real clear about how
vmxon works does it take indirect or direct address? Tried both and
haven't gotten anything but GP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update: Ignore this, it is enabled.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page