]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm
OVMF VTF0 Reset Vector: Set 'accessed' bit in GDT descriptors
[mirror_edk2.git] / OvmfPkg / ResetVector / Ia16 / 16RealTo32Flat.asm
index 47e3c6d9297abbb363982df90e559b3f16b90cb8..d4416ce85e76afccf0b1fbf32f76f7f3d9f229c4 100644 (file)
@@ -2,7 +2,7 @@
 ; @file\r
 ; Transition from 16 bit real mode into 32 bit flat protected mode\r
 ;\r
-; Copyright (c) 2008 - 2009, Intel Corporation\r
+; Copyright (c) 2008 - 2010, Intel Corporation\r
 ; All rights reserved. This program and the accompanying materials\r
 ; are licensed and made available under the terms and conditions of the BSD License\r
 ; which accompanies this distribution.  The full text of the license may be found at\r
@@ -78,7 +78,7 @@ LINEAR_SEL      equ $-GDT_BASE
     dw      0FFFFh       ; limit 0xFFFFF\r
     dw      0            ; base 0\r
     db      0\r
-    db      092h         ; present, ring 0, data, expand-up, writable\r
+    db      093h         ; present, ring 0, data, expand-up, writable, accessed\r
     db      0CFh         ; page-granular, 32-bit\r
     db      0\r
 \r
@@ -87,7 +87,7 @@ LINEAR_CODE_SEL equ $-GDT_BASE
     dw      0FFFFh       ; limit 0xFFFFF\r
     dw      0            ; base 0\r
     db      0\r
-    db      09Ah         ; present, ring 0, data, expand-up, writable\r
+    db      09Bh         ; present, ring 0, data, expand-up, writable, accessed\r
     db      0CFh         ; page-granular, 32-bit\r
     db      0\r
 \r
@@ -96,7 +96,7 @@ SYS_DATA_SEL    equ $-GDT_BASE
     dw      0FFFFh       ; limit 0xFFFFF\r
     dw      0            ; base 0\r
     db      0\r
-    db      092h         ; present, ring 0, data, expand-up, writable\r
+    db      093h         ; present, ring 0, data, expand-up, writable, accessed\r
     db      0CFh         ; page-granular, 32-bit\r
     db      0\r
 \r
@@ -105,7 +105,7 @@ SYS_CODE_SEL    equ $-GDT_BASE
     dw      0FFFFh       ; limit 0xFFFFF\r
     dw      0            ; base 0\r
     db      0\r
-    db      09Ah         ; present, ring 0, data, expand-up, writable\r
+    db      09Bh         ; present, ring 0, data, expand-up, writable, accessed\r
     db      0CFh         ; page-granular, 32-bit\r
     db      0\r
 \r