Major interrupt change

This commit is contained in:
2024-10-23 14:11:22 +02:00
parent 11feab5014
commit f163659f0c
38 changed files with 498 additions and 468 deletions
+3 -3
View File
@@ -47,15 +47,15 @@ void initOpenFileTable() {
// offset and ptr are unused in these
stdin = fsInfo->openFileTable + 0;
stdin->_file = 0;
stdin->_file = STDIN_FILENO;
stdin->_flag = O_RDONLY;
stdout = fsInfo->openFileTable + 1;
stdout->_file = 1;
stdout->_file = STDOUT_FILENO;
stdout->_flag = O_WRONLY | O_APPEND;
stderr = fsInfo->openFileTable + 2;
stderr->_file = 2;
stderr->_file = STDERR_FILENO;
stderr->_flag = O_WRONLY | O_APPEND;
fsInfo->openFiles = 3;