OSDN Git Service

sim: common: trim trailing whitespace
[pf3gnuchains/sourceware.git] / sim / common / hw-ports.h
index b1bbb41..d6255d9 100644 (file)
@@ -1,5 +1,6 @@
 /* Hardware ports.
-   Copyright (C) 1998, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2007, 2008, 2009, 2010, 2011
+   Free Software Foundation, Inc.
    Contributed by Andrew Cagney and Cygnus Solutions.
 
 This file is part of GDB, the GNU debugger.
@@ -25,7 +26,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 struct hw_port_descriptor {
   const char *name;
-  int number; 
+  int number;
   int nr_ports;
   port_direction direction;
 };
@@ -53,13 +54,13 @@ void hw_port_event
  int my_port,
  int value);
 
-/* This port event will then be propogated to any attached
+/* This port event will then be propagated to any attached
    destination ports.
 
-   Any interpretation of PORT and VALUE is model dependant.  As a
+   Any interpretation of PORT and VALUE is model dependent.  As a
    guideline the following are recommended: PCI interrupts A-D should
-   correspond to ports 0-3; level sensative interrupts be requested
-   with a value of one and withdrawn with a value of 0; edge sensative
+   correspond to ports 0-3; level sensitive interrupts be requested
+   with a value of one and withdrawn with a value of 0; edge sensitive
    interrupts always have a value of 1, the event its self is treated
    as the interrupt.
 
@@ -67,7 +68,7 @@ void hw_port_event
    Port destinations
 
    Attached to each port of a device can be zero or more
-   desitinations.  These destinations consist of a device/port pair.
+   destinations.  These destinations consist of a device/port pair.
    A destination is attached/detached to a device line using the
    attach and detach calls. */
 
@@ -98,7 +99,7 @@ void hw_port_traverse
 (struct hw *me,
  hw_port_traverse_function *handler,
  void *data);
+
 
 /* DESTINATION is attached (detached) to LINE of the device ME
 
@@ -123,6 +124,6 @@ int hw_port_encode
  char *buf,
  int sizeof_buf,
  port_direction direction);
+
 
 #endif