]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lguest: switch segment-voodoo-numbers to readable symbols
authorJacek Galowicz <jacek@galowicz.de>
Sun, 4 Dec 2011 23:33:31 +0000 (10:33 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 4 Dec 2011 23:33:31 +0000 (10:33 +1100)
commitbbdfe288871945b3d7e10d4f21c8615058583487
tree52559657cfe4b51694d32d3fc7e08c8efd46018c
parente2fe4163e36947385b3581fa047ff2e7665f084a
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: Jacek Galowicz <jacek@galowicz.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/segments.c