摘要:
#include <linux/kernel.h>#include <linux/module.h>static init __init hello_init(void){ printk(KERN "Hello, world!"); return 0;}static void __exit hell 阅读全文
posted @ 2026-06-22 14:14
hhjyqj
阅读(0)
评论(0)
推荐(0)
摘要:
kernel启动脚本 $ cat open.sh #!/usr/bin/bash qemu-system-x86_64 \ -kernel /home/deck/sn512/linux-7.0.12/arch/x86_64/boot/bzImage \ -m 4G \ -smp 4 \ -drive 阅读全文
posted @ 2026-06-22 14:04
hhjyqj
阅读(3)
评论(0)
推荐(0)
摘要:
获取代码 git clone --depth 1 https://github.com/strace/strace.git 编译 # 生成configure配置文件 ./bootstrap # 编译环境配置,生成 Makefile ./configure --prefix=/home/deck/st 阅读全文
posted @ 2026-06-22 13:34
hhjyqj
阅读(2)
评论(0)
推荐(0)

浙公网安备 33010602011771号