xen-locore: fix size in GDT descriptor
There was an off-by-one in the GDT descriptor size field used by the early Xen boot code. The GDT descriptor size should be the size of the GDT minus one. No functional change expected as a result of this change. Sponsored by: Citrix Systems R&D
This commit is contained in:
parent
a0462670ff
commit
fa1cd03393
@ -207,7 +207,7 @@ PT2:
|
||||
|
||||
/* 64bit GDT */
|
||||
gdtdesc:
|
||||
.word gdtend - gdt
|
||||
.word gdtend - gdt - 1
|
||||
.long VTOP(gdt) # low
|
||||
.long 0 # high
|
||||
gdt:
|
||||
@ -221,7 +221,7 @@ gdtend:
|
||||
|
||||
/* 32bit GDT */
|
||||
gdtdesc32:
|
||||
.word gdt32end - gdt32
|
||||
.word gdt32end - gdt32 - 1
|
||||
.long VTOP(gdt32)
|
||||
.long 0
|
||||
gdt32:
|
||||
|
Loading…
x
Reference in New Issue
Block a user