FUCKKKK
This commit is contained in:
+13
-8
@@ -1,8 +1,13 @@
|
||||
# Deshab Linux desktop apps (LINUXAPP.CNF)
|
||||
# Format per line: DISPLAY_NAME|linux command
|
||||
# - '#' starts a comment, blank lines are ignored
|
||||
# - display name <= 11 chars, command <= 63 chars, args split on spaces
|
||||
# - command runs in the Linux guest via the compat layer (see dsl command)
|
||||
HELLO|/bin/echo hello from deshab linux
|
||||
UNAME|/bin/uname -a
|
||||
LS|/bin/ls -l /
|
||||
# Deshab Linux 应用注册表(desktop 启动时解析,注册为桌面图标)
|
||||
# 格式: NAME|DISPLAY|/guest/path|args
|
||||
# NAME : 应用内部名(大写,≤11 字符;VSCODE 会被 IDE attach 共享路径识别)
|
||||
# DISPLAY : 桌面图标显示名(≤15 字符)
|
||||
# path : Linux guest 内程序绝对路径(经 linux_compat exec_async 启动)
|
||||
# args : 空格分隔参数(可省略;exec_async 子进程自带 DISPLAY=:0
|
||||
# 与 LD_LIBRARY_PATH=/usr/lib/deshab)
|
||||
# 点击图标后共享 IDE attach 路径:确保 X server 在线 → 启动程序 →
|
||||
# 切到 IDE 页并挂接显示。多实例在 args 中用 --user-data-dir 隔离。
|
||||
# NAME 精确等于 VSCODE 的条目被 IDE +NEW IDE 共享路径识别(VSCODE2 等
|
||||
# 其它实例只经桌面图标启动,IDE tab 标签显示最近启动实例的 DISPLAY)。
|
||||
VSCODE|VSCode|/opt/vscode/bin/code|--no-sandbox --disable-gpu --user-data-dir /root/.vscode-data
|
||||
VSCODE2|VSCode2|/opt/vscode/bin/code|--no-sandbox --disable-gpu --user-data-dir /root/.vscode-data2 /root/workspace2
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Deshab Windows PE 应用注册表
|
||||
# 格式: NAME|DISPLAY|path/file.exe|args ('/' 分隔长路径, args 可省略)
|
||||
# 仅注册 GUI PE(消息循环驱动桌面 pump);控制台 PE 请走 CMD。
|
||||
DEAICUP|Deaicup|bin/deaicup.exe
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -67,13 +67,34 @@ verbose: yes
|
||||
#
|
||||
# Linux 兼容层模块(需先通过 WSL 运行 CODE/linux/build.sh 构建产物)
|
||||
# build.sh 成功后会自动取消下面 4 行注释;若未构建 Linux 内核请保持注释状态
|
||||
module_path: boot():/boot/linux-bzImage
|
||||
module_cmdline: linux:bzImage
|
||||
module_path: boot():/boot/linux-initrd.img
|
||||
module_cmdline: linux:initrd
|
||||
# module_path: boot():/boot/linux-bzImage
|
||||
# module_cmdline: linux:bzImage
|
||||
# module_path: boot():/boot/linux-initrd.img
|
||||
# module_cmdline: linux:initrd
|
||||
# Arch Linux rootfs (ext4) — exposed to Linux guest as virtio-blk /dev/vdb
|
||||
# via memory-backed virtio-mmio backend (GPA 0xF4002000, IRQ7).
|
||||
# initramfs init mounts this and switch_root's into Arch /sbin/init.
|
||||
# build_arch_rootfs.sh produces this file; uncomment after building.
|
||||
module_path: boot():/boot/linux-rootfs.img
|
||||
module_cmdline: linux:rootfs
|
||||
#module_path: boot():/boot/linux-rootfs.img
|
||||
#module_cmdline: linux:rootfs
|
||||
# VSCode Phase 4: 持久 rw 卷 (ext4) — virtio-blk slot6 可写后端
|
||||
# (GPA 0xF4006000, IRQ11) 暴露为 /dev/vdc,用作 overlayfs upperdir
|
||||
# 与 VSCode 数据卷。由 CODE/linux/build_extra_rootfs.sh 生成。
|
||||
# 文件不存在时 Limine 会报 module 加载失败 —— 构建脚本未生成该文件时
|
||||
# 请保持下面两行注释(后端对缺失 module 安全降级)。
|
||||
#module_path: boot():/boot/linux-extra-rootfs.img
|
||||
#module_cmdline: linux:extra_rootfs
|
||||
|
||||
# OpenXJ380 第三内核(三内核架构路线 B:XJ380 作为第二 guest)。
|
||||
# 把 OpenXJ380 构建产物 out/kernel.krl 复制为 SYSTEM/boot/xj380.krl 后
|
||||
# 取消下面两行注释;UTSM 的 xj380_loader 会把它作为 VM guest 加载。
|
||||
# 文件不存在时 Limine 会报 module 加载失败 —— 未构建前保持注释状态。
|
||||
#module_path: boot():/boot/xj380.krl
|
||||
#module_cmdline: xj380:kernel
|
||||
|
||||
# VSCode Phase 5: VSCode tarball(官方 VSCode-linux-x64 .tar.gz)—
|
||||
# 由 lxc_vscode_install() 流式推入 guest 并解包到 /opt/vscode
|
||||
# (overlay 持久化,二次启动自动跳过)。把 tarball 放到
|
||||
# SYSTEM/boot/linux-vscode.tar.gz 后取消下面两行注释。
|
||||
#module_path: boot():/boot/linux-vscode.tar.gz
|
||||
#module_cmdline: linux:vscode
|
||||
|
||||
+30
-25
@@ -1,5 +1,5 @@
|
||||
# Deshab Kernel Configuration
|
||||
# 修改此文件可自定义内核启动行为、驱动加载和算法参数
|
||||
# Deshab Kernel Configuration (DEV - QEMU 测试)
|
||||
# dev_mode=1 自动跑 shell.elf 测试序列, 调试全开, QEMU 验证选项
|
||||
# 路径: SYSTEM/system/deshab64/FUCK
|
||||
# UTSM 通过 Limine boot module 预加载读取(cmdline="fuck:config")
|
||||
# DSK 通过 FAT32 子目录遍历读取(路径 "SYSTEM /DESHAB64 /FUCK ")
|
||||
@@ -8,16 +8,22 @@
|
||||
[boot]
|
||||
vmm=1
|
||||
linux_guest=1
|
||||
# OpenXJ380 第二 guest(需 SYSTEM/boot/xj380.krl 存在,limine.conf 取消注释)
|
||||
# 启动后 host 挂起直至 XJ380 guest 终止;无模块时优雅跳过
|
||||
xj380_guest=1
|
||||
selftest=1
|
||||
dev_mode=0
|
||||
# 真机安全: LA57 检测 (0=不检测, 1=检测并警告, 2=检测并拒绝启动)
|
||||
# 真机若 BIOS 启用 5 级分页, 设 2 可阻止启动避免数据损坏
|
||||
la57_guard=2
|
||||
# 真机安全: PCIe MCFG 检测 (0=不检测, 1=检测并记录)
|
||||
mcfg_check=1
|
||||
# 真机安全: 允许的最大物理地址宽度 (超过则拒绝启动, 0=不限制)
|
||||
# 典型值: 46 (QEMU), 48 (多数实机), 52 (服务器)
|
||||
dev_mode=1
|
||||
# QEMU 不需要真机安全检测
|
||||
la57_guard=0
|
||||
mcfg_check=0
|
||||
max_phys_addr_bits=0
|
||||
# 实机启动日志持久化:把启动日志写入磁盘原始扇区(开发测试用)
|
||||
# 启用后启动时把内存日志缓冲区写到指定扇区区间
|
||||
# 事后用 WinHex/dd 读取对应扇区即可查看完整启动日志
|
||||
# 注意: 写入 LBA 1-33 会覆盖 GPT, 测试盘建议从 34 开始或测试后重新烧录
|
||||
disk_log=1
|
||||
disk_log_start=2
|
||||
disk_log_end=1000
|
||||
|
||||
[drivers]
|
||||
timer=1
|
||||
@@ -35,10 +41,7 @@ e1000=1
|
||||
virtio_net=1
|
||||
ath9k=0
|
||||
ps2kbd=1
|
||||
# 真机安全: 禁用不稳定的真机特性
|
||||
# ioapic_init=0 可禁用 IOAPIC 重定向表编程 (留 PIC 模式)
|
||||
ioapic_init=1
|
||||
# lapic_enable=0 可禁用 LAPIC software enable (留 firmware 状态)
|
||||
lapic_enable=1
|
||||
# B7: APIC 路由接管开关 (apic.drv 自解析, 缺失=0)
|
||||
# 0=保持 8259 PIC 路由 (默认, 现状不回归)
|
||||
@@ -46,21 +49,12 @@ lapic_enable=1
|
||||
# + tick 链路自验 (vector 0x20, 失败自动完整降级回 PIC 并注销钩子)
|
||||
apic_route=1
|
||||
# B7 阶段2: 随 apic_route=1 额外放开 legacy IRQ1(键盘)/12(鼠标)/11(e1000)
|
||||
# UTSM EOI 钩子已落地, 这些线可持续投递 (ISA 线 edge/high, e1000 强制
|
||||
# level/active-low 按 PCI INTx 规范), 默认 0 关闭
|
||||
# QEMU 全链路已验证 (B1 向导按键/B2 启动/e1000 IRQ11), 真机冒烟前可回 0
|
||||
# QEMU 全链路已验证 (B1 向导按键/B2 启动/e1000 IRQ11)
|
||||
apic_route_legacy=1
|
||||
# B7 阶段3: NVMe MSI/MSI-X 中断驱动开关 (nvme.drv 自解析, 缺失=1)
|
||||
# 1=自动尝试: 先 MSI cap, 缺则 MSI-X (QEMU nvme 只有 MSI-X) — 表项编程
|
||||
# + 动态向量 (0x40-0xDF 池) + Create IOCQ IEN=1/IV=0 + INTMC 解除;
|
||||
# 任何前提缺失 (无 MSI/MSI-X cap/旧内核无向量分配器/回读不符)
|
||||
# 自动回退纯轮询, 行为与旧版一致
|
||||
# 0=强制纯轮询 (CQE phase bit), 与 B7 阶段3 之前完全一致
|
||||
nvme_msi=1
|
||||
# B7 诊断 (apic.drv): 1=启用 HPET 绝对时基对拍 (tick 2x 定论实验) +
|
||||
# IRQ12 鼠标流观察窗 (配合 QEMU monitor mouse_move), 只增观测不改路由语义
|
||||
# 每次启动 +10s (6s 观察窗), 定论已完成 (PIT mode3 IOAPIC edge 双触发
|
||||
# ~200Hz), 常规构建保持 0
|
||||
# B7 诊断 (apic.drv): 1=启用 HPET 绝对时基对拍 + IRQ12 鼠标流观察窗
|
||||
# 常规构建保持 0
|
||||
apic_diag=0
|
||||
|
||||
[utsm]
|
||||
@@ -99,3 +93,14 @@ dsk_trace=1
|
||||
block_trace=1
|
||||
net_trace=0
|
||||
input_trace=1
|
||||
|
||||
[compat]
|
||||
# 兼容层动态链接库搜索路径配置
|
||||
# lib_path: FAT32 根目录下存放 .dll/.so 的子目录名
|
||||
lib_path=lib
|
||||
# linux_lib_guest_path: Linux guest 内库目录路径
|
||||
linux_lib_guest_path=/usr/lib/deshab
|
||||
# linux_lib_sync: 启动时推送 .so 到 Linux guest (0=关闭, 1=开启)
|
||||
linux_lib_sync=1
|
||||
# pe_dll_search: PE shim miss 后从 SYSTEM/lib 加载真实 DLL (0=关闭, 1=开启)
|
||||
pe_dll_search=1
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,4 +3,5 @@ network.device=auto
|
||||
network.name=
|
||||
network.password=
|
||||
network.ip=dhcp
|
||||
network.gateway=auto
|
||||
network.dns=auto
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user