From 36ec3e50aa1328bed5f3d2cfbf6a0596caa7a7c5 Mon Sep 17 00:00:00 2001 From: Amlal Date: Tue, 18 Feb 2025 12:22:39 +0100 Subject: ADD: File to install system calls and Symbols header file. Signed-off-by: Amlal --- dev/Kernel/HALKit/AMD64/HalSystemCallInstall.cc | 8 ++++++++ dev/LibSCI/SCI.h | 6 ++++-- dev/Usr/LibWM/Core.h | 8 ++++---- dev/Usr/LibWM/Symbols.h | 13 +++++++++++++ 4 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 dev/Kernel/HALKit/AMD64/HalSystemCallInstall.cc create mode 100644 dev/Usr/LibWM/Symbols.h (limited to 'dev') diff --git a/dev/Kernel/HALKit/AMD64/HalSystemCallInstall.cc b/dev/Kernel/HALKit/AMD64/HalSystemCallInstall.cc new file mode 100644 index 00000000..3e360582 --- /dev/null +++ b/dev/Kernel/HALKit/AMD64/HalSystemCallInstall.cc @@ -0,0 +1,8 @@ +/* ------------------------------------------- + + Copyright (C) 2025, Amlal EL Mahrouss, all rights reserved. + +------------------------------------------- */ + +#include + diff --git a/dev/LibSCI/SCI.h b/dev/LibSCI/SCI.h index 1e17ebd3..736c2d33 100644 --- a/dev/LibSCI/SCI.h +++ b/dev/LibSCI/SCI.h @@ -323,8 +323,10 @@ IMPORT_C SInt32 SchedBreakPoint(Void); IMPORT_C SInt32 VideoGetBuffer(VoidPtr* out); -IMPORT_C Void VideoDisposeBuffer(VoidPtr* in); +IMPORT_C SInt32 VideoDisposeBuffer(VoidPtr* in); -IMPORT_C SInt32 VideoGetProfile(VoidPtr* in); +IMPORT_C SInt32 VideoGetColorProfile(VoidPtr* in); + +IMPORT_C SInt32 VideoQueryInfo(VoidPtr* info_ptr, SizeT* info_sz); #endif // ifndef SCI_SCI_H diff --git a/dev/Usr/LibWM/Core.h b/dev/Usr/LibWM/Core.h index ad9fd444..1f2287ec 100644 --- a/dev/Usr/LibWM/Core.h +++ b/dev/Usr/LibWM/Core.h @@ -11,8 +11,8 @@ namespace LibCF { - class CFWindowContainer; - class CFWindowFrame; - class CFWindowTab; - class CFDesktopMenu; + class CFWindowContainer_; + class CFWindowFrame_; + class CFWindowTab_; + class CFDesktopMenu_; } // namespace LibCF \ No newline at end of file diff --git a/dev/Usr/LibWM/Symbols.h b/dev/Usr/LibWM/Symbols.h new file mode 100644 index 00000000..842b2bfb --- /dev/null +++ b/dev/Usr/LibWM/Symbols.h @@ -0,0 +1,13 @@ +/* ------------------------------------------- + + Copyright (C) 2025, Amlal EL Mahrouss, all rights reserved. + +------------------------------------------- */ + +#pragma once + +#include + +IMPORT_C SInt32 __wm_alert(const char* title, const char* msg, const char* opt_link); +IMPORT_C SInt32 __wm_prompt(const char* title, const char* msg, const char** input, const SizeT input_len); +IMPORT_C SInt32 __wm_exec(const char* path); \ No newline at end of file -- cgit v1.2.3