Changeset 0b99e40 in mainline for init/init.c
- Timestamp:
- 2006-05-28T18:22:10Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2d1fde3b
- Parents:
- 7f5b37a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
init/init.c
r7f5b37a r0b99e40 45 45 #include <ipc/fb.h> 46 46 #include <async.h> 47 #include <time.h> 47 48 48 49 int a; … … 402 403 } 403 404 405 static void test_time(void) 406 { 407 int rc; 408 struct timeval tv; 409 struct timezone tz; 410 411 while (1) { 412 rc = gettimeofday(&tv, &tz); 413 printf("Rc: %d, Secs: %d, Usecs: %d\n", rc, tv.tv_sec, 414 tv.tv_usec); 415 } 416 } 404 417 405 418 int main(int argc, char *argv[]) … … 421 434 // test_pci(); 422 435 // test_kbd(); 423 test_async_kbd(); 436 test_time(); 437 // test_async_kbd(); 424 438 // test_fb(); 425 439
Note:
See TracChangeset
for help on using the changeset viewer.