SparcSystem.py (8931:7a1dfb191e3f) SparcSystem.py (9338:97b4a2be1e5b)
1# Copyright (c) 2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 19 unchanged lines hidden (view full) ---

28
29from m5.params import *
30
31from SimpleMemory import SimpleMemory
32from System import System
33
34class SparcSystem(System):
35 type = 'SparcSystem'
1# Copyright (c) 2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 19 unchanged lines hidden (view full) ---

28
29from m5.params import *
30
31from SimpleMemory import SimpleMemory
32from System import System
33
34class SparcSystem(System):
35 type = 'SparcSystem'
36 cxx_header = 'arch/sparc/system.hh'
36 _rom_base = 0xfff0000000
37 _nvram_base = 0x1f11000000
38 _hypervisor_desc_base = 0x1f12080000
39 _partition_desc_base = 0x1f12000000
40 # ROM for OBP/Reset/Hypervisor
41 rom = Param.SimpleMemory(
42 SimpleMemory(range=AddrRange(_rom_base, size='8MB')),
43 "Memory to hold the ROM data")

--- 31 unchanged lines hidden ---
37 _rom_base = 0xfff0000000
38 _nvram_base = 0x1f11000000
39 _hypervisor_desc_base = 0x1f12080000
40 _partition_desc_base = 0x1f12000000
41 # ROM for OBP/Reset/Hypervisor
42 rom = Param.SimpleMemory(
43 SimpleMemory(range=AddrRange(_rom_base, size='8MB')),
44 "Memory to hold the ROM data")

--- 31 unchanged lines hidden ---