summaryrefslogtreecommitdiff
path: root/arch/alpha/linux
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-04-11 19:35:30 -0400
committerAli Saidi <saidi@eecs.umich.edu>2006-04-11 19:35:30 -0400
commit08d9e0ea7ad5f6a0addd711bc4ff14cff2789170 (patch)
tree90685e915bb3cf7bd2e0f8e39837643abc1787af /arch/alpha/linux
parent194fb50fbd3f00577ce129762c9a8f13c721e4ad (diff)
downloadgem5-08d9e0ea7ad5f6a0addd711bc4ff14cff2789170.tar.xz
change how much of the param string is copied into the kenel
Set locked flag if required make SC always return success -- this needs to be fixed at some point fix a couple of things FS executes a bit of console code before dying a horrible death arch/alpha/linux/system.cc: only need to copy the length of the os flags param, not 256 bytes cpu/simple/cpu.cc: Set the physical flag if required Make LL/SC always return success mem/bus.cc: add some dprintfs and change a assert to a panic mem/port.cc: delete the buffer with the [] operator mem/request.hh: add a function to reset a request --HG-- extra : convert_revision : f2b78ddad33c7f6ffe1c48791d86609ff1d10d46
Diffstat (limited to 'arch/alpha/linux')
-rw-r--r--arch/alpha/linux/system.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/linux/system.cc b/arch/alpha/linux/system.cc
index edd2cdaf1..cdb96096c 100644
--- a/arch/alpha/linux/system.cc
+++ b/arch/alpha/linux/system.cc
@@ -73,7 +73,7 @@ LinuxAlphaSystem::LinuxAlphaSystem(Params *p)
* kernel arguments directly into the kernel's memory.
*/
virtPort.writeBlob(CommandLine(), (uint8_t*)params()->boot_osflags.c_str(),
- CommandLineSize);
+ params()->boot_osflags.length()+1);
/**
* find the address of the est_cycle_freq variable and insert it