Software interrupt support
[rpi-open-firmware.git] / romstage.c
index c98dee9..c5e8d6c 100644 (file)
@@ -177,11 +177,14 @@ int _main(unsigned int cpuid, unsigned int load_address) {
        print_crap();\r
 \r
        g_CPUID = cpuid;\r
-       \r
+\r
        /* bring up SDRAM */\r
        sdram_init();\r
        printf("SDRAM initialization completed successfully!\n");\r
 \r
+        /* test software interrupts */\r
+        __asm__("swi 2");\r
+       \r
        /* bring up ARM */\r
        arm_init();\r
 \r
This page took 0.021149 seconds and 4 git commands to generate.