Commit Graph

19 Commits

Author SHA1 Message Date
Kacper Słomiński
e1f6ac8860
Initial AArch64 port (#205)
* Initial aarch64 port

* Enable chainload on aarch64

No changes necessary since it's all UEFI anyway.

* Add specification for Limine protocol for aarch64

* PROTOCOL: Specify state of information in DT /chosen node

* common: Add spinup code for aarch64

* common: Port elf and term to aarch64

* common: Port vmm to aarch64

Also prepare to drop VMM_FLAG_PRESENT on x86.

* protos: Port limine boot protocol to aarch64

Also drop VMM_FLAG_PRESENT since we never unmap pages anyway.

* test: Add DTB request

* PROTOCOL: Port SMP request to aarch64

* cpu: Add cache maintenance functions for aarch64

* protos/limine, sys: Port SMP to aarch64

Also move common asm macros into a header file.

* test: Start up APs

* vmm: Unify get_next_level and implement large page splitting

* protos/limine: Map framebuffer using correct caching mode on AArch64

* CI: Fix GCC build for aarch64

* entry, menu: Replace uses of naked attribute with separate asm file

GCC does not understand the naked attribute on aarch64, and didn't
understand it for x86 in older versions.
2022-08-18 17:32:54 +02:00
mintsuki
c43acd445f limine: Drop legacy framebuffer and terminal requests 2022-07-29 00:53:59 +02:00
mintsuki
683b38abd2 limine: Document new requests for terminal and framebuffer 2022-05-22 06:08:15 +02:00
mintsuki
9585dcbd5c limine: Add new requests for terminal and framebuffer 2022-05-22 03:44:04 +02:00
mintsuki
5c7578c54a limine: Add media type to limine_file structure 2022-04-02 10:28:07 +02:00
mintsuki
790a1303f8 Revert "limine: Initial support for non-ELF executables"
This reverts commit 4240256074.
2022-04-02 10:10:38 +02:00
mintsuki
5f525a1052 limine: Change terminal write contract 2022-04-02 10:05:14 +02:00
mintsuki
fb175747df limine: Add support for multiple terminals and properly document it 2022-04-01 10:00:36 +02:00
mintsuki
6caaada636 limine: Rename 2 limine_file members 2022-03-31 09:03:06 +02:00
mintsuki
4240256074 limine: Initial support for non-ELF executables 2022-03-30 14:04:04 +02:00
mintsuki
5045a266ee limine: Add extern "C" C++ guards to header 2022-03-29 05:19:15 +02:00
mintsuki
a688a1dd4f limine: Add stack size feature 2022-03-28 08:00:40 +02:00
mintsuki
647ad0ac14 limine: Add missing padding field from file structure 2022-03-28 07:35:49 +02:00
mintsuki
2cc4ff856f limine: TERM->TERMINAL 2022-03-28 04:57:02 +02:00
mintsuki
9391fa2eda limine: Add missing terminal constants 2022-03-28 00:01:32 +02:00
mintsuki
e25dd260fd limine: Add missing forward declaration of struct limine_smp_info 2022-03-26 14:28:20 +01:00
mintsuki
88a2cc6cd8 limine: Fix definition of limine_goto_address type 2022-03-26 14:24:08 +01:00
mintsuki
e8fcc85b03 limine: Rework modules/file/kernel_file 2022-03-26 09:27:09 +01:00
mintsuki
3c909c017b docs: limine: More documentation work 2022-03-26 01:31:38 +01:00