Sorry Gabe,
To make a regression work you first need m5ops to work and the you can
call m5 readfile, see if the file is non-zero and if it is execute it.
The file is normally just a m5 exit call. I added a changeset that adds
regressions for ARM_FS to reviewboard toady. You can checkout the change
and look at the alpha image for what is required.
Ali
On Mon, 08 Nov 2010 12:49:25 -0800, Gabe Black <gbl...@eecs.umich.edu>
wrote:
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.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.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
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev