Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: kernel/init.c

Issue 1437453002: [kernel][ports] Add basic ports functionality (Closed) Base URL: https://github.com/travisg/lk.git@master
Patch Set: fix Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/kernel/port.h ('k') | kernel/port.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: kernel/init.c
diff --git a/kernel/init.c b/kernel/init.c
index 557266c84f56c7fe74422e464bf1158dc1c44e2a..8bc4f3f991eb6687faafcfd3bc98cad893e26f98 100644
--- a/kernel/init.c
+++ b/kernel/init.c
@@ -26,6 +26,7 @@
#include <kernel/thread.h>
#include <kernel/timer.h>
#include <kernel/mp.h>
+#include <kernel/port.h>
void kernel_init(void)
{
@@ -43,5 +44,9 @@ void kernel_init(void)
// initialize kernel timers
dprintf(SPEW, "initializing timers\n");
timer_init();
+
+ // initialize ports
+ dprintf(SPEW, "initializing ports\n");
+ port_init();
}
« no previous file with comments | « include/kernel/port.h ('k') | kernel/port.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698