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

jdb_io_ports_i.h

Go to the documentation of this file.
00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT!         -*- c++ -*-
00002 
00003 #ifndef jdb_io_ports_i_h
00004 #define jdb_io_ports_i_h
00005 
00006 #include <cstdio>
00007 #include "simpleio.h"
00008 
00009 #include "io.h"
00010 #include "jdb_module.h"
00011 #include "jdb.h"
00012 #include "pci.h"
00013 #include "pic.h"
00014 #include "static_init.h"
00015 
00019 class Io_m : public Jdb_module
00020 {
00021 public:
00022 
00023 private:
00024   static char porttype;
00025 
00026   struct Port_io_buf {
00027     unsigned adr;
00028     unsigned val;
00029   };
00030 
00031   struct Pci_port_buf {
00032     unsigned bus;
00033     unsigned dev;
00034     unsigned subdev;
00035     unsigned reg;
00036     unsigned val;
00037   };
00038 
00039   struct Irq_buf {
00040     unsigned irq;
00041   };
00042 
00043   union Input_buffer {
00044     Port_io_buf io;
00045     Pci_port_buf pci;
00046     Irq_buf irq;
00047   };
00048 
00049   static Input_buffer buf;
00050 
00051 public:  
00052   Jdb_module::Action_code action( int cmd, void *&args, char const *&fmt, int &);
00053   
00054   int const num_cmds() const;
00055   
00056   Jdb_module::Cmd const *const cmds() const;
00057   
00058   Io_m();
00059 };
00060 
00061 #endif // jdb_io_ports_i_h

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