[m5-dev] changeset in m5: X86: Fix X86_FS compilation.

2010-11-08 Thread Gabe Black
changeset f4362ffd810f in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=f4362ffd810f
description:
X86: Fix X86_FS compilation.

diffstat:

 src/arch/x86/linux/system.cc |  2 ++
 src/arch/x86/stacktrace.cc   |  1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diffs (30 lines):

diff -r f61e079ad05e -r f4362ffd810f src/arch/x86/linux/system.cc
--- a/src/arch/x86/linux/system.cc  Mon Nov 08 13:59:35 2010 -0600
+++ b/src/arch/x86/linux/system.cc  Mon Nov 08 12:43:38 2010 -0800
@@ -37,6 +37,7 @@
  * Authors: Gabe Black
  */
 
+#include arch/x86/isa_traits.hh
 #include arch/x86/linux/system.hh
 #include arch/x86/regs/int.hh
 #include arch/vtophys.hh
@@ -44,6 +45,7 @@
 #include cpu/thread_context.hh
 #include mem/physical.hh
 #include params/LinuxX86System.hh
+#include sim/byteswap.hh
 
 
 using namespace LittleEndianGuest;
diff -r f61e079ad05e -r f4362ffd810f src/arch/x86/stacktrace.cc
--- a/src/arch/x86/stacktrace.ccMon Nov 08 13:59:35 2010 -0600
+++ b/src/arch/x86/stacktrace.ccMon Nov 08 12:43:38 2010 -0800
@@ -37,6 +37,7 @@
 #include base/trace.hh
 #include cpu/base.hh
 #include cpu/thread_context.hh
+#include mem/vport.hh
 #include sim/system.hh
 
 using namespace std;
___
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev


Re: [m5-dev] changeset in m5: X86: Fix X86_FS compilation.

2010-11-08 Thread Gabe Black
 It's apparent an X86_FS regression is still really needed to keep that
code working like it should. Please make sure it builds before pushing
code, but I'm sure a regression would be harder to miss. This will be my
second highest generic M5 priority, possibly getting taken care of this
week or this coming weekend.

Could somebody give me a quick rundown on how the linux boot regressions
are structured? I assume specifying an external init script needs to
work. How does that hook in? Would I need to hack the kernel for that,
or replace the init on the image to load the user script, or what? I
think there may be one or two people out there that have done some of
this on their own already (I'm thinking of Joel specifically) and their
insight would also be helpful.

Gabe

On 11/08/10 12:43, Gabe Black wrote:
 changeset f4362ffd810f in /z/repo/m5
 details: http://repo.m5sim.org/m5?cmd=changeset;node=f4362ffd810f
 description:
   X86: Fix X86_FS compilation.

 diffstat:

  src/arch/x86/linux/system.cc |  2 ++
  src/arch/x86/stacktrace.cc   |  1 +
  2 files changed, 3 insertions(+), 0 deletions(-)

 diffs (30 lines):

 diff -r f61e079ad05e -r f4362ffd810f src/arch/x86/linux/system.cc
 --- a/src/arch/x86/linux/system.ccMon Nov 08 13:59:35 2010 -0600
 +++ b/src/arch/x86/linux/system.ccMon Nov 08 12:43:38 2010 -0800
 @@ -37,6 +37,7 @@
   * Authors: Gabe Black
   */
  
 +#include arch/x86/isa_traits.hh
  #include arch/x86/linux/system.hh
  #include arch/x86/regs/int.hh
  #include arch/vtophys.hh
 @@ -44,6 +45,7 @@
  #include cpu/thread_context.hh
  #include mem/physical.hh
  #include params/LinuxX86System.hh
 +#include sim/byteswap.hh
  
  
  using namespace LittleEndianGuest;
 diff -r f61e079ad05e -r f4362ffd810f src/arch/x86/stacktrace.cc
 --- a/src/arch/x86/stacktrace.cc  Mon Nov 08 13:59:35 2010 -0600
 +++ b/src/arch/x86/stacktrace.cc  Mon Nov 08 12:43:38 2010 -0800
 @@ -37,6 +37,7 @@
  #include base/trace.hh
  #include cpu/base.hh
  #include cpu/thread_context.hh
 +#include mem/vport.hh
  #include sim/system.hh
  
  using namespace std;
 ___
 m5-dev mailing list
 m5-dev@m5sim.org
 http://m5sim.org/mailman/listinfo/m5-dev

___
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev