aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-base.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-05-25 08:50:22 +0000
committerAndrew Cagney <cagney@redhat.com>1998-05-25 08:50:22 +0000
commitc14db36dbbcef966978f8d8aee0b3670d3243bb0 (patch)
tree18befbba5eae86246d73d0a50788cf8eb75f5c10 /sim/common/hw-base.h
parent325a1ba87687ac0a8002b24a6a1215b933ae28bb (diff)
downloadfsf-binutils-gdb-c14db36dbbcef966978f8d8aee0b3670d3243bb0.zip
fsf-binutils-gdb-c14db36dbbcef966978f8d8aee0b3670d3243bb0.tar.gz
fsf-binutils-gdb-c14db36dbbcef966978f8d8aee0b3670d3243bb0.tar.bz2
Add files hw-alloc.[hc] (mising from last CI)
Move set_* macro's from hw-base to hw-device.
Diffstat (limited to 'sim/common/hw-base.h')
-rw-r--r--sim/common/hw-base.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/sim/common/hw-base.h b/sim/common/hw-base.h
index f63807c..da37986 100644
--- a/sim/common/hw-base.h
+++ b/sim/common/hw-base.h
@@ -70,37 +70,6 @@ void hw_delete
/* Override device methods */
-#define set_hw_data(hw, value) \
-((hw)->data_of_hw = (value))
-
-#define set_hw_reset(hw, method) \
-((hw)->to_reset = method)
-
-#define set_hw_io_read_buffer(hw, method) \
-((hw)->to_io_read_buffer = (method))
-#define set_hw_io_write_buffer(hw, method) \
-((hw)->to_io_write_buffer = (method))
-
-#define set_hw_dma_read_buffer(me, method) \
-((me)->to_dma_read_buffer = (method))
-#define set_hw_dma_write_buffer(me, method) \
-((me)->to_dma_write_buffer = (method))
-
-#define set_hw_attach_address(hw, method) \
-((hw)->to_attach_address = (method))
-#define set_hw_detach_address(hw, method) \
-((hw)->to_detach_address = (method))
-
-#define set_hw_unit_decode(hw, method) \
-((hw)->to_unit_decode = (method))
-#define set_hw_unit_encode(hw, method) \
-((hw)->to_unit_encode = (method))
-
-#define set_hw_unit_address_to_attach_address(hw, method) \
-((hw)->to_unit_address_to_attach_address = (method))
-#define set_hw_unit_size_to_attach_size(hw, method) \
-((hw)->to_unit_size_to_attach_size = (method))
-
typedef void (hw_delete_callback)
(struct hw *me);