]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - kernel/arch/x86/misc.cc
Random stuff.
[polintos/scott/priv.git] / kernel / arch / x86 / misc.cc
index 3e0091a9aeb08c10e0986e719a05a695c4950e35..a458a563cbb4b83eaeb4ff41e6da41808eea8351 100644 (file)
@@ -253,11 +253,13 @@ namespace Priv {
                union {
                        System::RunTime::ParamInfoBlock *pib;
                        uintptr_t exptr;
+                       uintptr_t arg0;
                };
                
                union {
                        uintptr_t caller;
                        size_t exlen;
+                       uintptr_t arg1;
                };
                
                ulong eip, cs, eflags, user_esp, user_ss;
@@ -298,3 +300,15 @@ extern "C" void x86_return_from_method(Arch::Priv::OrbRegs *regs)
        assert(regs->cs & 3);
        regs->user_esp = ORB::return_from_method(regs->exptr, regs->exlen);
 }
+
+extern "C" void x86_new_object(Arch::Priv::OrbRegs *regs)
+{
+       assert(regs->cs & 3);
+       regs->arg0 = 0;
+}
+
+extern "C" void x86_get_iface_hash(Arch::Priv::OrbRegs *regs)
+{
+       assert(regs->cs & 3);
+       regs->arg0 = 0;
+}