Skip to content

Commit 399a012

Browse files
committed
update
1 parent ce1a283 commit 399a012

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# notes
2-
just some notes, u can see these in my blogs.
2+
just some notes, u can see the useful one on my blog.
3+

操作系统/uCore.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
系统的链接脚本(kernel.ld)决定了elf程序的内存地址的虚拟映射,__程序中的绝对地址在链接时确定__。我们需要把系统放置在物理地址0x80200000处,需要进行这步操作的原因是在这个运行时刚进入S态,并没有激活虚存机制。~~我还不知道为什么是这个地址~~
66

7-
啊啊啊啊啊啊啊啊啊啊啊啊汇编好难难难难难难难难难难啊啊啊啊啊啊啊啊啊啊啊
7+
~~啊啊啊啊啊啊啊啊啊啊啊啊汇编好难难难难难难难难难难啊啊啊啊啊啊啊啊啊啊啊~~
88

99
### entry.s
1010

@@ -77,3 +77,6 @@ addi x1, x1, %pcrel_lo(array)
7777
```
7878

7979
这个指令序列使用了两个新的伪指令:%pcrel_hi和%pcrel_lo。这两个伪指令用于计算符号的高位和低位偏移,在这个例子中,将符号"array"的地址作为立即数加载到寄存器x1中。
80+
81+
## 进程
82+

0 commit comments

Comments
 (0)