News for hackers. Stuff that matters.
Re:Writing an OS in Rust: Catching CPU Exceptions by jleahy on Sunday May 29, 2016 @02:49AM (#11795214)
No, LGDT is actually an instruction (like MOV or ADD). You'll be hard-pressed to get a C compiler to emit that without using inline assembly.

http://x86.renejeschke.de/html/file_module_x86_id_156.html

Re:Writing an OS in Rust: Catching CPU Exceptions by bogomipz on Sunday May 29, 2016 @10:06AM (#11796411)
Thanks