diff options
author | garhve <git@garhve.com> | 2023-02-14 18:29:13 +0800 |
---|---|---|
committer | garhve <git@garhve.com> | 2023-02-14 18:29:13 +0800 |
commit | 734f042c9d99e0110d5e4cf8f2994a5ce27385d1 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /content/post/architecture of linux kernel.md | |
parent | 92e08c404fa53f304dec7490c4acb4b45dd0d7df (diff) |
delete zola
Diffstat (limited to 'content/post/architecture of linux kernel.md')
-rw-r--r-- | content/post/architecture of linux kernel.md | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/content/post/architecture of linux kernel.md b/content/post/architecture of linux kernel.md deleted file mode 100644 index 5547051..0000000 --- a/content/post/architecture of linux kernel.md +++ /dev/null @@ -1,26 +0,0 @@ -+++ -title = "Architecture of Linux Kernel" -date = 2022-09-03 -[taxonomies] -categories = ["cs"] -tags = ["linux"] -[extra] -math = true -+++ -## Description - -Modern microcontrollers nowadays support at least two privilege levels. Intel/AMD x86-64 family supports 4 levels, whilst ARM (32bit) microcontrollers support up to 7 levels (6 privileged, 1 non-privileged). - -Modern operating systems support at least 2 levels: - -- **User space**: For applications to run in unprivileged user mode -- **Kernel space**: For the kernel (and all its components) to run in privileged mode – kernel mode - -Address of these 2 spaces are separate. - -Applications in user mode will auto-linked to glibc(the GNU standard C library). Libraries only available in user mode, kernel mode doesn't have this conception. An application only can through **System call** to access kernel. On the other hand, system calls are the only legal entry point into the kernel space. - -> Libraries APIs: man section 3 -> System calls APIs: man section 2 - -to be continue... |