diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2004-05-18 13:53:11 -0400 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2004-05-18 13:53:11 -0400 |
commit | f42b13afc158794bc7ddc3e0376c264dc15235a3 (patch) | |
tree | 48ddb5178dcf3ba62919d4d6dc2de0c82f38fe7e /kern/linux/linux_system.hh | |
parent | a0ccdf8aba8f71c8d66c03f5c6907d0a3c2e091f (diff) | |
download | gem5-f42b13afc158794bc7ddc3e0376c264dc15235a3.tar.xz |
lift FnEvents and and Binning stuff out of LinuxSystem into commonn places with Tru64.
kern/linux/linux_system.cc:
add binned_fns parameter to System, remove nonLinux events from LinuxSystem, fix ~LinuxSystem() by adding delete of some things that need to be deleted.
kern/linux/linux_system.hh:
fix header file to go with linux_system.cc, removing nonLinux events and adding binned_fns param.
kern/tru64/tru64_system.cc:
add somme consistency by having having binned_fns be _binned_fns in the Tru64System arg list.
--HG--
extra : convert_revision : b2ec0c1614e185aafa177c220b91d1f6a4fe6876
Diffstat (limited to 'kern/linux/linux_system.hh')
-rw-r--r-- | kern/linux/linux_system.hh | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/kern/linux/linux_system.hh b/kern/linux/linux_system.hh index 93f765ba1..3b65e7379 100644 --- a/kern/linux/linux_system.hh +++ b/kern/linux/linux_system.hh @@ -64,16 +64,9 @@ class LinuxSystem : public System BreakPCEvent *kernelPanicEvent; BreakPCEvent *consolePanicEvent; - LinuxBadAddrEvent *badaddrEvent; - LinuxSkipFuncEvent *skipPowerStateEvent; - LinuxSkipFuncEvent *skipScavengeBootEvent; LinuxSkipFuncEvent *skipCacheProbeEvent; LinuxSkipIdeDelay50msEvent *skipIdeDelay50msEvent; LinuxSkipDelayLoopEvent *skipDelayLoopEvent; - LinuxPrintfEvent *printfEvent; - LinuxDebugPrintfEvent *debugPrintfEvent; - LinuxDebugPrintfEvent *debugPrintfrEvent; - LinuxDumpMbufEvent *dumpMbufEvent; private: @@ -81,9 +74,7 @@ class LinuxSystem : public System Addr kernelEnd; Addr kernelEntry; bool bin; - - std::multimap<const std::string, std::string> callerMap; - void populateMap(std::string caller, std::string callee); + std::vector<string> binned_fns; public: std::vector<RemoteGDB *> remoteGDB; @@ -98,8 +89,10 @@ class LinuxSystem : public System const std::string &console_path, const std::string &palcode, const std::string &boot_osflags, - const std::string &bootloader_path, - const bool _bin); + const std::string &bootloader_path, + const bool _bin, + const std::vector<std::string> &_binned_fns); + ~LinuxSystem(); void setDelayLoop(ExecContext *xc); @@ -111,12 +104,6 @@ class LinuxSystem : public System Addr getKernelEnd() const { return kernelEnd; } Addr getKernelEntry() const { return kernelEntry; } bool breakpoint(); - - static void Printf(AlphaArguments args); - static void DumpMbuf(AlphaArguments args); - - bool findCaller(std::string callee, std::string caller) const; - void dumpState(ExecContext *xc) const; }; #endif // __LINUX_SYSTEM_HH__ |