Chromium Code Reviews| Index: top/main.c |
| diff --git a/top/main.c b/top/main.c |
| index 0065a94507ca75bca0473dc2f7f5daf03bef343c..6ef8431500f6e5bc0b3be16e17c68c5ec89a20fe 100644 |
| --- a/top/main.c |
| +++ b/top/main.c |
| @@ -36,6 +36,7 @@ |
| #include <kernel/mutex.h> |
| #include <kernel/novm.h> |
| #include <kernel/thread.h> |
| +#include <kernel/port.h> |
| #include <lk/init.h> |
| #include <lk/main.h> |
| @@ -116,6 +117,9 @@ void lk_main(ulong arg0, ulong arg1, ulong arg2, ulong arg3) |
| lk_primary_cpu_init_level(LK_INIT_LEVEL_HEAP, LK_INIT_LEVEL_KERNEL - 1); |
| kernel_init(); |
| + // initialize the named ports. |
| + port_init(); |
|
travisg
2015/11/19 21:26:10
Should probably just move this inside kernel_init(
cpu_(ooo_6.6-7.5)
2015/11/20 22:18:46
Done.
|
| + |
| lk_primary_cpu_init_level(LK_INIT_LEVEL_KERNEL, LK_INIT_LEVEL_THREADING - 1); |
| // create a thread to complete system initialization |