Carter Li
5e1e94473e
Bootmgr (macOS): don't hard-code the firmware name
2026-06-03 15:23:42 +08:00
François Revol
ccf4f22f8b
Bootmgr (Haiku): Preliminary implementation
2026-05-31 23:37:35 +08:00
李通洲
abc6c0593c
Chore: IndentPPDirectives: BeforeHash [ci skip]
2026-04-15 16:17:08 +08:00
Carter Li
f6a363f7ad
Global: unifies GCC attributes usage
2026-04-09 20:02:04 +08:00
李通洲
831659966f
Style: adds Cpp11BracedListStyle: Block
2026-03-31 14:20:21 +08:00
李通洲
5f261702a9
Style: adds BreakBeforeCloseBracketBracedList: true
2026-03-31 14:20:21 +08:00
李通洲
e0eba8ce21
Chore: run clang-format
...
```bash
find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i
```
2026-03-29 10:03:32 +08:00
李通洲
bdc844f857
Bootmgr (Windows): prefers NT APIs
2026-03-09 15:20:01 +08:00
李通洲
26ae4eb21b
Chore (Windows): removes unnecessary headers
2026-03-07 01:18:07 +08:00
李通洲
70fa1341a8
Bootmgr (Windows): prefers NT API
2026-03-03 08:47:21 +08:00
李通洲
df87cdfa6e
Windows: defines NtCurrentProcess and uses it
2026-02-13 19:38:22 +08:00
李通洲
1323d007d3
Global: uses alignas where applicable
2026-02-10 17:32:34 +08:00
李通洲
3d84ad19be
macOS: uses MACH_PORT_NULL to maintain compatibility with older SDKs
...
Fixes #2140
2026-01-13 10:12:31 +08:00
Carter Li
d60b25e424
Refactor: renames src/util to src/common
2026-01-06 09:48:38 +08:00
Carter Li
61690a1804
Util: moves util/io/io.h to util/io.h
2026-01-06 09:13:40 +08:00
李通洲
1e43e35857
Chore: merges common/* into util/*
2026-01-05 17:54:41 +08:00
李通洲
01917b781b
Bootmgr (macOS): supports secure boot detection on Intel
2025-12-27 18:12:23 +08:00
李通洲
d01fc56ea2
Bootmgr (macOS): supports secure boot detection
2025-12-27 16:11:16 +08:00
李通洲
75d2c668d0
Modules: refactor module option handling for static allocation
...
Moves module option structs out of global config and removes dynamic allocation, using static buffers and size assertions for safer, simpler management.
Refactors module initialization and destruction to work with isolated option structs, eliminating the need for the previous modules container and related code.
Unifies module option header usage and updates detection logic to leverage statically-sized option buffers, improving encapsulation and maintainability.
Simplifies module function signatures and reduces coupling between modules and config.
Enhances future extensibility and reliability by enforcing max size constraints and removing unnecessary indirections.
2025-08-04 14:46:01 +08:00
apocelipes
3291a9945f
Global: add missing O_CLOEXEC to open()
2025-06-19 22:40:06 +08:00
李通洲
7562e05123
Chore: fix a lot code smell
2025-03-25 22:08:50 +08:00
李通洲
9eca6e0b48
Bootmgr: report boot order
2025-03-23 21:30:53 +08:00
李通洲
1c719fa743
Bootmgr (BSD): add support for OpenBSD and NetBSD
2025-03-23 12:08:15 +08:00
Carter Li
3d6bd26e59
Bootmgr (Linux): fix secure boot testing
...
Fix #1584
2025-02-24 13:57:38 +08:00
李通洲
fd26373c8f
Global: overall optimization
2024-10-26 11:42:07 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
李通洲
866c7303e6
Chore (Windows): use standard libc api
2024-09-20 20:25:59 +08:00
李通洲
c6e1677369
BootMgr (Windows): ControlSet001 -> CurrentControlSet
2024-08-13 14:46:24 +08:00
Carter Li
45446c1c1d
Bootmgr (FreeBSD): silence compiler warnings
2024-05-18 16:41:30 +08:00
李通洲
72138dbde5
Bootmgr (macOS): add support
2024-05-16 16:27:37 +08:00
李通洲
b2ea5d8f3e
Bootmgr: reuse shared code
2024-05-16 13:24:34 +08:00
Carter Li
49080c5361
Bootmgr (FreeBSD): add support
...
Requires root permission
2024-05-16 11:01:11 +08:00
李通洲
445dd94b53
Bootmgr: add new module
2024-05-15 21:49:15 +08:00