commit | 74bfbe1ba5ba99adccdc26dc4adbfb9221849310 | [log] [tgz] |
---|---|---|
author | Graeme Russ <graeme.russ@gmail.com> | Thu Dec 29 21:45:33 2011 +1100 |
committer | Graeme Russ <graeme.russ@gmail.com> | Wed Jan 04 22:17:19 2012 +1100 |
tree | 93436c43ffe77de71278ca34b775199a902197ec | |
parent | 109ad143f8f2a948dc6628f55dbb6a8905087bfe [diff] |
x86: Rework Global Descriptor Table loading The inline assembler is ugly and uses hard coded magic numbers. Make it more elegant to allow cleaner implementation of future GDT related patches. The compiler seems smart enough to generate the same code anyway -- Changes for v2: - Rebased against revised patch #3 - Use GDT size define instead of magic number - Added commit message