00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT! -*- c++ -*- 00002 00003 #ifndef fpu_state_h 00004 #define fpu_state_h 00005 00006 // 00007 // INTERFACE definition follows 00008 // 00009 00010 00011 class Fpu_state 00012 { 00013 public: 00014 #if 0 00015 void save_state(); 00016 void restore_state(); 00017 #endif 00018 void *state_buffer(); 00019 00020 Fpu_state(); 00021 ~Fpu_state(); 00022 00023 private: 00024 friend class Fpu_alloc; 00025 00026 void *_state_buffer; 00027 }; 00028 00029 // 00030 // IMPLEMENTATION of inline functions (and needed classes) 00031 // 00032 00033 00034 00035 00036 inline Fpu_state::Fpu_state() : _state_buffer(0) 00037 {} 00038 00039 00040 00041 inline Fpu_state::~Fpu_state() 00042 { 00043 //free_state(); 00044 } 00045 00046 00047 00048 inline void *Fpu_state::state_buffer() 00049 { 00050 return _state_buffer; 00051 } 00052 00053 #endif // fpu_state_h