From 08d9e0ea7ad5f6a0addd711bc4ff14cff2789170 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Tue, 11 Apr 2006 19:35:30 -0400 Subject: 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 --- arch/alpha/linux/system.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/alpha/linux/system.cc') 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 -- cgit v1.2.3