diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-06-21 05:55:02 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-06-21 05:56:26 +0200 |
| commit | f3432c10bd694344f7e1f82ed8cd793358f1a400 (patch) | |
| tree | b2ac11c9c1378cb24e046185b6d2eeb1b0e16e98 /Kernel/Builtins | |
| parent | 3a11be8c6f15cb03b483e2693bcd244846c6d61d (diff) | |
IMP: protect other computers which doesnt support EPM layout (AMD64)
IMP: Add LTE builtin and NetworkDevice of type LTE.
UPDATE: Also updated ReadMe.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Kernel/Builtins')
| -rw-r--r-- | Kernel/Builtins/GSM/IO.hxx | 29 | ||||
| -rw-r--r-- | Kernel/Builtins/LTE/.keepme (renamed from Kernel/Builtins/GSM/.keepme) | 0 | ||||
| -rw-r--r-- | Kernel/Builtins/LTE/IO.hxx | 29 |
3 files changed, 29 insertions, 29 deletions
diff --git a/Kernel/Builtins/GSM/IO.hxx b/Kernel/Builtins/GSM/IO.hxx deleted file mode 100644 index 39de1a0f..00000000 --- a/Kernel/Builtins/GSM/IO.hxx +++ /dev/null @@ -1,29 +0,0 @@ -/* -------------------------------------------
-
-Copyright Zeta Electronics Corporation.
-
-File: GSM\IO.hxx.
-Purpose: GSM I/O.
-
-------------------------------------------- */
-
-#ifndef _INC_NETWORK_GSM_IO_HXX_
-#define _INC_NETWORK_GSM_IO_HXX_
-
-#include <NewKit/Defines.hpp>
-#include <NewKit/String.hpp>
-
-/// @brief GSM I/O routines.
-
-/// @brief Turn on SIM slot.
-NewOS::Boolean gsm_turn_on_slot(NewOS::Int32 slot);
-
-/// @brief Turn off SIM slot.
-NewOS::Boolean gsm_turn_off_slot(NewOS::Int32 slot);
-
-/// @brief Send AT command.
-NewOS::Boolean gsm_send_at_command(NewOS::Char* buf,
- NewOS::Size bufSz);
-
-
-#endif // ifndef _INC_NETWORK_GSM_IO_HXX_
diff --git a/Kernel/Builtins/GSM/.keepme b/Kernel/Builtins/LTE/.keepme index e69de29b..e69de29b 100644 --- a/Kernel/Builtins/GSM/.keepme +++ b/Kernel/Builtins/LTE/.keepme diff --git a/Kernel/Builtins/LTE/IO.hxx b/Kernel/Builtins/LTE/IO.hxx new file mode 100644 index 00000000..a3f62fa9 --- /dev/null +++ b/Kernel/Builtins/LTE/IO.hxx @@ -0,0 +1,29 @@ +/* -------------------------------------------
+
+Copyright Zeta Electronics Corporation.
+
+File: LTE\IO.hxx.
+Purpose: LTE I/O.
+
+------------------------------------------- */
+
+#ifndef _INC_NETWORK_LTE_IO_HXX_
+#define _INC_NETWORK_LTE_IO_HXX_
+
+#include <NewKit/Defines.hpp>
+#include <NewKit/String.hpp>
+
+/// @brief LTE I/O routines.
+
+/// @brief Turn on SIM slot.
+NewOS::Boolean lte_turn_on_slot(NewOS::Int32 slot);
+
+/// @brief Turn off SIM slot.
+NewOS::Boolean lte_turn_off_slot(NewOS::Int32 slot);
+
+/// @brief Send AT command.
+NewOS::Boolean lte_send_at_command(NewOS::Char* buf,
+ NewOS::Size bufSz);
+
+
+#endif // ifndef _INC_NETWORK_LTE_IO_HXX_
|
