Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/43885 )

Change subject: dev: Fix style in the south bridge device.
......................................................................

dev: Fix style in the south bridge device.

Change-Id: I0d5b027c7ef18491147d7bd9d34db33edd438ca0
---
M src/dev/x86/south_bridge.cc
M src/dev/x86/south_bridge.hh
2 files changed, 16 insertions(+), 14 deletions(-)



diff --git a/src/dev/x86/south_bridge.cc b/src/dev/x86/south_bridge.cc
index 8bf6107..6039609 100644
--- a/src/dev/x86/south_bridge.cc
+++ b/src/dev/x86/south_bridge.cc
@@ -39,7 +39,7 @@
     cmos(p.cmos), speaker(p.speaker), ioApic(p.io_apic)
 {
     // Let the platform know where we are
-    Pc * pc = dynamic_cast<Pc *>(platform);
+    Pc *pc = dynamic_cast<Pc *>(platform);
     assert(pc);
     pc->southBridge = this;
 }
diff --git a/src/dev/x86/south_bridge.hh b/src/dev/x86/south_bridge.hh
index 99d8f35..36c9551 100644
--- a/src/dev/x86/south_bridge.hh
+++ b/src/dev/x86/south_bridge.hh
@@ -34,25 +34,27 @@

 namespace X86ISA
 {
-    class I8254;
-    class I8259;
-    class Cmos;
-    class Speaker;
-    class I82094AA;
-}
+
+class I8254;
+class I8259;
+class Cmos;
+class Speaker;
+class I82094AA;
+
+} // namespace X86ISA

 class SouthBridge : public SimObject
 {
   protected:
-    Platform * platform;
+    Platform *platform;

   public:
-    X86ISA::I8254 * pit;
-    X86ISA::I8259 * pic1;
-    X86ISA::I8259 * pic2;
-    X86ISA::Cmos * cmos;
-    X86ISA::Speaker * speaker;
-    X86ISA::I82094AA * ioApic;
+    X86ISA::I8254 *pit;
+    X86ISA::I8259 *pic1;
+    X86ISA::I8259 *pic2;
+    X86ISA::Cmos *cmos;
+    X86ISA::Speaker *speaker;
+    X86ISA::I82094AA *ioApic;

   public:
     using Params = SouthBridgeParams;

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/43885
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I0d5b027c7ef18491147d7bd9d34db33edd438ca0
Gerrit-Change-Number: 43885
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to