aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-base.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-05-25 08:18:03 +0000
committerAndrew Cagney <cagney@redhat.com>1998-05-25 08:18:03 +0000
commit69be0d4cb816ba39cbe29091d8579b661f57d3fc (patch)
tree4ab56c60c4aae652609f72a2031d57fd9ad54355 /sim/common/hw-base.h
parent39e953a72287cfa9335871478f27258989a22a66 (diff)
downloadfsf-binutils-gdb-69be0d4cb816ba39cbe29091d8579b661f57d3fc.zip
fsf-binutils-gdb-69be0d4cb816ba39cbe29091d8579b661f57d3fc.tar.gz
fsf-binutils-gdb-69be0d4cb816ba39cbe29091d8579b661f57d3fc.tar.bz2
Split out hw-alloc code. Add constructor and destructor for hw-alloc.
Diffstat (limited to 'sim/common/hw-base.h')
-rw-r--r--sim/common/hw-base.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/common/hw-base.h b/sim/common/hw-base.h
index 99d68ac..1866d64 100644
--- a/sim/common/hw-base.h
+++ b/sim/common/hw-base.h
@@ -28,6 +28,7 @@
#include "hw-properties.h"
#include "hw-events.h"
+#include "hw-alloc.h"
/* #include "hw-instances.h" */
/* #include "hw-handles.h" */
#include "hw-ports.h"
@@ -133,6 +134,14 @@ int do_hw_poll_read
unsigned size_of_buf);
+/* ALLOC */
+
+extern void create_hw_alloc_data
+(struct hw *hw);
+extern void delete_hw_alloc_data
+(struct hw *hw);
+
+
/* PORTS */
extern void create_hw_port_data