18#include <FreeNOS/Config.h>
19#include <FreeNOS/Support.h>
20#include <FreeNOS/System.h>
53 Address memoryBaseAddr = RAM_ADDR;
112 return kernel->
run();
ARMv6 cache management implementation.
virtual Result invalidate(Type type)
Invalidate the entire cache.
ARM System Control Coprocessor (CP15).
void set(SystemControlFlags flags)
Set system control flags in CP15.
Memory mapping for the kernel and user processes on the ARM architecture.
ARM virtual memory implementation.
virtual Result activate(bool initializeMMU=false)
Activate the MemoryContext.
virtual Result initialize()
Initialize the MemoryContext.
Generic logger that writes to a Device object.
static Error initializeHeap()
Initialize heap.
int run()
Execute the kernel.
void setMinimumLogLevel(Level level)
Set the minimum logging level.
static void * set(void *dest, int ch, unsigned count)
Fill memory with a constant byte.
static Size copy(void *dest, const void *src, Size count)
Copy memory from one place to another.
The NS16550 is a commonly available UART device.
virtual FileSystem::Result initialize()
Initializes the UART.
static const Address SecondaryCoreInfoAddress
Physical memory address for CoreInfo passed to secondary cores during bootup.
Represents the Sunxi kernel implementation.
C void constructors()
Invokes all function pointers inside the .ctors section.
#define read_core_id()
Read unique core identifier.
CoreInfo coreInfo
Local CoreInfo instance.
void clearBSS()
Generic function to clear the BSS memory section to zero.
unsigned int u32
Unsigned 32-bit number.
unsigned long Address
A memory address.
#define C
Used to define external C functions.
#define ALIGN(n)
Aligns a symbol at the given boundary.
#define SECTION(s)
Can be used to link a symbol inside a specific section.
BootImage contains executable programs to be loaded at system bootup.
u32 bootImageSize
Total size of the boot image in bytes.
Per-Core information structure.
Address bootImageSize
Boot image size in bytes.
Memory::Range kernel
Kernel memory range.
Address bootImageAddress
Boot image physical memory address.
Memory::Range memory
Defines the physical memory available to the core.
Size size
Size in number of bytes.
Address phys
Physical address.