new:chardev的挂载

This commit is contained in:
fslongjin
2022-09-10 00:18:18 +08:00
parent 7d510a2f86
commit ef7d20c0fb
16 changed files with 412 additions and 75 deletions

View File

@ -86,9 +86,9 @@ void main_loop(int kb_fd)
int main()
{
// 打开键盘文件
char kb_file_path[] = "/dev/keyboard.dev";
char kb_file_path[] = "/dev/char/ps2.kb0";
int kb_fd = open(kb_file_path, 0);
// printf("keyboard fd = %d\n", kb_fd);
print_ascii_logo();
// printf("before mkdir\n");
// mkdir("/aaac", 0);