aboutsummaryrefslogtreecommitdiff
path: root/core/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/timer.c')
-rw-r--r--core/timer.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/timer.c b/core/timer.c
index 8f754cd..5cf9069 100644
--- a/core/timer.c
+++ b/core/timer.c
@@ -1,3 +1,14 @@
+// SPDX-License-Identifier: Apache-2.0
+/*
+ * run something, but later.
+ *
+ * Timers are run when the SBE timer interrupt triggers (based on us setting
+ * it) or when the regular heartbeat call from the OS occurs and there's a
+ * timer that's expired.
+ *
+ * Copyright 2014-2019 IBM Corp.
+ */
+
#include <timer.h>
#include <timebase.h>
#include <lock.h>