Clean up the passing of the boot command line to the kernel.
authorNathan Binkert <binkertn@umich.edu>
Tue, 23 Aug 2005 15:47:12 +0000 (11:47 -0400)
committerNathan Binkert <binkertn@umich.edu>
Tue, 23 Aug 2005 15:47:12 +0000 (11:47 -0400)
commitc0de2e7f122924683b5ae2a3a7ce50ce90cf9d73
tree0b63b65955fa4f23d79153f874b626ad0a8101d7
parentc761aaae652b101959a6f5e182b67f841727de85
Clean up the passing of the boot command line to the kernel.

kern/linux/linux_system.cc:
    Don't hard code the address of the command line in the kernel,
    instead, deduce it from the location of known symbols.
    don't use strcpy, it's dangerous.
kern/linux/linux_system.hh:
    Don't hard code the address of the command line in the kernel,
    instead, deduce it from the location of known symbols.

--HG--
extra : convert_revision : 128b1d5dbd00b0b8571707da99f86f76e29abfd1
kern/linux/linux_system.cc
kern/linux/linux_system.hh