diff options
author | Doug Gilbert <dgilbert@us.ibm.com> | 2014-01-30 23:50:15 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-02-08 08:13:51 -0600 |
commit | 4bbf6d1a3927255714b22d1bd95ec19a59781b04 (patch) | |
tree | 1df1ce6d8d67ff3ea12e31e67c5080b488317a57 /src/kernel/misc.C | |
parent | b03ea5a5142e1d03b9c27ce12b9d8b369de58776 (diff) | |
download | talos-hostboot-4bbf6d1a3927255714b22d1bd95ec19a59781b04.tar.gz talos-hostboot-4bbf6d1a3927255714b22d1bd95ec19a59781b04.zip |
Missing HB interrupts
CQ: SW244546
Change-Id: Ice49cdd7e4acd8168ec2cfc29e1970c5daa49780
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8666
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/kernel/misc.C')
-rw-r--r-- | src/kernel/misc.C | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/misc.C b/src/kernel/misc.C index 815c029d1..d109b31fc 100644 --- a/src/kernel/misc.C +++ b/src/kernel/misc.C @@ -37,6 +37,7 @@ #include <kernel/intmsghandler.H> #include <kernel/hbdescriptor.H> #include <kernel/ipc.H> +#include <kernel/timemgr.H> extern "C" void kernel_shutdown(size_t, uint64_t, uint64_t, uint64_t, @@ -224,7 +225,7 @@ namespace KernelMisc // Save away the current timebase. All threads are in this object // now so they're not going to be using the time for anything else. - iv_timebase = getTB(); + iv_timebase = getTB() + TimeManager::convertSecToTicks(1,0); } extern "C" void kernel_execute_winkle(task_t* t); @@ -309,7 +310,7 @@ namespace KernelMisc // Save away the current timebase. All threads are in this object // now so they're not going to be using the time for anything else. - iv_timebase = getTB(); + iv_timebase = getTB() + TimeManager::convertSecToTicks(1,0); } void WinkleAll::activeMainWork() |