Implement reading from RomFS

This commit is contained in:
wheremyfoodat 2022-10-09 18:28:45 +03:00
parent 272cdefca1
commit df4cd0642d
10 changed files with 157 additions and 33 deletions

View file

@ -84,6 +84,7 @@ class Kernel {
MAKE_LOG_FUNCTION(logSVC, svcLogger)
MAKE_LOG_FUNCTION(logDebugString, debugStringLogger)
MAKE_LOG_FUNCTION(logError, errorLogger)
MAKE_LOG_FUNCTION(logFileIO, fileIOLogger)
// SVC implementations
void arbitrateAddress();
@ -110,6 +111,7 @@ class Kernel {
// File operations
void handleFileOperation(u32 messagePointer, Handle file);
void closeFile(u32 messagePointer, Handle file);
void readFile(u32 messagePointer, Handle file);
public: