Changeset 22079 in vbox for trunk/src/VBox/VMM/VMMGC
- Timestamp:
- Aug 7, 2009 4:26:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/HWACCMGCA.asm
r22040 r22079 232 232 ; * 233 233 ; */ 234 235 ; Load the guest LSTAR, CSTAR, SFMASK & KERNEL_GSBASE MSRs 236 ;; @todo use the automatic load feature for MSRs 237 LOADGUESTMSR MSR_K8_LSTAR, CPUMCTX.msrLSTAR 238 %if 0 ; not supported on Intel CPUs 239 LOADGUESTMSR MSR_K8_CSTAR, CPUMCTX.msrCSTAR 240 %endif 241 LOADGUESTMSR MSR_K6_STAR, CPUMCTX.msrSTAR 242 LOADGUESTMSR MSR_K8_SF_MASK, CPUMCTX.msrSFMASK 243 LOADGUESTMSR MSR_K8_KERNEL_GS_BASE, CPUMCTX.msrKERNELGSBASE 244 234 245 %ifdef VBOX_WITH_CRASHDUMP_MAGIC 235 246 mov qword [rbx + VMCSCACHE.uPos], 5 … … 297 308 298 309 pop rsi ; pCtx (needed in rsi by the macros below) 310 311 ;; @todo use the automatic load feature for MSRs 312 SAVEGUESTMSR MSR_K8_LSTAR, CPUMCTX.msrLSTAR 313 %if 0 ; not supported on Intel CPUs 314 SAVEGUESTMSR MSR_K8_CSTAR, CPUMCTX.msrCSTAR 315 %endif 316 SAVEGUESTMSR MSR_K6_STAR, CPUMCTX.msrSTAR 317 SAVEGUESTMSR MSR_K8_SF_MASK, CPUMCTX.msrSFMASK 318 SAVEGUESTMSR MSR_K8_KERNEL_GS_BASE, CPUMCTX.msrKERNELGSBASE 299 319 300 320 %ifdef VMX_USE_CACHED_VMCS_ACCESSES
Note:
See TracChangeset
for help on using the changeset viewer.