XenevaOS
Loading...
Searching...
No Matches
Functions | Variables
init.c File Reference
#include <aurora.h>
#include <stdint.h>
#include <aucon.h>
#include <Hal/AA64/aa64cpu.h>
#include <dtb.h>
#include <Mm/pmmngr.h>
#include <Mm/vmmngr.h>
#include <Mm/kmalloc.h>
#include <Mm/shm.h>
#include <_null.h>
#include <Hal/AA64/gic.h>
#include <Hal/basicacpi.h>
#include <Hal/AA64/aa64lowlevel.h>
#include <loader.h>
#include <Drivers/uart.h>
#include <Hal/AA64/qemu.h>
#include <list.h>
#include <Fs/vfs.h>
#include <Fs/initrd.h>
#include <Drivers/virtio.h>
#include <audrv.h>
#include <Hal/AA64/sched.h>
#include <Fs/tty.h>
#include <ftmngr.h>
#include <Ipc/postbox.h>
#include <Board/board.h>
#include <Board/RPI3bp/rpi3bp.h>
Include dependency graph for init.c:

Functions

void AuUartPutc (char c)
 LBUartPutc – put a character to UART.
 
void AuUartPutString (const char *s)
 LBUartPutString – print a string to UART.
 
bool AuLittleBootUsed ()
 AuLittleBootUsed – check if little boot protocol is used.
 
void sub_rsp ()
 
void AuEntryTest (uint64_t test)
 
void AuEntryTest2 (uint64_t test)
 
void AuEntryTest4 (uint64_t test)
 
KERNEL_BOOT_INFOAuGetBootInfoStruc ()
 AuGetBootInfoStruc – return kernel boot information.
 
void debugLIBOn ()
 
void XPT2046Initialise ()
 
void _AuMain (KERNEL_BOOT_INFO *info)
 _AuMain – the main entry point for kernel
 

Variables

int _fltused = 1
 
int i_ = 1
 
KERNEL_BOOT_INFObootinfo
 

Detailed Description

BSD 2-Clause License

Copyright (c) 2022-2025, Manas Kamal Choudhury All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Function Documentation

◆ _AuMain()

void _AuMain ( KERNEL_BOOT_INFO info)

_AuMain – the main entry point for kernel

Parameters
info– Kernel Boot information passed by bootloader

◆ AuEntryTest()

void AuEntryTest ( uint64_t  test)

◆ AuEntryTest2()

void AuEntryTest2 ( uint64_t  test)

◆ AuEntryTest4()

void AuEntryTest4 ( uint64_t  test)

◆ AuGetBootInfoStruc()

KERNEL_BOOT_INFO * AuGetBootInfoStruc ( )

AuGetBootInfoStruc – return kernel boot information.

◆ AuLittleBootUsed()

bool AuLittleBootUsed ( )

AuLittleBootUsed – check if little boot protocol is used.

◆ AuUartPutc()

void AuUartPutc ( char  c)

LBUartPutc – put a character to UART.

Parameters
c– Character to put

◆ AuUartPutString()

void AuUartPutString ( const char *  s)

LBUartPutString – print a string to UART.

Parameters
s– String to print

◆ debugLIBOn()

void debugLIBOn ( )
extern

◆ sub_rsp()

void sub_rsp ( )
extern

◆ XPT2046Initialise()

void XPT2046Initialise ( )
extern

Variable Documentation

◆ _fltused

int _fltused = 1
extern

BSD 2-Clause License

Copyright (c) 2022-2023, Manas Kamal Choudhury All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

◆ bootinfo

KERNEL_BOOT_INFO* bootinfo

◆ i_

int i_ = 1