4 #include <kern/types.h>
8 #include <System/Objects.h>
22 // Address Space and PC to return to
23 Mem::AddrSpace *ret_aspace;
26 // Caller's PIB Pointer
27 System::RunTime::ParamInfoBlock *caller_user_pib;
29 // Object and Method that were called -- it probably isn't strictly
30 // necessary to keep track of this here, but it'd help in doing a
31 // "traceforward" of the method invocation stack in order to
32 // debug a stalled method call.
37 struct CallStackHeader {
38 Threads::Thread *thread;
41 // Number of CallFrames under this header.
42 // For a full page, this is:
43 // (Arch::page_size - sizeof(CallStackHeader)) / sizeof(CallFrame)
44 // There is also a much smaller group of call frames in the Thread
45 // structure, so that an ORB stack page doesn't need to be allocated
46 // in the common case of shallow method nesting.