Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

jdb_i.h

Go to the documentation of this file.
00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT!         -*- c++ -*-
00002 
00003 #ifndef jdb_i_h
00004 #define jdb_i_h
00005 
00006 class Jdb_tid_ext : public Jdb_prompt_ext
00007 {
00008 public:
00009   void ext();
00010   void update();
00011 };
00012 
00013 class Jdb_output_frame : public Jdb_entry_frame
00014 {
00015 public:  
00016   //---------------------------------------------------------------------------
00017   inline Unsigned8* str();
00018   
00019   inline int len();
00020 };
00021 
00022 class Jdb_status_page_frame : public Jdb_entry_frame
00023 {
00024 public:  
00025   //---------------------------------------------------------------------------
00026   inline void set(Address status_page);
00027 };
00028 
00029 class Jdb_log_frame : public Jdb_entry_frame
00030 {
00031 public:  
00032   //---------------------------------------------------------------------------
00033   inline Unsigned8* str();
00034   
00035   inline void set_tb_entry(Tb_entry* tb_entry);
00036 };
00037 
00038 class Jdb_log_3val_frame : public Jdb_log_frame
00039 {
00040 public:  
00041   //---------------------------------------------------------------------------
00042   inline Mword val1();
00043   
00044   inline Mword val2();
00045   
00046   inline Mword val3();
00047 };
00048 
00049 class Jdb_debug_frame : public Jdb_entry_frame
00050 {
00051 public:  
00052   //---------------------------------------------------------------------------
00053   inline Task_num task();
00054   
00055   inline Mword addr();
00056   
00057   inline Mword size();
00058 };
00059 
00060 class Jdb_symbols_frame : public Jdb_debug_frame
00061 {};
00062 
00063 class Jdb_lines_frame : public Jdb_debug_frame
00064 {};
00065 
00066 class Jdb_get_cputime_frame : public Jdb_entry_frame
00067 {
00068 public:  
00069   //---------------------------------------------------------------------------
00070   inline void invalidate();
00071   
00072   inline void set(L4_uid next, Cpu_time total_us, unsigned short prio);
00073   
00074   inline L4_uid dst();
00075 };
00076 
00077 class Jdb_thread_name_frame : public Jdb_entry_frame
00078 {
00079 public:  
00080   //---------------------------------------------------------------------------
00081   inline const char * name();
00082   
00083   inline L4_uid dst();
00084 };
00085 
00086 //
00087 // IMPLEMENTATION of inline functions follows
00088 //
00089 
00090 
00091 
00092 
00093 inline void
00094 Jdb::backspace()
00095 {
00096   putstr("\b \b");
00097 }
00098 
00099 
00100 //---------------------------------------------------------------------------
00101 
00102 inline Unsigned8*
00103 Jdb_output_frame::str()
00104 { return (Unsigned8*)eax; }
00105 
00106 
00107 
00108 inline int
00109 Jdb_output_frame::len()
00110 { return (unsigned)ebx; }
00111 
00112 
00113 //---------------------------------------------------------------------------
00114 
00115 inline void
00116 Jdb_status_page_frame::set(Address status_page)
00117 { eax = (Mword)status_page; }
00118 
00119 
00120 //---------------------------------------------------------------------------
00121 
00122 inline Unsigned8*
00123 Jdb_log_frame::str()
00124 { return (Unsigned8*)edx; }
00125 
00126 
00127 
00128 inline void
00129 Jdb_log_frame::set_tb_entry(Tb_entry* tb_entry)
00130 { eax = (Mword)tb_entry; }
00131 
00132 
00133 //---------------------------------------------------------------------------
00134 
00135 inline Mword
00136 Jdb_log_3val_frame::val1()
00137 { return ecx; }
00138 
00139 
00140 
00141 inline Mword
00142 Jdb_log_3val_frame::val2()
00143 { return esi; }
00144 
00145 
00146 
00147 inline Mword
00148 Jdb_log_3val_frame::val3()
00149 { return edi; }
00150 
00151 
00152 //---------------------------------------------------------------------------
00153 
00154 inline Task_num
00155 Jdb_debug_frame::task()
00156 { return (Task_num)ebx; }
00157 
00158 
00159 
00160 inline Mword
00161 Jdb_debug_frame::addr()
00162 { return eax; }
00163 
00164 
00165 
00166 inline Mword
00167 Jdb_debug_frame::size()
00168 { return edx; }
00169 
00170 
00171 //---------------------------------------------------------------------------
00172 
00173 inline void
00174 Jdb_get_cputime_frame::invalidate()
00175 { ecx = 0xffffffff; }
00176 
00177 
00178 
00179 inline void
00180 Jdb_get_cputime_frame::set(L4_uid next, Cpu_time total_us, unsigned short prio)
00181 {
00182   eax = total_us;
00183   edx = total_us >> 32;
00184   ecx = prio;
00185   esi = next.raw(); 
00186   edi = next.raw() >> 32;
00187 }
00188 
00189 
00190 
00191 inline L4_uid
00192 Jdb_get_cputime_frame::dst()
00193 { return L4_uid((Unsigned64)edi << 32 | (Unsigned64)esi); }
00194 
00195 
00196 //---------------------------------------------------------------------------
00197 
00198 inline const char *
00199 Jdb_thread_name_frame::name()
00200 { return (const char*)eax; }
00201 
00202 
00203 
00204 inline L4_uid
00205 Jdb_thread_name_frame::dst()
00206 { return L4_uid((Unsigned64)edi << 32 | (Unsigned64)esi); }
00207 
00208 #endif // jdb_i_h

Generated on Mon Sep 26 14:20:10 2005 for Fiasco by  doxygen 1.4.2