armOS  0.1.0
Minimal ARM Operating System for the Raspberry Pi - Documentation generated for Pi 4.
kernel

Code for main kernel function. More...

Files

file  kernel.c
 Main kernel function.
 

Functions

void kernel_main ()
 

Detailed Description

Code for main kernel function.

Function Documentation

◆ kernel_main()

void kernel_main ( )

Main kernel function.

Entry point for the kernel in C code after bootloader. Main functionalities:

  • Initializes devices, system:
    • UART
    • Interrupts
    • LED
  • Prints starting message and device info.
  • Calls console(), in order to start and run a console.
See also
uart_init(), irq_vector_init(), enable_interrupt_controller(), irq_enable(), led_init(), console()