diff --git a/docs/index.rst b/docs/index.rst index 748ce3a9..82206d7a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -22,6 +22,7 @@ kernel/process_management/index kernel/filesystem/index kernel/debug/index + kernel/cpu_arch/index .. toctree:: diff --git a/docs/kernel/cpu_arch/index.rst b/docs/kernel/cpu_arch/index.rst new file mode 100644 index 00000000..0f8f9dde --- /dev/null +++ b/docs/kernel/cpu_arch/index.rst @@ -0,0 +1,10 @@ +处理器架构 +==================================== + + 该部分文档提供了和处理器架构相关的一些编程实现细节的描述。 + +.. toctree:: + :maxdepth: 1 + :caption: 目录 + + x86_64/index diff --git a/docs/kernel/cpu_arch/x86_64/index.rst b/docs/kernel/cpu_arch/x86_64/index.rst new file mode 100644 index 00000000..70e4c658 --- /dev/null +++ b/docs/kernel/cpu_arch/x86_64/index.rst @@ -0,0 +1,8 @@ +x86-64相关文档 +==================================== + +.. toctree:: + :maxdepth: 1 + :caption: 目录 + + usb_legacy_support diff --git a/docs/kernel/cpu_arch/x86_64/usb_legacy_support.md b/docs/kernel/cpu_arch/x86_64/usb_legacy_support.md new file mode 100644 index 00000000..7026e21c --- /dev/null +++ b/docs/kernel/cpu_arch/x86_64/usb_legacy_support.md @@ -0,0 +1,9 @@ +# USB Legacy支持 + +## 简介 + +  usb legacy support指的是,由BIOS提供的,对USB鼠标、USB键盘的支持。在支持并启用USB Legacy Support的计算机上,USB鼠标、键盘由BIOS提供模拟,在操作系统看来,就像接入了PS/2鼠标、键盘一样。 + +## 相关 + +- 在初始化USB控制器时,需要关闭它的USB Legacy Support diff --git a/docs/kernel/debug/index.rst b/docs/kernel/debug/index.rst index 2e874265..5e6a640b 100644 --- a/docs/kernel/debug/index.rst +++ b/docs/kernel/debug/index.rst @@ -7,4 +7,4 @@ :maxdepth: 1 :caption: 目录 - kernel_api + traceback