Commit Graph

131 Commits

Author SHA1 Message Date
mintsuki
9eade7fa0f build: Actually pull CC variable from autoconf 2022-08-29 02:35:51 +02:00
mintsuki
fde0447802 fs: Drop NTFS support 2022-08-26 00:20:27 +02:00
mintsuki
c626e63b56 build: Fix #208 2022-08-22 18:41:32 +02:00
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
5f1680acc1 build: Misc improvements to makefiles 2022-08-15 17:41:04 +02:00
mintsuki
dc3a81cb61 build: Drop support for building GCC toolchain 2022-08-09 13:30:16 +02:00
mintsuki
4422ebd61c build: Get proper mkdir -p from autoconf 2022-08-08 22:00:25 +02:00
mintsuki
82e62a9678 host: Reorganise host-tools layout and add limine-version. Closes #196 2022-07-13 17:17:12 +02:00
mintsuki
0af37b7cf0 fwcfg: Drop support 2022-07-13 06:23:20 +02:00
mintsuki
c12a6979f9 build: Remove cross toolchain variable definitions from root makefile 2022-07-08 18:29:54 +02:00
mintsuki
6106285d35 build: Move to using external cross-detect package 2022-07-05 09:14:48 +02:00
mintsuki
2f0d48abe1 build: Undo changes that made reconf impossible in tarball releases. Fixes #187 2022-07-02 12:13:57 +02:00
mintsuki
098e8679f3 build: Rename freestanding-headers to match upstream 2022-06-30 07:48:42 +02:00
mintsuki
ff9649f65f build: Remove make_toolchain.sh in maintainer-clean 2022-06-25 06:03:34 +02:00
mintsuki
5c7e1839db build: Version file in tarballs is no longer needed 2022-06-25 05:37:27 +02:00
mintsuki
79b0d531cb build: Remove extra junk from release tarballs 2022-06-25 05:10:55 +02:00
mintsuki
4b32083ab6 build: Misc improvements 2022-06-22 21:56:41 +02:00
mintsuki
9f00d613a1 build: Update for newer limine-efi 2022-06-22 21:24:30 +02:00
mintsuki
2590c5ac05 build: Remove useless LIMINE_AS 2022-06-21 22:14:05 +02:00
mintsuki
ef4e014cb3 build: Use libgcc-binaries 2022-06-21 08:47:48 +02:00
mintsuki
75c3585e58 build: Use binary libgcc from GCC instead of our own stubs. Closes #180 2022-06-20 04:28:59 +02:00
mintsuki
7eac8416e7 build: Run toolchain-detect at configure time 2022-06-18 03:03:06 +02:00
mintsuki
7404cb467e build: Add toolchain-detect 2022-06-15 07:16:41 +02:00
mintsuki
1fc8247a86 build: Increase portability of Makefile targets 2022-06-15 03:25:36 +02:00
mintsuki
e906d0597d build: autogen.sh -> bootstrap 2022-06-15 00:35:16 +02:00
mintsuki
ee69dacb08 fs: Drop echfs support 2022-06-14 23:48:29 +02:00
mintsuki
13b9a333ad build: Update due to limine-efi rebranding 2022-06-14 05:58:34 +02:00
mintsuki
746d0ad529 protos: Drop stivale and stivale2 support 2022-06-14 03:56:30 +02:00
mintsuki
0d07b9db15 build: Remove test and screenshot.png from tarballs 2022-05-22 08:42:13 +02:00
mintsuki
8cb61a95d2 build: Fix targets that built redundandly on install 2022-04-17 08:46:28 +02:00
mintsuki
15267d8522 build: Misc Makefile fixes 2022-04-13 04:49:27 +02:00
mintsuki
9f2f606942 build: Fix out-of-tree builds 2022-04-13 04:19:37 +02:00
mintsuki
ca1cc67f7d build: Use SHESCAPE on autoconf include dir variables 2022-04-13 01:19:47 +02:00
mintsuki
4fb7fd8cfa build: Misc Makefile fixes 2022-04-13 01:09:05 +02:00
mintsuki
78a482e5ff build: Add limine.h to make uninstall 2022-04-13 01:05:27 +02:00
mintsuki
7388369611 build: Install limine.h header file 2022-04-13 01:01:47 +02:00
mintsuki
e8bab04ae8 build: Use autoconf generated install dir variables 2022-04-13 00:47:19 +02:00
mintsuki
c052509567 misc: limine-s2deploy -> limine-deploy 2022-04-02 09:31:19 +02:00
mintsuki
6f8474c249 misc: limine-eltorito-efi.bin -> limine-cd-efi.bin 2022-03-30 15:14:02 +02:00
mintsuki
65b5a7f66f misc: limine-install -> limine-s2deploy 2022-03-21 00:56:02 +01:00
mintsuki
3537dea44a build: Fix GNUmakefile.in issue introduced in 1984f40 2022-02-21 10:27:10 +01:00
mintsuki
c5d61e4ec6 build: Unbreak out of tree builds 2022-02-21 00:40:15 +01:00
mintsuki
8cae79abb7 build: Add common/config.h to distclean 2022-02-20 23:17:59 +01:00
mintsuki
1984f401a1 build: Use config.h for generated constants 2022-02-20 23:05:53 +01:00
mintsuki
92eef3feec build: Add more granular configure options 2022-02-18 02:23:39 +01:00
mintsuki
3c34f4a66a build: Add freestanding_headers to GNUmakefile.in 2022-02-15 06:26:22 +01:00
mintsuki
d510a29045 limine-install: Pass LDFLAGS to CC 2022-02-14 22:53:28 +01:00
mintsuki
5d407dbdf1 build: Minor build system tweaks 2022-02-11 20:46:57 +01:00
mintsuki
b5bb4a652d build: Fix order of toolchain dirs in PATH 2022-02-11 03:55:46 +01:00
mintsuki
459029eedf build: Make build system search for toolchain in source dir too 2022-02-10 22:36:50 +01:00
mintsuki
b138b1952e limine-install: Make hgen a shell script 2022-02-10 14:47:38 +01:00
mintsuki
23ee0bf491 build: Make eltorito-efi build manually toggleable 2022-02-08 15:35:54 +01:00
mintsuki
7d70e31258 build: Minor portability fixes 2022-02-03 11:35:54 +01:00
mintsuki
400202d926 misc: stage23 -> common 2022-02-03 10:38:43 +01:00
mintsuki
9332a9f4e1 build: Misc improvements 2022-02-02 16:24:13 +01:00
mintsuki
d7b8c3cf8a build: Misc improvements 2022-02-01 08:04:55 +01:00
mintsuki
e4bd2cfdbf build: Move program detection logic to configure script 2022-01-31 11:46:19 +01:00
mintsuki
ac865be1a1 build: Minor misc fixes 2022-01-29 17:23:41 +01:00
mintsuki
b023b96c6b build: Add *.tar.gz to maintainer-clean's rm 2022-01-28 12:35:53 +01:00
mintsuki
e412997a41 build: Make limine-hdd.h target not check toolchain 2022-01-28 12:16:03 +01:00
mintsuki
68faef19be misc: Various fixes 2022-01-28 10:23:26 +01:00
mintsuki
3ea53247c2 misc: incbin -> hgen 2022-01-28 09:35:48 +01:00
mintsuki
8670057e40 build: Makefile fixes 2022-01-28 08:53:35 +01:00
mintsuki
580a2c3461 limine-install: Make it pure C11 2022-01-28 08:35:06 +01:00
mintsuki
55166fda2f limine-install: Overhaul 2022-01-27 12:53:40 +01:00
mintsuki
1ed5ee7ef1 build: Manually copy install-sh into tarball 2022-01-22 05:47:45 +01:00
mintsuki
efc5084aa8 misc: Small NTFS test case tweak 2022-01-22 04:37:51 +01:00
mintsuki
a0a8b3c0d6 build: 'install' portability fixes 2022-01-22 03:46:48 +01:00
mintsuki
c28e3a6f7f build: Misc portability improvements 2022-01-22 03:10:25 +01:00
mintsuki
48d8b59986 build: Add more targets for which toolchain is not checked 2022-01-21 03:51:43 +01:00
mintsuki
a25129b8c1 build: Even more portability improvements 2022-01-21 02:57:31 +01:00
mintsuki
64467c06d8 build: Further portability improvements 2022-01-21 02:34:38 +01:00
mintsuki
7b0c430fb5 build: Misc portability improvements 2022-01-21 02:24:36 +01:00
mintsuki
58a3954c51 build: Add install-strip target 2022-01-17 22:36:47 +01:00
mintsuki
fd09538f48 build: Sanitise variables before building reduced-gnu-efi 2022-01-17 00:20:59 +01:00
mintsuki
62ef88a964 build: Clean all temp autoconf files in maintainer-clean 2022-01-16 22:48:33 +01:00
mintsuki
26641eb1a8 build: Misc build system improvements 2022-01-16 22:41:37 +01:00
mintsuki
11f9786de2 build: Fix make call in limine-install target 2022-01-16 20:41:33 +01:00
mintsuki
5c9426e9ef build: Add make uninstall target 2022-01-16 20:08:53 +01:00
mintsuki
4b65a49ddd build: Fix autogen.sh invocation in make dist 2022-01-16 20:02:10 +01:00
mintsuki
3bb70dcbee build: Move to using autoconf 2022-01-16 06:09:36 +01:00