X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=kernel%2Farch%2Fx86%2Fmisc.cc;h=a458a563cbb4b83eaeb4ff41e6da41808eea8351;hp=3e0091a9aeb08c10e0986e719a05a695c4950e35;hb=139f54779f6395a1828261423cd8013ca940ff36;hpb=00929a1561b0f510a582f9876affa96e4fccb72a diff --git a/kernel/arch/x86/misc.cc b/kernel/arch/x86/misc.cc index 3e0091a..a458a56 100644 --- a/kernel/arch/x86/misc.cc +++ b/kernel/arch/x86/misc.cc @@ -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; +}