diff --git a/src/bin/init/main.c b/src/bin/init/main.c index 65b2107..be6d6e8 100644 --- a/src/bin/init/main.c +++ b/src/bin/init/main.c @@ -1,5 +1,5 @@ /***************************************************************************************** - Copyright (c) 2002-2004 The UbixOS Project + Copyright (c) 2002-2004,2007 The UbixOS Project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are @@ -66,7 +66,7 @@ sched_yield(); #endif -/* +#if 0 i = fork(); if (0x0 == i) { printf("Starting Ubix Registry (ubistry)\n"); @@ -78,7 +78,8 @@ while (pidStatus(i) > 0x0) { sched_yield(); } -*/ +#endif + startup: i = fork(); if (0 == i) { @@ -103,7 +104,8 @@ } sched_yield(); } - printf("login exited?"); + + printf("Error: login exited!"); goto startup; @@ -113,4 +115,3 @@ /*** END ***/ - diff --git a/src/sys/init/main.c b/src/sys/init/main.c index 42b813d..653ed68 100644 --- a/src/sys/init/main.c +++ b/src/sys/init/main.c @@ -1,5 +1,5 @@ /***************************************************************************************** - Copyright (c) 2002-2004, 2005 The UbixOS Project + Copyright (c) 2002-2004, 2005, 2007 The UbixOS Project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are @@ -99,13 +99,9 @@ int i = 0x0; uInt32 *sysTask = 0x0; - /* Do A Clear Screen Just To Make The TEXT Buffer Nice And Empty */ - clearScreen(); - #ifdef DEBUG - kprint("AAA"); - kprint("BBB"); - kprintf("TEST"); - #endif + /* We preform a clearScreen to make the TEXT buffer nice and empty */ + screenClear(); + /* Modify src/sys/include/ubixos/init.h to add a startup routine */ for (i=0x0;i