diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-01-03 14:35:43 -0800 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-01-03 14:35:43 -0800 |
commit | c69d48f007d2521fdbea52a0a7a95cfc4a547174 (patch) | |
tree | 59a866d2f48310090b5dd18dad0095029314cb6f /src/dev/x86 | |
parent | 1a10ccc5e551857fc3a7c049df99547ccfe3f72b (diff) | |
download | gem5-c69d48f007d2521fdbea52a0a7a95cfc4a547174.tar.xz |
Make commenting on close namespace brackets consistent.
Ran all the source files through 'perl -pi' with this script:
s|\s*(};?\s*)?/\*\s*(end\s*)?namespace\s*(\S+)\s*\*/(\s*})?|} // namespace $3|;
s|\s*};?\s*//\s*(end\s*)?namespace\s*(\S+)\s*|} // namespace $2\n|;
s|\s*};?\s*//\s*(\S+)\s*namespace\s*|} // namespace $1\n|;
Also did a little manual editing on some of the arch/*/isa_traits.hh files
and src/SConscript.
Diffstat (limited to 'src/dev/x86')
-rw-r--r-- | src/dev/x86/cmos.hh | 2 | ||||
-rw-r--r-- | src/dev/x86/i8042.hh | 2 | ||||
-rw-r--r-- | src/dev/x86/i82094aa.hh | 2 | ||||
-rw-r--r-- | src/dev/x86/i8237.hh | 2 | ||||
-rw-r--r-- | src/dev/x86/i8254.hh | 2 | ||||
-rw-r--r-- | src/dev/x86/i8259.hh | 2 | ||||
-rw-r--r-- | src/dev/x86/intdev.hh | 2 | ||||
-rw-r--r-- | src/dev/x86/speaker.hh | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/src/dev/x86/cmos.hh b/src/dev/x86/cmos.hh index 76276dbc1..22cd9e3af 100644 --- a/src/dev/x86/cmos.hh +++ b/src/dev/x86/cmos.hh @@ -84,6 +84,6 @@ class Cmos : public BasicPioDevice Tick write(PacketPtr pkt); }; -}; // namespace X86ISA +} // namespace X86ISA #endif //__DEV_X86_CMOS_HH__ diff --git a/src/dev/x86/i8042.hh b/src/dev/x86/i8042.hh index 8a941f9a5..7aa59e9a7 100644 --- a/src/dev/x86/i8042.hh +++ b/src/dev/x86/i8042.hh @@ -254,6 +254,6 @@ class I8042 : public BasicPioDevice Tick write(PacketPtr pkt); }; -}; // namespace X86ISA +} // namespace X86ISA #endif //__DEV_X86_I8042_HH__ diff --git a/src/dev/x86/i82094aa.hh b/src/dev/x86/i82094aa.hh index c3a832aa9..70717f6ba 100644 --- a/src/dev/x86/i82094aa.hh +++ b/src/dev/x86/i82094aa.hh @@ -132,6 +132,6 @@ class I82094AA : public PioDevice, public IntDev void registerLocalApic(int id, Interrupts *localApic); }; -}; // namespace X86ISA +} // namespace X86ISA #endif //__DEV_X86_SOUTH_BRIDGE_I8254_HH__ diff --git a/src/dev/x86/i8237.hh b/src/dev/x86/i8237.hh index 2d73b8ab5..1db91236a 100644 --- a/src/dev/x86/i8237.hh +++ b/src/dev/x86/i8237.hh @@ -61,6 +61,6 @@ class I8237 : public BasicPioDevice Tick write(PacketPtr pkt); }; -}; // namespace X86ISA +} // namespace X86ISA #endif //__DEV_X86_I8237_HH__ diff --git a/src/dev/x86/i8254.hh b/src/dev/x86/i8254.hh index 7de20dfd4..e295f5105 100644 --- a/src/dev/x86/i8254.hh +++ b/src/dev/x86/i8254.hh @@ -111,6 +111,6 @@ class I8254 : public BasicPioDevice } }; -}; // namespace X86ISA +} // namespace X86ISA #endif //__DEV_X86_SOUTH_BRIDGE_I8254_HH__ diff --git a/src/dev/x86/i8259.hh b/src/dev/x86/i8259.hh index a9c5baa8c..a9362d403 100644 --- a/src/dev/x86/i8259.hh +++ b/src/dev/x86/i8259.hh @@ -110,6 +110,6 @@ class I8259 : public BasicPioDevice, public IntDev int getVector(); }; -}; // namespace X86ISA +} // namespace X86ISA #endif //__DEV_X86_I8259_HH__ diff --git a/src/dev/x86/intdev.hh b/src/dev/x86/intdev.hh index 8f5f8707e..b01d36e37 100644 --- a/src/dev/x86/intdev.hh +++ b/src/dev/x86/intdev.hh @@ -234,6 +234,6 @@ class IntLine : public SimObject } }; -}; // namespace X86ISA +} // namespace X86ISA #endif //__DEV_X86_INTDEV_HH__ diff --git a/src/dev/x86/speaker.hh b/src/dev/x86/speaker.hh index 6778dcb28..fb7476ca0 100644 --- a/src/dev/x86/speaker.hh +++ b/src/dev/x86/speaker.hh @@ -74,6 +74,6 @@ class Speaker : public BasicPioDevice Tick write(PacketPtr pkt); }; -}; // namespace X86ISA +} // namespace X86ISA #endif //__DEV_X86_SPEAKER_HH__ |