|
Embedded Xinu Operating System
An ongoing research project and educational operating system.
|
#include <platform.h>#include <string.h>#include <bcm2837.h>#include <rpi_gpio.h>#include "../../../device/uart-pl011/pl011.h"#include <mmu.h>#include <random.h>#include <mutex.h>#include <queue.h>#include <thread.h>#include <semaphore.h>Data Structures | |
| struct | atag_header |
| struct | atag_mem |
| struct | atag_serialnr |
| struct | atag |
Functions | |
| void | led_init (void) |
| void | led_on (void) |
| void | led_off (void) |
| int | platforminit (void) |
Variables | |
| struct atag * | atags_ptr = (void*)-1 |
| void * | _end |
| struct atag* atags_ptr = (void*)-1 |
Physical memory address at which the bootloader placed the ARM boot tags. tagata This is set by the code in start.S. Here, initialize it to a dummy value to prevent it from being placed in .bss.
1.8.5