feat: D4 DKM colored log prefixes - every driver has its own temper
- log.c: color context (log_set_color / log_color_enable); ANSI only goes to serial, BOOTLOG.TXT buffer stays clean plain text - kernel_api.c: dkm_log_set_driver() — driver-name FNV-1a hash into an 8-color bright ANSI palette, deterministic per driver - load sites (dkm_core builtin + boot_modules external) set color around driver_init and clear after - FUCK [debug] color_log gate (dev=1, release=0) - QEMU verified: 1150 colored lines, per-driver stable colors (.build_tmp/qemu_serial_d4color.log)
This commit is contained in:
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
# Deshab Kernel Configuration — dev 变体(build/configs/dev/FUCK)
|
||||
# Deshab Kernel Configuration — dev 变体(build/configs/dev/FUCK)
|
||||
# build.ps1 -Variant dev 打包前注入 SYSTEM/system/deshab64/FUCK
|
||||
# 开发者模式:selftest 开、dev_mode 自动跑 shell.elf 测试、日志持久化、跳过向导直达桌面
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
vmm=1
|
||||
linux_guest=1
|
||||
xj380_guest=0
|
||||
# F4: 分级自检 0=关 1=快速 2=全量(含 UTSM selftest;注意 chacha20 KAT 间歇 FAIL 会挡启动)
|
||||
# F4: 分级自检 0=关 1=快速 2=全量(含 UTSM selftest;RFC 8439 KAT 已确定性对拍通过)
|
||||
selftest=1
|
||||
# F1 验证钩子: 1=启动自检后触发莲花崩溃屏(演示/回归用,日常保持 0)
|
||||
panic_test=0
|
||||
@@ -83,6 +83,7 @@ dsk_trace=1
|
||||
block_trace=1
|
||||
net_trace=0
|
||||
input_trace=1
|
||||
color_log=1
|
||||
|
||||
[compat]
|
||||
lib_path=lib
|
||||
@@ -101,3 +102,4 @@ pe_dll_search=1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user