F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Os.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title Os/Os.hpp
3 // \brief common definitions for the OSAL layer
4 // ======================================================================
5 #ifndef OS_OS_HPP_
6 #define OS_OS_HPP_
8 
22 
23 namespace Os {
24 namespace Generic {
26 enum Status {
29 };
30 
32 struct UsedTotal {
35 };
36 
37 } // namespace Generic
38 
42 void init();
43 
44 } // namespace Os
45 #endif
U8 DirectoryHandleStorage[FW_DIRECTORY_HANDLE_MAX_SIZE]
Definition: Os.hpp:15
Operation succeeded.
Definition: Os.hpp:27
PlatformSizeType FwSizeType
Operation failed.
Definition: Os.hpp:28
U8 RawTimeHandleStorage[FW_RAW_TIME_HANDLE_MAX_SIZE]
Definition: Os.hpp:21
U8 TaskHandleStorage[FW_TASK_HANDLE_MAX_SIZE]
Definition: Os.hpp:14
U8 ConditionVariableHandleStorage[FW_CONDITION_VARIABLE_HANDLE_MAX_SIZE]
Definition: Os.hpp:18
U8 CountingSemaphoreHandleStorage[FW_COUNTING_SEMAPHORE_HANDLE_MAX_SIZE]
Definition: Os.hpp:17
U8 MemoryHandleStorage[FW_MEMORY_HANDLE_MAX_SIZE]
Definition: Os.hpp:20
Status
Generic OK/ERROR status.
Definition: Os.hpp:26
U8 FileSystemHandleStorage[FW_FILESYSTEM_HANDLE_MAX_SIZE]
Definition: Os.hpp:16
void init()
Initialize the OS Abstraction Layer (OSAL)
Definition: Os.cpp:15
uint8_t U8
8-bit unsigned integer
Definition: BasicTypes.h:53
U8 FileHandleStorage[FW_FILE_HANDLE_MAX_SIZE]
Definition: Os.hpp:13
FwSizeType total
Total amount.
Definition: Os.hpp:34
FwSizeType used
Used amount.
Definition: Os.hpp:33
U8 QueueHandleStorage[FW_QUEUE_HANDLE_MAX_SIZE]
Storage type for OSAL handles.
Definition: Os.hpp:10
Generic used/total struct.
Definition: Os.hpp:32
U8 CpuHandleStorage[FW_CPU_HANDLE_MAX_SIZE]
Definition: Os.hpp:19
U8 MutexHandleStorage[FW_MUTEX_HANDLE_MAX_SIZE]
Definition: Os.hpp:12
U8 ConsoleHandleStorage[FW_CONSOLE_HANDLE_MAX_SIZE]
Definition: Os.hpp:11