]> git.sur5r.net Git - u-boot/blobdiff - board/MAI/bios_emulator/scitech/src/pm/tests/rtc.c
* Code cleanup:
[u-boot] / board / MAI / bios_emulator / scitech / src / pm / tests / rtc.c
index 07c6eaafd472c02ab73231d83bf0e49e65713da3..acef9226a8ac13d4a69f0cfaa48a07be868ab0e5 100644 (file)
@@ -52,16 +52,16 @@ int main(void)
 
     printf("Program running in ");
     switch (PM_getModeType()) {
-        case PM_realMode:
-            printf("real mode.\n\n");
-            break;
-        case PM_286:
-            printf("16 bit protected mode.\n\n");
-            break;
-        case PM_386:
-            printf("32 bit protected mode.\n\n");
-            break;
-        }
+       case PM_realMode:
+           printf("real mode.\n\n");
+           break;
+       case PM_286:
+           printf("16 bit protected mode.\n\n");
+           break;
+       case PM_386:
+           printf("32 bit protected mode.\n\n");
+           break;
+       }
 
     /* Install our timer handler and lock handler pages in memory. It is
      * difficult to get the size of a function in C, but we know our
@@ -75,13 +75,13 @@ int main(void)
     printf("RealTimeClock interrupt handler installed - Hit ESC to exit\n");
     oldCount = count;
     while (1) {
-        if (PM_kbhit() && (PM_getch() == 0x1B))
-            break;
-        if (count != oldCount) {
-            printf("Tick, Tock: %ld\n", count);
-            oldCount = count;
-            }
-        }
+       if (PM_kbhit() && (PM_getch() == 0x1B))
+           break;
+       if (count != oldCount) {
+           printf("Tick, Tock: %ld\n", count);
+           oldCount = count;
+           }
+       }
 
     PM_restoreRealTimeClockHandler();
     PM_restoreBreakHandler();