Commit Graph

55 Commits

Author SHA1 Message Date
mintsuki
39559b39ff decompressor: Use as instead of nasm 2022-05-12 16:14:20 +02:00
mintsuki
1207b8d9b1 build: Pass -fno-stack-check in decompressor build 2022-03-02 15:55:15 +01:00
mintsuki
e898ef0425 misc: Make VLAs a warning 2022-02-18 01:09:51 +01:00
mintsuki
27d19e6f11 misc: Use freestanding_headers rather than shipping them 2022-02-15 06:18:57 +01:00
mintsuki
d307056635 misc: Disable strict aliasing, just in case 2022-01-25 09:16:26 +01:00
mintsuki
c28e3a6f7f build: Misc portability improvements 2022-01-22 03:10:25 +01:00
mintsuki
65ef9561a5 misc: Do not rely on libc-provided headers 2022-01-20 05:17:45 +01:00
mintsuki
f82b3cb76d build: Disentangle some makefile targets 2022-01-17 22:13:19 +01:00
mintsuki
26641eb1a8 build: Misc build system improvements 2022-01-16 22:41:37 +01:00
mintsuki
3bb70dcbee build: Move to using autoconf 2022-01-16 06:09:36 +01:00
mintsuki
a14bf5b2c9 build: Makefile -> GNUmakefile 2022-01-02 12:54:31 +01:00
mintsuki
fa79132281 build: Makefile improvements 2022-01-02 12:45:15 +01:00
mintsuki
3402b22cb6 misc: Move to standard C11 noreturn 2021-12-31 10:58:05 +01:00
mintsuki
245bea9ef3 build: Misc Makefile improvements 2021-12-22 22:08:19 +01:00
mintsuki
b332e85876 build: Improve clang detection code 2021-12-22 01:44:33 +01:00
mintsuki
66ac709839 build: BIOS linker scripts adjustments 2021-12-19 01:08:34 +01:00
mintsuki
477a04b630 build: Makefile improvements 2021-12-08 17:41:19 +01:00
mintsuki
21b625be43 build: Fix up MKESCAPE macro logic 2021-11-28 19:14:34 +01:00
mintsuki
6dcce5f7d2 build: Initial support for special characters in build path 2021-11-28 19:00:49 +01:00
mintsuki
89f6d7ddeb Revert "build: Support spaces in build directory"
This reverts commit d815c3d732.
2021-11-26 14:51:01 +01:00
mintsuki
d815c3d732 build: Support spaces in build directory 2021-11-25 18:44:10 +01:00
mintsuki
42cd7d95ac build: Compile BIOS Limine for i686 instead of i386 2021-11-10 13:18:08 +01:00
mintsuki
e215f77411 build: De-symlink tinf 2021-10-22 20:08:11 +02:00
mintsuki
820921a424 build: Add guards to ensure GNU Make is used 2021-10-21 03:03:21 +02:00
mintsuki
f3e6ca633f build: Pass -mtune=generic 2021-10-11 21:35:23 +02:00
mintsuki
7cca9dd42f build: Misc build system improvements 2021-08-07 07:26:34 +02:00
mintsuki
6275457af0 toolchain: Use program prefix limine- to avoid collisions with x86_64-elf system toolchains 2021-08-06 05:05:50 +02:00
mintsuki
07dc81bbee build: Pass -mabi=sysv to cc 2021-07-31 21:28:06 +02:00
mintsuki
af03050db3 build: Make build system more BSD friendly 2021-07-26 16:09:03 +02:00
mintsuki
7d44e79abc build: which -> command -v 2021-06-30 18:22:50 +02:00
mintsuki
e69f7429ce build: Use linker directly instead of going thru compiler; ensure we are buildable with an llvm toolchain 2021-05-31 00:32:43 +02:00
mintsuki
6e78e33989 misc: Replace Intel-syntax inline assembly with GAS-syntax inline assembly; ensure we can build with clang 2021-05-29 18:07:28 +02:00
mintsuki
f9f38f0c39 build: Revert usage of -mgeneral-regs-only 2021-05-22 10:26:56 +02:00
mintsuki
1a7736b295 build: Fix wrong variable used on 'which' invocation in decompressor Makefile 2021-04-09 02:52:23 +02:00
mintsuki
543edfa0b3 build: Make build system more flexible to use when using the host toolchain 2021-04-08 19:41:46 +02:00
mintsuki
f899648d86 build: Misc enhancements 2021-04-03 22:12:40 +02:00
mintsuki
8e4de054d7 build: Generally rework build system to easily allow 3rd party toolchains to be used. Drop reliance on libgcc for BIOS builds by shipping our own routines instead 2021-04-03 00:48:38 +02:00
mintsuki
db20cc7580 misc: Disentangle Makefiles so it builds fine with -j 2021-03-08 03:05:39 +01:00
mintsuki
a8626d6fdd misc: Initial Makefile rework 2021-03-08 00:50:23 +01:00
mintsuki
71d0feb23a tinf: Remove legacy stage 3 stuff 2021-03-01 23:51:12 +01:00
mintsuki
81f39417eb misc: Makefile adjustments 2021-02-22 04:34:36 +01:00
mintsuki
6739ff84ff tinf: Do not share decompressor and stage2/3 decompression code 2021-02-21 05:01:18 +01:00
Matteo Semenzato
f5c3b494bc Fix gzip code. 2020-12-31 19:15:43 +01:00
mintsuki
a9ff406d31 uri: Add support for gzip-compressed files 2020-12-27 00:27:47 +01:00
mintsuki
8460cee5ca misc: Implement stacktrace 2020-11-15 17:56:10 +01:00
Matteo Semenzato
e7ae195304 Add pxe support 2020-11-05 01:53:18 +01:00
mintsuki
c778e72af8 Fix up make clean 2020-10-04 00:01:05 +02:00
mintsuki
d9b062917a Fix all warnings and add -Werror to CFLAGS so people stop committing broken code 2020-10-01 02:16:28 +02:00
mintsuki
b41fa7e204 Fix bugs related to handling real mode switch in inline assembly sections; reenable LTO as that fixes it 2020-09-25 22:57:57 +02:00
mintsuki
ed5d049c72 Fix issue with int 13h DAP potentially not fitting within a single real mode segment; load stage 2 at 0x8000 and disable LTO as it is broken for some unknown reasons now 2020-09-25 22:36:26 +02:00