]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/MAI/bios_emulator/scitech/src/common/gabeos.c
* Code cleanup:
[karo-tx-uboot.git] / board / MAI / bios_emulator / scitech / src / common / gabeos.c
index 1d8a54321692a8cff14ba8872f21851811b0cdbc..a934bd1cfc300d69d558d442631043805c1e8460 100644 (file)
@@ -70,10 +70,10 @@ library is used with the application local version of Nucleus.
 ****************************************************************************/
 PM_imports * NAPI GA_getSystemPMImports(void)
 {
-    // TODO: We may very well want to provide a system shared library
-    //       that eports the PM functions required by the Nucleus library
-    //       for BeOS here. That will eliminate fatal errors loading new
-    //       drivers on BeOS!
+    /* TODO: We may very well want to provide a system shared library */
+    /*       that eports the PM functions required by the Nucleus library */
+    /*       for BeOS here. That will eliminate fatal errors loading new */
+    /*       drivers on BeOS! */
     return &_PM_imports;
 }
 
@@ -124,7 +124,7 @@ Nucleus loader library.
 ibool NAPI GA_TimerInit(void)
 {
     if (_GA_haveCPUID() && (_GA_getCPUIDFeatures() & CPU_HaveRDTSC) != 0)
-        haveRDTSC = true;
+       haveRDTSC = true;
     return true;
 }
 
@@ -136,11 +136,11 @@ void NAPI GA_TimerRead(
     GA_largeInteger *value)
 {
     if (haveRDTSC)
-        _GA_readTimeStamp(value);
+       _GA_readTimeStamp(value);
     else {
-        struct timeval t;
-        gettimeofday(&t, NULL);
-        value->low = t.tv_sec*1000000 + t.tv_usec;
-        value->high = 0;
-        }
+       struct timeval t;
+       gettimeofday(&t, NULL);
+       value->low = t.tv_sec*1000000 + t.tv_usec;
+       value->high = 0;
+       }
 }