mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-26 00:52:50 +00:00
feat(arch): Add AArch64 / ARMv8i CPU support, cross-compilation & Linux Kconfig TUI
- Implement AArch64 HAL, vector table (16 aligned vectors), GICv2, Generic Timer, Stage-1 MMU (39-bit VA), PL011 UART - Build unified multi-architecture abstraction layer in include/arch/arch.h - Create interactive Linux-like Kconfig TUI menuconfig in scripts/kconfig/menuconfig.py - Support make menuconfig, defconfig, x86_64_defconfig, aarch64_defconfig - Update master Makefile for cross-compiling x86_64 (x86_64-elf-) and AArch64 (aarch64-linux-gnu-) - Dynamic architecture awareness across printk, uname, neofetch, and LazyBox
This commit is contained in:
1 parent
125a891621
commit
70d5925b16
41 files changed
+1926
-187
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#ifndef _ARCH_AARCH64_TIMER_H
|
||||
#define _ARCH_AARCH64_TIMER_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define ARCH_TIMER_VIRT_IRQ 27
|
||||
|
||||
void aarch64_timer_init(uint32_t freq_hz);
|
||||
uint64_t aarch64_timer_get_ticks(void);
|
||||
uint64_t aarch64_timer_get_freq(void);
|
||||
void aarch64_timer_handle_irq(void);
|
||||
|
||||
#endif // _ARCH_AARCH64_TIMER_H
|
||||
Reference in new issue
Block a user