summaryrefslogtreecommitdiff
path: root/kern/freebsd/freebsd_system.hh
diff options
context:
space:
mode:
Diffstat (limited to 'kern/freebsd/freebsd_system.hh')
-rw-r--r--kern/freebsd/freebsd_system.hh16
1 files changed, 14 insertions, 2 deletions
diff --git a/kern/freebsd/freebsd_system.hh b/kern/freebsd/freebsd_system.hh
index 8caa81cbc..3e9867733 100644
--- a/kern/freebsd/freebsd_system.hh
+++ b/kern/freebsd/freebsd_system.hh
@@ -32,10 +32,11 @@
#include "sim/host.hh"
#include "sim/system.hh"
#include "targetarch/isa_traits.hh"
+#include "kern/freebsd/freebsd_events.hh"
/**
- * This class skips a lengthy function in the FreeBSD kernel.
+ * This class skips lengthy functions in the FreeBSD kernel.
*/
class FreebsdSystem : public System
{
@@ -44,10 +45,21 @@ class FreebsdSystem : public System
/** PC based event to skip the DELAY call */
SkipFuncEvent *skipDelayEvent;
+ SkipFuncEvent *skipOROMEvent;
+
+ SkipFuncEvent *skipAicEvent;
+
+ SkipFuncEvent *skipPNPEvent;
+
+ SkipFuncEvent *skipATAEvent;
+
+ FreebsdSkipCalibrateClocksEvent *skipCalibrateClocks;
+
public:
FreebsdSystem(Params *p);
~FreebsdSystem();
+ void doCalibrateClocks(ExecContext *xc);
};
-#endif // __KERN_LINUX_LINUX_SYSTEM_HH__
+#endif // __KERN_FREEBSD_FREEBSD_SYSTEM_HH__