X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Flowlevel.asm;h=fe3b61ba659a648fc4d7a6ea80f72e17215b17c2;hb=271ad3fd89672d441db3c5ffa673ee649e4ce532;hp=9869d9faae2030bd11bcc7078c72a1792b6fbfa6;hpb=4939ecae04ce6416f404670640620a23aee9b914;p=palacios.git diff --git a/palacios/src/geekos/lowlevel.asm b/palacios/src/geekos/lowlevel.asm index 9869d9f..fe3b61b 100644 --- a/palacios/src/geekos/lowlevel.asm +++ b/palacios/src/geekos/lowlevel.asm @@ -2,7 +2,7 @@ ; Low level interrupt/thread handling code for GeekOS. ; Copyright (c) 2001,2003,2004 David H. Hovemeyer ; Copyright (c) 2003, Jeffrey K. Hollingsworth -; $Revision: 1.4 $ +; $Revision: 1.5 $ ; This is free software. You are permitted to use, ; redistribute, and modify it as specified in the file "COPYING". @@ -171,9 +171,11 @@ EXPORT cpuid_edx EXPORT Set_MSR EXPORT Get_MSR + EXPORT Get_CR2 EXPORT Get_CR3 + EXPORT Proc_test ; ---------------------------------------------------------------------- @@ -373,6 +375,7 @@ Get_MSR: + align 8 Get_CR2: mov eax, cr2