优化多arch支持

This commit is contained in:
zhangzheng
2024-01-18 00:48:16 +08:00
parent 9e12267f9d
commit c4c39521d7
63 changed files with 2363 additions and 103 deletions

View File

@@ -55,7 +55,7 @@ static void sys_syscall(kobject_t *kobj, syscall_prot_t sys_p, msg_tag_t in_tag,
case SYS_INFO_GET:
{
f->r[1] = sys_tick_cnt_get();
f->r[2] = CONFIG_KNL_TEXT_ADDR + BOOTFS_ADDR_OFFSET;
f->r[2] = CONFIG_KNL_TEXT_ADDR + CONFIG_BOOTFS_OFFSET;
tag = msg_tag_init4(0, 0, 0, 0);
}
break;