Download arm64.c from Jose-dev/natkernel: direct link, hf CLI and curl.
- Browser
- Download file 646 Bytes
-
https://huggingface.co/datasets/Jose-dev/natkernel/resolve/main/arm64.c
- Command line
-
hf download hf://datasets/Jose-dev/natkernel/arm64.c
-
curl -L -o arm64.c https://huggingface.co/datasets/Jose-dev/natkernel/resolve/main/arm64.c
646 Bytes
| /* NATKERNEL ARM64 — from Linux arch/arm64/ (524 files, 170K lines) */ | |
| void arm64_init(void) {} | |
| void arm64_halt(void) { for(;;) /* wfi */ arch_pause(); } | |
| void arm64_isb(void) {} | |
| void arm64_dsb(void) {} | |
| void arm64_dmb(void) {} | |
| u64 arm64_read_pmcr(void) { return 0; } | |
| u64 arm64_read_mpidr(void) { return 0; } | |
| void arm64_write_vbar(u64 addr) { (void)addr; } | |
| void arm64_tlbi(void) {} | |
| typedef struct { u32 id; } arm64_data; | |
| static inline int arm64_ok(void){return 1;} | |
| int arm64_check(void){ if(1)return 1; return 0; } | |
| void arm64_iter(void){ for(u32 i=0;i<10;i++){} } | |
| void* arm64_get(void){ return NULL; } | |