aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-base.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-04Copyright year update in most files of the GDB Project.Joel Brobecker1-1/+1
gdb/ChangeLog: Copyright year update in most files of the GDB Project.
2011-05-11sim: fix func call style (space before paren)Mike Frysinger1-5/+5
Committed this as obvious: -foo(...); +foo (...); Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-04-02sim: fix up style a bitMike Frysinger1-13/+17
This touches up the code a bit to match GNU style. No functional changes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-15sim: common: trim trailing whitespaceMike Frysinger1-4/+4
2011-02-14sim: punt zfree()Mike Frysinger1-1/+1
The sim keeps track of which allocations are zero-ed internally (via zalloc) and then calls a helper "zfree" function rather than "free". But this "zfree" function simply calls "free" itself. Since I can see no point in this and it is simply useless overhead, punt it. The only real change is in hw-alloc.c where we remove the zalloc_p tracking, and sim-utils.c where zfree is delete. The rest of the changes are a simple `sed` from "zfree" to "free". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-01run copyright.sh for 2011.Joel Brobecker1-1/+1
2010-01-01Update copyright notices to add year 2010.Joel Brobecker1-1/+1
2009-01-14 Update the copyright notice of some of the files I missedJoel Brobecker1-1/+1
in the previous copyright update.
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz1-1/+1
2007-08-24 Switch the license of all files explicitly copyright the FSFJoel Brobecker1-4/+2
to GPLv3.
2007-01-09Copyright updates for 2007.Daniel Jacobowitz1-1/+1
2002-11-232002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-19/+22
* dv-core.c: Update copyright. sim/common contributed to the FSF. * dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto. * hw-device.h, hw-handles.c, hw-handles.h: Ditto. * hw-instances.c, hw-instances.h, hw-properties.c: Ditto. * hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto. * sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto. * sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto. * sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto. * sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto. * sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.
2000-11-25Fix for sim/common hw_delete()/hw_tree_delete()Stephane Carrez1-1/+6
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+571
1999-04-16Initial creation of sourceware repositoryStan Shebs1-567/+0
1998-05-25Make hw-main.h the main header file for H/W devices. Like sim-main.hAndrew Cagney1-4/+4
Update dv-*.c Replace *_callback with more correct. *_method. Update dv-*.c
1998-05-25Initialize/destory hw-properties within the hw-device.Andrew Cagney1-0/+2
1998-05-25Split out hw-alloc code. Add constructor and destructor for hw-alloc.Andrew Cagney1-1/+2
1998-05-25Split out hw-event code. Clean up interface. Update all users.Andrew Cagney1-0/+2
1998-05-25Clean up create/delete of hw-portsAndrew Cagney1-38/+19
1998-03-22Fix typos: Setting trace in wrong function, ME vs HW.Andrew Cagney1-2/+2
1998-03-22Copy function ../ppc/device_table.c:generic_device_init_address() toAndrew Cagney1-4/+60
hw-base.c:do_hw_attach_regs(). Use in dv-pal. Add hw_tree_delete to hw-tree.c.
1998-03-22Add function hw_trace() and macro HW_TRACE - provides trace supportAndrew Cagney1-0/+4
for HW devices.
1998-03-22Add hw_{malloc,zalloc,free} functions to hw_device. Any memoryAndrew Cagney1-7/+61
allocated using these functions is reclaimed when the corresponding device is deleted.
1998-03-22Replace *attach_address() arguments SPACEMASK:ADDR with SPACE:ADDR.Andrew Cagney1-0/+467
Add notes to hw-device.h that discuss the interpretation of SPACE:ADDR on a BUS.