aboutsummaryrefslogtreecommitdiff
path: root/src/kern/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kern/main.c')
-rw-r--r--src/kern/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kern/main.c b/src/kern/main.c
index 1eedb59..a6743d5 100644
--- a/src/kern/main.c
+++ b/src/kern/main.c
@@ -2,6 +2,8 @@
#include "arch/stm32l4xxx/peripherals/clock.h"
#include "arch/stm32l4xxx/peripherals/system.h"
#include "kern/log.h"
+#include "kern/panic.h"
+#include "kern/init.h"
void on_systick() /* Overrides weak-symbol on_systick. */
{
@@ -14,6 +16,8 @@ void on_systick() /* Overrides weak-symbol on_systick. */
int main()
{
klogf("Hello, World! Clock Mhz: %d\n", (uint32_t)get_clock_mhz());
+ klogf("Heap Start: %p\n", &HEAP_START);
+ klogf("Heap End : %p\n", &HEAP_STOP);
/* Set the countdown to start from 10,000,0000. */
SCB.strv_r = 10000000;