X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=kernel%2Forb%2Finvoke.cc;h=27a1ebe1612a2a1a1ffc7e2fec0f8888c38ff5b7;hp=57097c55e0bc15a2500e3887eada0c677c8b533a;hb=0c52a8435aa399781856869daa7ef30cef14fad5;hpb=b4bfc871337ca32ce83407916a87db2524729ca9 diff --git a/kernel/orb/invoke.cc b/kernel/orb/invoke.cc index 57097c5..27a1ebe 100644 --- a/kernel/orb/invoke.cc +++ b/kernel/orb/invoke.cc @@ -16,7 +16,10 @@ #include #include #include +#include + #include + #include using System::RunTime::ParamInfoBlock; @@ -44,17 +47,14 @@ namespace ORB { return &hdr->frames[++thread->orbstack_top]; } - u32 IDSpace::rlookup(Object *obj) + ObjectHdr *IDSpace::get_local_hdr(Object *obj) { -#if 0 - ObjectHdr *hdr = idtree.find(obj); + ObjectHdr *hdr = idrmap.lookup(obj->id); if (!hdr) return 0; return hdr->id; -#endif - return 0; } }