From 5c7a2bd724885a95ae29998438f51e702340b1c4 Mon Sep 17 00:00:00 2001 From: CyC2018 Date: Fri, 30 Oct 2026 02:57:56 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E8=AE=A1=E7=AE=97=E6=9C=BA=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E7=B3=BB=E7=BB=9F=20-=20=E6=A6=82=E8=BF=B0.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为面试中常问的小节加上高频标记。 --- notes/计算机操作系统 - 概述.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notes/计算机操作系统 - 概述.md b/notes/计算机操作系统 - 概述.md index e8b1f7d6..356ac74e 100644 --- a/notes/计算机操作系统 - 概述.md +++ b/notes/计算机操作系统 - 概述.md @@ -11,7 +11,7 @@ * [2. 内存管理](#2-内存管理) * [3. 文件管理](#3-文件管理) * [4. 设备管理](#4-设备管理) - * [系统调用](#系统调用) + * [系统调用](#系统调用) 🔥 * [宏内核和微内核](#宏内核和微内核) * [1. 宏内核](#1-宏内核) * [2. 微内核](#2-微内核) @@ -77,7 +77,7 @@ 主要包括缓冲管理、设备分配、设备处理、虚拟设备等。 -## 系统调用 +## 系统调用 🔥 CPU 通过特权级(privilege level)限制程序能做的事。x86 上用当前特权级(Current Privilege Level, CPL)表示,取值为 0~3,数字越小权限越高。操作系统内核运行在 0 级,称为内核态(kernel mode);应用程序运行在 3 级,称为用户态(user mode)。