XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
aa64cpu.h File Reference
#include <stdint.h>
#include <aurora.h>
Include dependency graph for aa64cpu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _aa64_regs_
 

Macros

#define CPU_IMPLEMENTER_ARM   0x41
 
#define CPU_IMPLEMENTER_BROADCOM   0x42
 
#define CPU_IMPLEMENTER_CAVIUM   0x43
 
#define CPU_IMPLEMENTER_FUJITSU   0x46
 
#define CPU_IMPLEMENTER_INTEL   0x49
 
#define CPU_IMPLEMENTER_APPLIED_MICRO   0x50
 
#define CPU_IMPLEMENTER_QUALCOMM   0x51
 
#define CPU_IMPLEMENTER_MARVELL   0x56
 
#define CPU_IMPLEMENTER_APPLE   0x61
 

Typedefs

typedef struct _aa64_regs_ AA64Registers
 

Functions

void AA64CpuInitialize ()
 AA64CpuInitialize – initialize aa64 cpu.
 
void AA64CPUPostInitialize (KERNEL_BOOT_INFO *info)
 AA64CPUPostInitialize – initilaize post cpu requirements.
 
void AA64SleepUS (uint32_t us)
 AA64SleepUS – sleep for sometimes.
 
void AA64SleepMS (uint32_t ms)
 AA64SleepMS – sleep for sometimes.
 
void AuAA64SyscallHandler (AA64Registers *regs)
 AuAA64SyscalHandler – common system call handler for aarch64.
 

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.

Macro Definition Documentation

◆ CPU_IMPLEMENTER_APPLE

#define CPU_IMPLEMENTER_APPLE   0x61

◆ CPU_IMPLEMENTER_APPLIED_MICRO

#define CPU_IMPLEMENTER_APPLIED_MICRO   0x50

◆ CPU_IMPLEMENTER_ARM

#define CPU_IMPLEMENTER_ARM   0x41

◆ CPU_IMPLEMENTER_BROADCOM

#define CPU_IMPLEMENTER_BROADCOM   0x42

◆ CPU_IMPLEMENTER_CAVIUM

#define CPU_IMPLEMENTER_CAVIUM   0x43

◆ CPU_IMPLEMENTER_FUJITSU

#define CPU_IMPLEMENTER_FUJITSU   0x46

◆ CPU_IMPLEMENTER_INTEL

#define CPU_IMPLEMENTER_INTEL   0x49

◆ CPU_IMPLEMENTER_MARVELL

#define CPU_IMPLEMENTER_MARVELL   0x56

◆ CPU_IMPLEMENTER_QUALCOMM

#define CPU_IMPLEMENTER_QUALCOMM   0x51

Typedef Documentation

◆ AA64Registers

typedef struct _aa64_regs_ AA64Registers

Function Documentation

◆ AA64CpuInitialize()

void AA64CpuInitialize ( )
extern

AA64CpuInitialize – initialize aa64 cpu.

◆ AA64CPUPostInitialize()

void AA64CPUPostInitialize ( KERNEL_BOOT_INFO info)
extern

AA64CPUPostInitialize – initilaize post cpu requirements.

Parameters
info– Pointer to KERNEL BOOT INFORMATIONs

◆ AA64SleepMS()

void AA64SleepMS ( uint32_t  ms)
extern

AA64SleepMS – sleep for sometimes.

Parameters
ms– milliseconds to sleep

◆ AA64SleepUS()

void AA64SleepUS ( uint32_t  us)
extern

AA64SleepUS – sleep for sometimes.

Parameters
us– microseconds to sleep

◆ AuAA64SyscallHandler()

void AuAA64SyscallHandler ( AA64Registers regs)
extern

AuAA64SyscalHandler – common system call handler for aarch64.

Parameters
regs– Register information passed by sync_exception