mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-25 05:53:22 +00:00
feat: la64 boot (#1132)
* la64能够进入到kernel_main * ci: 添加为ubuntu编译qemu-loongarch64的脚本 * feat: la64能输出hello world * la64 安装gcc && 配置github ci * chore: 更新CI工作流和构建脚本中的Docker镜像版本至v1.10 Signed-off-by: longjin <longjin@DragonOS.org>
This commit is contained in:
@ -77,6 +77,7 @@ impl KprobeBuilder {
|
||||
};
|
||||
let inst_tmp_ptr = point.inst_tmp.as_ptr() as usize;
|
||||
let inst_32 = unsafe { core::ptr::read(address as *const u32) };
|
||||
|
||||
unsafe {
|
||||
core::ptr::write(address as *mut u32, EBREAK_INST);
|
||||
// inst_32 :0-32
|
||||
@ -90,6 +91,7 @@ impl KprobeBuilder {
|
||||
self.symbol,
|
||||
inst_32
|
||||
);
|
||||
Arc::new(point)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user