[coreboot-gerrit] Change in coreboot[master]: include/timer.h: add NSECS_PER_SEC macro

Lin Huang (Code Review) gerrit at coreboot.org
Wed Nov 15 04:28:15 CET 2017


Lin Huang has uploaded this change for review. ( https://review.coreboot.org/22466


Change subject: include/timer.h: add NSECS_PER_SEC macro
......................................................................

include/timer.h: add NSECS_PER_SEC macro

Change-Id: I4367f84be5a4bd635b422b6e7cbdc9aa3ccfbf5c
Signed-off-by: Lin Huang <hl at rock-chips.com>
---
M src/include/timer.h
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/22466/1

diff --git a/src/include/timer.h b/src/include/timer.h
index 65ce9b4..49eae5e 100644
--- a/src/include/timer.h
+++ b/src/include/timer.h
@@ -15,6 +15,7 @@
 #ifndef TIMER_H
 #define TIMER_H
 
+#define NSECS_PER_SEC 1000000000
 #define USECS_PER_SEC 1000000
 #define MSECS_PER_SEC 1000
 #define USECS_PER_MSEC (USECS_PER_SEC / MSECS_PER_SEC)

-- 
To view, visit https://review.coreboot.org/22466
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4367f84be5a4bd635b422b6e7cbdc9aa3ccfbf5c
Gerrit-Change-Number: 22466
Gerrit-PatchSet: 1
Gerrit-Owner: Lin Huang <hl at rock-chips.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171115/8def67b8/attachment-0001.html>


More information about the coreboot-gerrit mailing list