]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/MAI/bios_emulator/scitech/src/pm/tests/tick.c
* Code cleanup:
[karo-tx-uboot.git] / board / MAI / bios_emulator / scitech / src / pm / tests / tick.c
index ee1014fb9f556c10a42e05a074e9ae4bcdc72e37..378725ebe6236641b33b48d0090c36ccaa6feed5 100644 (file)
@@ -54,16 +54,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
@@ -77,13 +77,13 @@ int main(void)
     printf("Timer 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_restoreTimerHandler();
     PM_restoreBreakHandler();