解压环境

image-20240522190016060

编译内核

image-20240605190701262

创建 test.c

image-20240605191336516

调试

image-20240605191440694

image-20240605191450333

image-20240605191516148

image-20240605191741413

image-20240605191937304

image-20240605192109822

image-20240605192316158

image-20240605192456522

image-20240605192524414

image-20240605192659116

编辑 sys.h、unistd.h

image-20240605193011602

image-20240605193115647

编辑 system_call.s

image-20240605193207076

创建编辑 shm.c

image-20240605193617716

编辑 MakeFile

image-20240605193816641

编辑 sem.h

image-20240605193941230

创建 producer.c、consumer.c

image-20240605194339080

image-20240605194356457

后续步骤

image-20240605194516837

image-20240605194541745

image-20240605194601253

image-20240605194800364