XenevaOS
Loading...
Searching...
No Matches
Functions | Variables
vector.c File Reference
#include <stdint.h>
#include <Hal/AA64/aa64lowlevel.h>
#include <Hal/AA64/aa64cpu.h>
#include <aucon.h>
#include <Hal/AA64/gic.h>
#include <Drivers/uart.h>
#include <Drivers/rtcmmio.h>
#include <Hal/AA64/sched.h>
#include <process.h>
#include <_null.h>
#include <Mm/vmarea.h>
#include <Board/RPI3bp/rpi3bp.h>
Include dependency graph for vector.c:

Functions

uint64_t read_sp ()
 
uint64_t read_sp_el1 ()
 
void AuDumpRegisters (AA64Thread *thr, AA64Registers *regs)
 
void sync_el1_handler (AA64Registers *regs)
 
bool aa64_restore_context (AA64Thread *thr)
 
void setuprint ()
 
void irq_el1_handler (AA64Registers *regs)
 
void fault_el1_handler (AA64Registers *regs)
 
void sync_el0_handler (AA64Registers *regs)
 
void AA64InitializeVectorTable ()
 AA64InitializeVectorTable – initialize the vector table.
 

Variables

bool _userprint = 0
 
char vectors []
 

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

◆ aa64_restore_context()

bool aa64_restore_context ( AA64Thread *  thr)
extern

◆ AA64InitializeVectorTable()

void AA64InitializeVectorTable ( )

AA64InitializeVectorTable – initialize the vector table.

◆ AuDumpRegisters()

void AuDumpRegisters ( AA64Thread *  thr,
AA64Registers regs 
)

◆ fault_el1_handler()

void fault_el1_handler ( AA64Registers regs)

◆ irq_el1_handler()

void irq_el1_handler ( AA64Registers regs)

◆ read_sp()

uint64_t read_sp ( )
extern

◆ read_sp_el1()

uint64_t read_sp_el1 ( )
extern

◆ setuprint()

void setuprint ( )

◆ sync_el0_handler()

void sync_el0_handler ( AA64Registers regs)

◆ sync_el1_handler()

void sync_el1_handler ( AA64Registers regs)

Variable Documentation

◆ _userprint

bool _userprint = 0

◆ vectors

char vectors[]
extern