summaryrefslogtreecommitdiff
path: root/kern/linux/linux_system.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-05-26 18:48:11 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-05-26 18:48:11 -0400
commitfffae72b451088e385168ba432d82b0b0d44d2cc (patch)
treeb946b890fd57489d114ddb07da668bf51c33aff2 /kern/linux/linux_system.hh
parentf0d45c797c40b91b7021699f0aa202d06015a94e (diff)
downloadgem5-fffae72b451088e385168ba432d82b0b0d44d2cc.tar.xz
Fixed serial support in 2.6 (too much work for...)
Removed bootloader and just wrote command line into linux kernel base/inifile.cc: the forked process should not return, it should exit. dev/tsunami_uart.cc: dev/tsunami_uart.hh: The serial port in reality has some delay and linux expects it. This schedules an interrupt 300 cycles after the transmit instead of immediately kern/linux/linux_system.cc: kern/linux/linux_system.hh: removed boot loader and stuck boot command line in the kernel manually --HG-- extra : convert_revision : 68aa54f8ca4e8391789f7a4c1ae227e6f8b94e13
Diffstat (limited to 'kern/linux/linux_system.hh')
-rw-r--r--kern/linux/linux_system.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/kern/linux/linux_system.hh b/kern/linux/linux_system.hh
index 606762984..3f743306a 100644
--- a/kern/linux/linux_system.hh
+++ b/kern/linux/linux_system.hh
@@ -32,10 +32,13 @@
#include <vector>
#include "sim/system.hh"
+#include "sim/host.hh"
#include "targetarch/isa_traits.hh"
#include <map>
+const Addr PARAM_ADDR = ULL(0xfffffc000030a000);
+
class ExecContext;
class ElfObject;
class SymbolTable;
@@ -55,10 +58,8 @@ class LinuxSystem : public System
private:
ElfObject *kernel;
ElfObject *console;
- ElfObject *bootloader;
SymbolTable *kernelSymtab;
- SymbolTable *bootloaderSymtab;
SymbolTable *consoleSymtab;
BreakPCEvent *kernelPanicEvent;
@@ -88,7 +89,6 @@ class LinuxSystem : public System
const std::string &console_path,
const std::string &palcode,
const std::string &boot_osflags,
- const std::string &bootloader_path,
const bool _bin,
const std::vector<std::string> &_binned_fns);