Ver Fonte

October 26,2024

xuxinyi há 1 ano atrás
pai
commit
5b36eab012
1 ficheiros alterados com 13 adições e 13 exclusões
  1. 13 13
      Welsh Corgi.md

+ 13 - 13
Welsh Corgi.md

@@ -37,17 +37,17 @@
 }
 [October 26,2024]
 {
-    Do you need facial recognition?
-    你需要人脸识别吗?
-    Yes,I do.
-    I need to recognize my face to unlock the door.
-    是的,我需要。
-    Do you nedd a password?
-    你需要密码吗?
-    No,I don't.
-    I can unlock the door with my face.
-    No,I can't.
-    例如:
-    Q:Can you unlock the door with your face?
-    A:Yes,I can.
+    Unix-based systems expose hardware to user space by means of special files,all created 
+    in the /dev directory upon device registration with the system.Programs willing to 
+    access a given device must locate its corresponding device file in /dev and perform the 
+    appropriate system call on it,which will be redirected to the driver of the underlying
+    device associated with that special file.Though system calls redirection is done by an 
+    operating system,what system calls are supported depends on the type of device and the 
+    driver implementation.
+
+    Unix-like 系统通过特殊文件将硬件暴露给用户空间,这些文件在设备注册到系统时全部创建于 /dev 目录下。
+    希望访问特定设备的程序必须在 /dev 中找到对应的设备文件,
+    并在其上执行适当的系统调用,该调用将被重定向到与该特殊文件关联的底层设备的驱动程序。
+    虽然系统调用的重定向是由操作系统完成的,但支持哪些系统调用则取决于设备的类型和驱动程序的实现。
+
 }