Mintsuki
f46468e240
config: Free macro on malformed definition
2026-01-11 23:45:22 +01:00
Mintsuki
f928275180
acpi,config: Fix SMBIOS 3.0 entry point structure definition
2026-01-05 01:10:12 +01:00
Mintsuki
2c14cda023
config: Fix SMBIOS 3.0 table iteration using wrong field
2026-01-05 00:20:50 +01:00
Mintsuki
2159a4c3a5
lib/config: Use static buffers to fix memory leaks
2025-12-28 12:46:54 +01:00
Mintsuki
5fcaaff029
lib/config: Add SMBIOS structure validation and bounds checking
2025-12-26 13:45:09 +01:00
Mintsuki
4d5bfa6af2
lib/config: Return pointer to static buffer from config_get_value()
2025-12-25 18:56:36 +01:00
Mintsuki
e06cc37f68
lib/config: Change default paths for config search and ordering
...
Also prefer searching within the EFI app's directory first, on EFI.
2025-11-03 21:29:01 +01:00
Mintsuki
f362e6bb5a
config: Slight change to the config file search semantics for EFI
2025-03-16 09:43:18 +01:00
mintsuki
db8f63bdfd
config: Drop support for legacy config format
2025-02-10 13:31:18 +01:00
no92
03d62d883c
common: support SMBIOS-passed configs with a limine:config: prefix
...
This commit allows for passing configurations via SMBIOS. The first
encountered OEM string (type 11) that begins with a `limine:config:`
prefix is taken as the configuration. This takes priority over
configurations loaded from disk.
2024-11-04 02:46:48 +01:00
mintsuki
29907c9d12
config: Add and document FW_TYPE built-in macro. Fixes #422
2024-10-27 02:51:31 +02:00
mintsuki
0c2f0ddebe
build: Remove custom __riscv64 define in favour of built-in __riscv define
...
We do not support non-64-bit RISC-V anyways
2024-08-11 20:25:01 +02:00
mintsuki
9ac63ddd6a
lib/config: Also accept tab as whitespace after option colon
2024-08-05 19:20:18 +02:00
mintsuki
d914e6e4e4
config: Bring back support for legacy config with a warning
2024-08-02 14:39:14 +02:00
mintsuki
8cecd79ddb
lib/config: Ignore spaces at beginning of entry name
2024-08-02 06:18:28 +02:00
mintsuki
0357fdb4d8
lib/config: Use / to start entry names instead of :
2024-08-01 16:54:20 +02:00
mintsuki
ddd3f5161a
config: Change syntax to allow any casing for option names
2024-08-01 06:44:24 +02:00
mintsuki
a014d0758c
config: Change syntax to use colon instead of equals for options
2024-08-01 06:27:47 +02:00
Keegan Saunders
d9a2fb95a9
Add LoongArch support
2024-07-31 23:05:27 -04:00
mintsuki
4fe338c31f
misc: readline.h -> getchar.h and drop unused readline() code
2024-04-20 01:32:34 +02:00
mintsuki
17904009ad
config: Fix missing NULL check in init_config()
2024-04-19 23:42:57 +02:00
mintsuki
c4a8aada42
config: Discard trailing whitespace. Closes #321
2023-12-26 18:48:47 +01:00
mintsuki
cad3c72fce
config: Fix bug where macro definitions were not skipped over properly when parsing
2023-10-29 04:27:04 +01:00
mintsuki
57e4ae6e25
config: Disable editor by default if config b2sum present. Fixes #296
2023-08-29 22:34:20 -05:00
mintsuki
670b635ae8
config: Add and document ARCH built-in macro
2023-06-15 02:23:48 +02:00
mintsuki
c30afde043
config: Do not allow recovering from checksum mismatch panic
2023-02-07 00:28:51 +01:00
mintsuki
843be07536
config: No longer allow continuing boot on checksum mismatches
2023-02-07 00:23:10 +01:00
mintsuki
8c7a98310a
misc: Add support for enrolling config blake2b hash in executable
2023-02-06 23:58:19 +01:00
Qwinci
3dd0a6fb41
limine: Add UEFI PXE support
...
based on @qookei's original patch with small changes.
2023-01-17 18:47:36 +02:00
mintsuki
3d95c8960c
misc: Add limine subdir to stage3 and config search paths. Closes #225
2022-10-06 06:29:11 +02:00
mintsuki
c44f514738
misc: Rename UEFI and BIOS define macros
2022-09-02 02:29:12 +02:00
mintsuki
27711e3c27
fs: Add case insensitive fopen() for config and system files
2022-09-02 01:12:13 +02:00
mintsuki
07080dcbc2
misc: blib.h -> misc.h
2022-08-26 23:44:47 +02:00
mintsuki
11b56c39f0
config: Only make keys global if before first entry
2022-08-14 14:45:20 +02:00
mintsuki
e3c4fbea25
config: Remove stray include
2022-08-06 20:21:56 +02:00
mintsuki
0af37b7cf0
fwcfg: Drop support
2022-07-13 06:23:20 +02:00
mintsuki
0431623381
fs: Improve layering in how the filesystem API works
2022-07-04 20:16:33 +02:00
mintsuki
51b36a79c4
config: Fix macro parsing and expansion bugs
2022-07-02 13:29:18 +02:00
mintsuki
effb82320e
config: Fix issue with configs without trailing newline
2022-07-02 12:05:56 +02:00
Benji Dial
1dd3885bb6
and for tabs
2022-03-20 21:38:50 -04:00
Benji Dial
66e3c5ef5c
also do it on the first line
2022-03-20 20:38:37 -04:00
Benji Dial
4df856f3dc
skip spaces at the start of lines in config files
2022-03-20 20:32:00 -04:00
mintsuki
400202d926
misc: stage23 -> common
2022-02-03 10:38:43 +01:00