From ea8c3497921be357c96bcccdba480e8e1f6c3d0a Mon Sep 17 00:00:00 2001 From: hanyujie2002 Date: Fri, 10 May 2024 18:27:59 +0800 Subject: [PATCH] List evolution patch (#74) * fix picture problem * fix --- img/{lectures => labs}/list_evolution.dio | 150 +++++++++++----------- img/{lectures => labs}/list_evolution.svg | 0 labs/kernel_api.rst | 2 +- 3 files changed, 76 insertions(+), 76 deletions(-) rename img/{lectures => labs}/list_evolution.dio (84%) rename img/{lectures => labs}/list_evolution.svg (100%) diff --git a/img/lectures/list_evolution.dio b/img/labs/list_evolution.dio similarity index 84% rename from img/lectures/list_evolution.dio rename to img/labs/list_evolution.dio index 6a6e4d8..1f79255 100644 --- a/img/lectures/list_evolution.dio +++ b/img/labs/list_evolution.dio @@ -1,6 +1,6 @@ - + - + @@ -10,7 +10,7 @@ - + @@ -22,7 +22,7 @@ - + @@ -34,27 +34,27 @@ - + - + - + - + - + - + @@ -66,7 +66,7 @@ - + @@ -78,16 +78,16 @@ - + - + - + - + @@ -99,7 +99,7 @@ - + @@ -111,51 +111,51 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -167,7 +167,7 @@ - + @@ -180,42 +180,42 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -227,7 +227,7 @@ - + @@ -239,57 +239,57 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -301,7 +301,7 @@ - + @@ -313,48 +313,48 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/img/lectures/list_evolution.svg b/img/labs/list_evolution.svg similarity index 100% rename from img/lectures/list_evolution.svg rename to img/labs/list_evolution.svg diff --git a/labs/kernel_api.rst b/labs/kernel_api.rst index 37d6c8d..3d9a18e 100644 --- a/labs/kernel_api.rst +++ b/labs/kernel_api.rst @@ -224,7 +224,7 @@ printk 列表的演变可以在下图中看到: -.. image:: ../img/list_evolution.svg +.. image:: ../img/labs/list_evolution.svg :width: 1000px 从上面的例子可以看出,通过 :c:macro:`list_add` 宏引入了堆栈类型的行为,并使用了标记。