diff options
author | Ali Saidi <Ali.Saidi@arm.com> | 2010-08-23 11:18:39 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@arm.com> | 2010-08-23 11:18:39 -0500 |
commit | f2642e205549efefb7391de32b189e94e5503ddc (patch) | |
tree | a3572aa1e56a3d76012cccb7cd3b679e197c1e8f /src/arch/alpha/AlphaSystem.py | |
parent | d4e83a400189ef91a5b0f444c9c99d443cc1a251 (diff) | |
download | gem5-f2642e205549efefb7391de32b189e94e5503ddc.tar.xz |
Loader: Make the load address mask be a parameter of the system rather than a constant.
This allows one two different OS requirements for the same ISA to be handled.
Some OSes are compiled for a virtual address and need to be loaded into physical
memory that starts at address 0, while other bare metal tools generate
images that start at address 0.
Diffstat (limited to 'src/arch/alpha/AlphaSystem.py')
-rw-r--r-- | src/arch/alpha/AlphaSystem.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/alpha/AlphaSystem.py b/src/arch/alpha/AlphaSystem.py index a19aeb763..f6d9eb4c6 100644 --- a/src/arch/alpha/AlphaSystem.py +++ b/src/arch/alpha/AlphaSystem.py @@ -35,6 +35,7 @@ class AlphaSystem(System): pal = Param.String("file that contains palcode") system_type = Param.UInt64("Type of system we are emulating") system_rev = Param.UInt64("Revision of system we are emulating") + load_addr_mask = 0xffffffffff class LinuxAlphaSystem(AlphaSystem): type = 'LinuxAlphaSystem' |