From 42e788885573d2294877c73f83dbf539e4bac10f Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 4 May 2011 20:38:28 -0500 Subject: ARM: Add support for loading the a bootloader and configuring parameters for it --- src/arch/arm/system.hh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/arch/arm/system.hh') 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(_params); + } + ArmSystem(Params *p); ~ArmSystem(); - + + void initState(); + virtual Addr fixFuncEventAddr(Addr addr) { // Remove the low bit that thumb symbols have set -- cgit v1.2.3