27 lines
502 B
C
27 lines
502 B
C
#ifndef MEM_OS_OPS_H
|
|
#define MEM_OS_OPS_H
|
|
|
|
#ifdef __cplusplus
|
|
BEGIN_C_LINKAGE
|
|
#endif // __cplusplus
|
|
|
|
typedef enum mem_access {
|
|
WAPP_MEM_ACCESS_NONE,
|
|
WAPP_MEM_ACCESS_READ_ONLY,
|
|
WAPP_MEM_ACCESS_EXEC_ONLY,
|
|
WAPP_MEM_ACCESS_READ_WRITE,
|
|
WAPP_MEM_ACCESS_READ_EXEC,
|
|
WAPP_MEM_ACCESS_READ_WRITE_EXEC,
|
|
} MemAccess;
|
|
|
|
typedef enum mem_init_type {
|
|
WAPP_MEM_INIT_UNINITIALISED,
|
|
WAPP_MEM_INIT_INITIALISED,
|
|
} MemInitType;
|
|
|
|
#ifdef __cplusplus
|
|
END_C_LINKAGE
|
|
#endif // __cplusplus
|
|
|
|
#endif // !MEM_OS_OPS_H
|