summaryrefslogtreecommitdiff
path: root/DuetPkg/BootSector
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2012-01-18 03:28:42 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2012-01-18 03:28:42 +0000
commite9a9efb8e516bb5d96aa122da5e3c257f3c7b9cc (patch)
tree906353055e7538139103a76a6d3313589ca0cecb /DuetPkg/BootSector
parent9a8e70ce6cbd1ccea850ef6e6a1784e240a2d594 (diff)
downloadedk2-platforms-e9a9efb8e516bb5d96aa122da5e3c257f3c7b9cc.tar.xz
DuetPkg BootSector: fix a bug in st32_64.S that the size for GDTR.limit is wrong.
Signed-off-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12934 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/BootSector')
-rw-r--r--DuetPkg/BootSector/st32_64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/DuetPkg/BootSector/st32_64.S b/DuetPkg/BootSector/st32_64.S
index 465b1cf9b2..18c53f81fa 100644
--- a/DuetPkg/BootSector/st32_64.S
+++ b/DuetPkg/BootSector/st32_64.S
@@ -601,7 +601,7 @@ Empty8042Loop:
.p2align 1
- gdtr: .long GDT_END - GDT_BASE - 1 # GDT limit
+ gdtr: .word GDT_END - GDT_BASE - 1 # GDT limit
.long 0 # (GDT base gets set above)
##############################################################################
# global descriptor table (GDT)