You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: chapter9/README.md
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,4 +19,16 @@ The rest of the physical memory is freely available to the kernel and applicatio
19
19
20
20
The address space between the beginning of memory and `0x40000000` address is the kernel space, while the space between the address `0x40000000` and the end of the memory corresponds to user space:
21
21
22
-

22
+

23
+
24
+
The kernel space in virtual memory, which is using 1Gb of virtual memory, is common to all tasks (kernel and user).
25
+
26
+
This is implemented by pointing the first 256 entries of the task page directory to the kernel page directory:
27
+
28
+
```cpp
29
+
/*
30
+
* Kernel Space. v_addr < USER_OFFSET are addressed by the kernel pages table
0 commit comments