18 #ifdef POK_NEEDS_ARINC653_PARTITION
20 #include <arinc653/types.h>
21 #include <arinc653/process.h>
23 #ifndef APEX_PARTITION
24 #define APEX_PARTITION
25 #define MAX_NUMBER_OF_PARTITIONS SYSTEM_LIMIT_NUMBER_OF_PARTITIONS
32 } OPERATING_MODE_TYPE;
34 typedef APEX_INTEGER PARTITION_ID_TYPE;
38 PARTITION_RESTART = 1,
39 HM_MODULE_RESTART = 2,
40 HM_PARTITION_RESTART = 3
41 } START_CONDITION_TYPE;
44 SYSTEM_TIME_TYPE PERIOD;
45 SYSTEM_TIME_TYPE DURATION;
46 PARTITION_ID_TYPE IDENTIFIER;
47 LOCK_LEVEL_TYPE LOCK_LEVEL;
48 OPERATING_MODE_TYPE OPERATING_MODE;
49 START_CONDITION_TYPE START_CONDITION;
52 extern void GET_PARTITION_STATUS (
54 RETURN_CODE_TYPE *RETURN_CODE );
55 extern void SET_PARTITION_MODE (
56 OPERATING_MODE_TYPE OPERATING_MODE,
57 RETURN_CODE_TYPE *RETURN_CODE );