diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 03:16:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 03:16:17 +0000 |
commit | 028f6515424e832ee10a1e4cb1f96ea241e2acae (patch) | |
tree | c8ce68621a3ed2425b8dde4e2f523cbae0bf11fe /sim/common/dv-pal.c | |
parent | 7f35e991971df570411a2688b948cd72adb4cf90 (diff) | |
download | gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.zip gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.gz gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.bz2 |
sim: common: trim trailing whitespace
Diffstat (limited to 'sim/common/dv-pal.c')
-rw-r--r-- | sim/common/dv-pal.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sim/common/dv-pal.c b/sim/common/dv-pal.c index 2240d84..c831d0a 100644 --- a/sim/common/dv-pal.c +++ b/sim/common/dv-pal.c @@ -44,13 +44,13 @@ /* DEVICE - + pal - glue logic device containing assorted junk - + DESCRIPTION - + Typical hardware dependant hack. This device allows the firmware to gain access to all the things the firmware needs (but the OS doesn't). @@ -74,10 +74,10 @@ RESET (write): halts the simulator. The value written to the register is used as an exit status. - + PROCESSOR ID (read): returns the processor identifier (0 .. N-1) of the processor performing the read. - + INTERRUPT (write): This register must be written using a two byte store. The low byte specifies a port and the upper byte specifies the a level. LEVEL is driven on the specified port. By @@ -122,7 +122,7 @@ PROPERTIES - + reg = <address> <size> (required) @@ -429,7 +429,7 @@ hw_pal_io_write_buffer (struct hw *me, { hw_pal_device *hw_pal = (hw_pal_device*) hw_data (me); unsigned_1 *byte = (unsigned_1 *) source; - + switch (addr & hw_pal_address_mask) { @@ -467,12 +467,12 @@ hw_pal_io_write_buffer (struct hw *me, do_counter_write (me, hw_pal, "countdown", &hw_pal->countdown, source, nr_bytes); break; - + case hw_pal_timer: do_counter_write (me, hw_pal, "timer", &hw_pal->timer, source, nr_bytes); break; - + } return nr_bytes; } |