Files
subhobhai943 7b646c8cc4 feat(arch): Add armv8i (32-bit ARM/AArch32) architecture & complete TUI configurator
- Support ARMv8i / ARM32 (AArch32) baremetal target with arm-linux-gnueabihf toolchain
- Implement ARMv8i boot entry point, banked exception mode stacks (IRQ, ABT, UND, SVC)
- Implement 8 exception vectors, GICv2 distributor/CPU interface, CP15 Generic Timer (100 Hz), flat Section MMU
- Support PL011 UART for early console & interactive LazyBox TTY input
- Update Makefile with make armv8i_defconfig and automated cross-compilation
- Update scripts/kconfig/menuconfig.py with dedicated armv8i options
2026-08-18 11:13:23 +05:30

22 lines
454 B
C

#ifndef _ARCH_ARMV8I_CPU_H
#define _ARCH_ARMV8I_CPU_H
#include <stdint.h>
#include <stdbool.h>
typedef struct {
uint32_t midr;
uint32_t mpidr;
uint32_t implementer;
uint32_t part_number;
uint32_t architecture;
char model_name[64];
} armv8i_cpu_info_t;
void armv8i_cpu_init(void);
const armv8i_cpu_info_t* armv8i_get_cpu_info(void);
uint32_t armv8i_get_midr(void);
uint32_t armv8i_get_mpidr(void);
#endif // _ARCH_ARMV8I_CPU_H