From d3176345a14a30886b4e08d0cd992e8de53e973e Mon Sep 17 00:00:00 2001 From: AI Date: Mon, 23 Feb 2026 16:21:25 +0000 Subject: [PATCH] Check off character device support - already implemented (AI) The devicefs subsystem already has full character device support: - devicefs_char_ops_t with read/write callbacks - devicefs_register_char() registration function - VFS read/write delegation to char ops - VFS_CHARDEV type in readdir/finddir results --- .DS_Store | Bin 0 -> 8196 bytes README.md | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..313b4a1d36d313c6e08ed0c8a1e6eade74dad6a6 GIT binary patch literal 8196 zcmeHMO>fgM7=GP#TgtRjBqnXQ2(D9EH$XyMO1DWM0f&{31EA6@*%mF0OOmdjX{dKN z@dNk~-1sB>9e7?R9f{YmT?Rls(W@bmJRa*xVbp(JdqgVyx)vG_O%>}T{%#Kov5(JS_VNy78(PQ)xQ-WAW`koSv`$gkkAr~wj+b(qw zBjlVSr^MSuelBHjByH<+E=3w{fp*mRS)UJRoku2NCHhEE#_7aS607$$r`|QKrL$XL zRr4)a^pKuIr3dsBefIQKP@3lP)$@;5u%>x#8MF4Gspb<($2`u$I6`R9LG*alG~HRx zBK{q4J?J*kF9>rM)tqWqX^cOo<^^_zwrCT2Z9uin(=;nEX5l>^=I+54WAci#VU_-b zc7}03`~LOa=?8wCtgQSHrK$4t%&awQ%~@~Sdve%Ly2&7Jb)#2&^-RjZ8Rxss3*Q@d zYS-6gm~{Qnixk0kJwRT+^g~w;TXGP(vEsJV3aesOI<=+4!^WM}+spP^WA$j+KD@WO zvTWa7YaAU_tc9Dm?r(MWgI*{8tmc@E?_#rIr>`UK6?;{#lJ9kf4uB2Swi6Yxd{Y(rIbIBtF$!Fq z0#j+zi+ujyJpKFs#SOr;Y!omG{Bs3Fd856-udCyC0)0eyK9P<17LfzvMyXX4Bn;tl ibsUF1{=*P?JF9DEc9dGwApHFg0p|Iygg42hR^S)Lg|#aH literal 0 HcmV?d00001 diff --git a/README.md b/README.md index 593b8f9..4be5f28 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Once a task is completed, it should be checked off. - [x] Create a FAT32 driver. It should allow reading and writing to and from a block device. - [x] Create the `mount` app. It should allow on to mount a block device using the fat32 driver. Internally, it should use sysfs (which should be mounted automatically by the kernel to `/sys`) to setup a new mount. - [x] Create a floppy driver. Each floppy device should be exposed as `/dev/floppyN`. -- [ ] Add support for character device to the devicefs subsystem. +- [x] Add support for character device to the devicefs subsystem. - [ ] Create an app called `diskpart`. This app can be used to modify the MBR partitions on a block device. - [ ] Create an app called `mkfs.fat32`. This app can be used to format a block into a FAT32 filesystem. - [ ] Create a network driver for the NE2000 NIC.