summaryrefslogtreecommitdiffhomepage
path: root/SCIKit
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-08 19:41:07 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-08 19:41:07 +0200
commit5127ff4c1afe6c2ec62cc2cae1c48dbca3b7dd89 (patch)
tree756a472a2ddb3f57b84edd37f94e4bfdf04722ae /SCIKit
parent5c079a35ae724d9c6be0b8adf0717728a1368c69 (diff)
- Remove VGA syscall.
+ Add FB request syscall. + Add Updated DDK document. + Typo fixes and improvements. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'SCIKit')
-rw-r--r--SCIKit/SCIBase.hxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/SCIKit/SCIBase.hxx b/SCIKit/SCIBase.hxx
index 07b50b0a..95eb5bb1 100644
--- a/SCIKit/SCIBase.hxx
+++ b/SCIKit/SCIBase.hxx
@@ -97,3 +97,22 @@ IMPORT_C UInt64 RtlOpenFile(const char* path, const char* drv);
/// @param file_desc the file descriptor.
/// @return
IMPORT_C UInt0 RtlCloseFile(UInt64 file_desc);
+
+/// @brief Installs the TIB and GIB inside the current process.
+/// @param none
+/// @return > 0 error ocurred or already present, = 0 success.
+IMPORT_C UInt32 RtlInstallTIB(UInt0);
+
+/// @brief Asks for the process's own framebuffer. (Not a GPU one)
+/// @param flags
+/// @param fb_ptr
+/// @param fb_out_sz
+/// @return
+IMPORT_C UInt32 RtlRequestFB(SInt32* type, VoidPtr* fb_ptr, SizeT* fb_out_sz);
+
+enum
+{
+ eFBGPU,
+ eFBCPU,
+ eFBInvalid,
+}; \ No newline at end of file