mirror of https://github.com/acidanthera/audk.git
OVMF VTF0 Reset Vector: Set 'accessed' bit in GDT descriptors
In some environments, the accessed bit should be set to allow the global descriptor table (GDT) to reside in unmodifiable flash memory. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9675 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e8d1b8d82e
commit
d22d1f535b
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -2,7 +2,7 @@
|
|||
; @file
|
||||
; Transition from 16 bit real mode into 32 bit flat protected mode
|
||||
;
|
||||
; Copyright (c) 2008 - 2009, Intel Corporation
|
||||
; Copyright (c) 2008 - 2010, Intel Corporation
|
||||
; All rights reserved. This program and the accompanying materials
|
||||
; are licensed and made available under the terms and conditions of the BSD License
|
||||
; which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -78,7 +78,7 @@ LINEAR_SEL equ $-GDT_BASE
|
|||
dw 0FFFFh ; limit 0xFFFFF
|
||||
dw 0 ; base 0
|
||||
db 0
|
||||
db 092h ; present, ring 0, data, expand-up, writable
|
||||
db 093h ; present, ring 0, data, expand-up, writable, accessed
|
||||
db 0CFh ; page-granular, 32-bit
|
||||
db 0
|
||||
|
||||
|
@ -87,7 +87,7 @@ LINEAR_CODE_SEL equ $-GDT_BASE
|
|||
dw 0FFFFh ; limit 0xFFFFF
|
||||
dw 0 ; base 0
|
||||
db 0
|
||||
db 09Ah ; present, ring 0, data, expand-up, writable
|
||||
db 09Bh ; present, ring 0, data, expand-up, writable, accessed
|
||||
db 0CFh ; page-granular, 32-bit
|
||||
db 0
|
||||
|
||||
|
@ -96,7 +96,7 @@ SYS_DATA_SEL equ $-GDT_BASE
|
|||
dw 0FFFFh ; limit 0xFFFFF
|
||||
dw 0 ; base 0
|
||||
db 0
|
||||
db 092h ; present, ring 0, data, expand-up, writable
|
||||
db 093h ; present, ring 0, data, expand-up, writable, accessed
|
||||
db 0CFh ; page-granular, 32-bit
|
||||
db 0
|
||||
|
||||
|
@ -105,7 +105,7 @@ SYS_CODE_SEL equ $-GDT_BASE
|
|||
dw 0FFFFh ; limit 0xFFFFF
|
||||
dw 0 ; base 0
|
||||
db 0
|
||||
db 09Ah ; present, ring 0, data, expand-up, writable
|
||||
db 09Bh ; present, ring 0, data, expand-up, writable, accessed
|
||||
db 0CFh ; page-granular, 32-bit
|
||||
db 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue