Skip to content
Commit 39082f7e authored by Jacek Galowicz's avatar Jacek Galowicz Committed by Rusty Russell
Browse files

lguest: switch segment-voodoo-numbers to readable symbols



When studying lguest's x86 segment descriptor code, it is not longer
necessary to have the Intel x86 architecture manual open on the page
with the segment descriptor illustration to understand the crazy
numbers assigned to both descriptor structure halves a/b.
Now the struct desc_struct's fields, like suggested by
Glauber de Oliveira Costa in 2008, are used.

Signed-off-by: default avatarJacek Galowicz <jacek@galowicz.de>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent e562966d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment