summaryrefslogtreecommitdiff
path: root/src/arch/arm/system.hh
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2011-05-04 20:38:28 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2011-05-04 20:38:28 -0500
commit42e788885573d2294877c73f83dbf539e4bac10f (patch)
treeb0014c8ed48e9b1b6e07cf008a8379c1aca113a4 /src/arch/arm/system.hh
parent1b505f529142882fa191f1be23e17ee37b6885c9 (diff)
downloadgem5-42e788885573d2294877c73f83dbf539e4bac10f.tar.xz
ARM: Add support for loading the a bootloader and configuring parameters for it
Diffstat (limited to 'src/arch/arm/system.hh')
-rw-r--r--src/arch/arm/system.hh15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/arch/arm/system.hh b/src/arch/arm/system.hh
index e63d5c0ed..4898d433c 100644
--- a/src/arch/arm/system.hh
+++ b/src/arch/arm/system.hh
@@ -60,11 +60,24 @@ class ArmSystem : public System
*/
Linux::DebugPrintkEvent *debugPrintkEvent;
+ /**
+ * Pointer to the bootloader object
+ */
+ ObjectFile *bootldr;
+
public:
typedef ArmSystemParams Params;
+ const Params *
+ params() const
+ {
+ return dynamic_cast<const Params *>(_params);
+ }
+
ArmSystem(Params *p);
~ArmSystem();
-
+
+ void initState();
+
virtual Addr fixFuncEventAddr(Addr addr)
{
// Remove the low bit that thumb symbols have set