Hello,
I attempted to add the following function to Thread:
Trap_state *get_trap_state();
it is prototyped as public, and defined below in the interface ipc-exception section of thread.cpp as -- public: inline Trap_state *get_trap_state(); -- inline Trap_state *Thread::get_trap_state() { return (Trap_state*)this->_utcb_handler; } --
I then try to use it in Thread::do_send (in thread-ipc.cpp)
I get the following compile error message: -- thread-ipc.o(.text._ZN6Thread7do_sendEPS_10L4_timeoutP13Sys_ipc_frame+0x17): In function `Thread::handle_page_fault_pager(unsigned int, unsigned int)': /home/adaven/20050523_fiasco_cvs/l4/kernel/fiasco/build/auto/context.h:479: undefined reference to `Thread::get_trap_state()' --
If anyone could shed some light into this, I would appreciate it.
Thanks, Andrew