]> rtime.felk.cvut.cz Git - l4.git/blobdiff - kernel/fiasco/src/kern/ppc32/trap_state.cpp
Update
[l4.git] / kernel / fiasco / src / kern / ppc32 / trap_state.cpp
index 93b76697ee3805f425b4818f9874664f95e7d0ca..a6873348a81bfb4e7df54d0f7cf9ce9f20e3a170 100644 (file)
@@ -21,6 +21,15 @@ public:
   bool exclude_logging() { return false; }
 };
 
+struct Trex
+{
+  Trap_state s;
+  void set_ipc_upcall()
+  { s.error_code = 0x10000000; /* see Msr */ }
+
+  void dump() { s.dump(); }
+};
+
 
 IMPLEMENTATION:
 
@@ -28,9 +37,9 @@ IMPLEMENTATION:
 
 PUBLIC inline
 void
-Trap_state::sanitize_user_state()
+Trap_state::copy_and_sanitize(Trap_state const *)
 {
-  // implement me
+  // FIXME: unimplemented
 }
 
 PUBLIC inline
@@ -48,13 +57,6 @@ Mword
 Trap_state::error() const
 { return 0; }
 
-PUBLIC inline
-void
-Trap_state::set_ipc_upcall()
-{
-  error_code = 0x10000000; // see Msr
-}
-
 PUBLIC inline
 void
 Trap_state::set_pagefault(Mword pfa, Mword error)