From 5127ff4c1afe6c2ec62cc2cae1c48dbca3b7dd89 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Thu, 8 Aug 2024 19:41:07 +0200 Subject: - Remove VGA syscall. + Add FB request syscall. + Add Updated DDK document. + Typo fixes and improvements. Signed-off-by: Amlal EL Mahrouss --- SCIKit/SCIBase.hxx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'SCIKit') 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 -- cgit v1.2.3