kmain.c File Reference

Implementaion: Main kernel loop. More...

#include <sys/mm.h>
#include <sys/time.h>
#include <sys/tm.h>
#include <sys/irq.h>
#include <sys/lcd.h>
#include <sys/dsensor.h>
#include <sys/dmotor.h>
#include <sys/dsound.h>
#include <sys/lnp.h>
#include <sys/lnp-logical.h>
#include <sys/program.h>
#include <rom/system.h>
#include <dbutton.h>
#include <string.h>
#include <conio.h>
#include <unistd.h>
Include dependency graph for kmain.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 the user main() More...
 
void show_on (void)
 show ON string More...
 
void show_off (void)
 show OFF string More...
 
void kmain (void)
 the beginning of everything More...
 

Variables

unsigned char * firmware_string = "Do you byte, when I knock?"
 firmware recognition string More...
 
char __bss
 the start of the uninitialized data segment More...
 
char __bss_end
 the end of the uninitialized data segment More...
 
char __text_hi
 the high memory segment More...
 
char __etext_hi
 

Detailed Description

Implementaion: Main kernel loop.

Author
Markus L. Noga marku.nosp@m.s@no.nosp@m.ga.de

Definition in file kmain.c.

Function Documentation

§ kmain()

§ main()

int main ( int  argc,
char **  argv 
)

the user main()

Referenced by kmain().

§ show_off()

void show_off ( void  )
inline

show OFF string

Definition at line 116 of file kmain.c.

References cls(), cputc_native_2(), cputc_native_3(), cputc_native_4(), cputs(), lcd_digit, and lcd_refresh().

Referenced by kmain().

§ show_on()

void show_on ( void  )
inline

Variable Documentation

§ __bss

char __bss

the start of the uninitialized data segment

Referenced by kmain().

§ __bss_end

char __bss_end

the end of the uninitialized data segment

Referenced by kmain().

§ __etext_hi

char __etext_hi

Referenced by kmain().

§ __text_hi

char __text_hi

the high memory segment

Referenced by kmain().

§ firmware_string

unsigned char* firmware_string = "Do you byte, when I knock?"

firmware recognition string

the ROM checks for this string when validating new firmware

Definition at line 58 of file kmain.c.


brickOS is released under the Mozilla Public License.
Original code copyright 1998-2005 by the authors.

Generated for brickOS Kernel Developer by doxygen 1.8.12