Attempt to get mailboxes up
[rpi-open-firmware.git] / arm_monitor.c
index c9168c7..ee6d384 100644 (file)
@@ -27,5 +27,13 @@ void monitor_irq() {
 void monitor_start() {\r
        printf("Starting IPC monitor ...\n");\r
 \r
-       __asm__ __volatile__ ("sleep" :::);\r
-}
\ No newline at end of file
+        for(;;) {\r
+            for(unsigned int i = 0; i < 99999; ++i);\r
+            if( (mmio_read32(0x7E00B9B8) & 0x40000000) ) {\r
+                putchar('-');\r
+            } else {\r
+                putchar('!');\r
+            }\r
+        }\r
+//     __asm__ __volatile__ ("sleep" :::);\r
+}\r
This page took 0.022544 seconds and 4 git commands to generate.