versadac
1
versadac - Scalable Recorder Firmware
Main Page
Classes
Files
File List
File Members
core
common
priority.h
1
/*******************************************************************************
2
FILE : priority.h
3
SYSTEM : Gnu C C++ for ARM under vxWorks
4
AUTHOR : Karl Wakeham
5
DATE : 07/04/2009
6
DESCRIPTION : Lists all the task priorities in the nana system
7
*******************************************************************************/
8
9
#ifndef __PRIORITY_H
10
#define __PRIORITY_H
11
12
/* VXWORKS task priority 0-255, 0 = highest */
13
/* - not allowed to assign a priority of 0 */
14
15
#define POWER_FAIL_PRIORITY 1
16
#define NVOL_HIGH_PRIORITY 2
17
#define IOS_FAST_PRIORITY 3
18
#define IOS_PRIORITY 4
19
#define WRITE_CONFIG_PRIORITY 5
20
#define SNTP_PRIORITY 6
21
#define FBEXEC_PRIORITY 102
22
#define PING_PRIORITY FBEXEC_PRIORITY + 10
23
#define UPGRADE_PRIORITY FBEXEC_PRIORITY + 10
24
#define UPGRADE_HIGH_PRIORITY 10
25
#define ARCHIVER_PRIORITY FBEXEC_PRIORITY + 2
26
#define DRE_PRIORITY 170 //80
27
#define DHCP_PRIORITY 56
28
#define MB_DRIVER_PRIORITY FBEXEC_PRIORITY - 1
29
#define MB_LISTEN_PRIORITY FBEXEC_PRIORITY + 2
30
#define MB_CONNECT_PRIORITY FBEXEC_PRIORITY + 2
31
#define MB_SERIAL_PRIORITY FBEXEC_PRIORITY + 2
32
#define HFFS_RECYCLER_PRIORITY (255 - (DRE_PRIORITY+1))
33
#define UHH_SERVER_PRIORITY 200 //140
34
#define UHH_CONNECTION_PRIORITY 200 //140
35
#define UHH_REFRESHER__PRIORITY 200 //140
36
#define AWDG_PRIORITY 253
37
#define NVOL_PRIORITY FBEXEC_PRIORITY + 3
38
#define FTPD_VX_PRIORITY 150
39
#define FTPS_VX_PRIORITY FTPD_VX_PRIORITY + 5
40
#define UI_BACKFILL_PRIORITY UHH_SERVER_PRIORITY - 1 // Want to be faster than the UHH navigator
41
#define SCREEN_SAVER_PRIORITY 253
42
#define EIP_PRIORITY MB_DRIVER_PRIORITY - 1
43
#define MB_MASTER_PRIORITY FBEXEC_PRIORITY + 1
44
#define USB_KEYBOARD_PRIORITY 210
45
#define DEVICE_INTERFACE USB_KEYBOARD_PRIORITY + 1
46
#define CLONING_PRIORITY FBEXEC_PRIORITY - 1 // Ensure the cloning is a higher priority than the execution engine.
47
// This ensures that the cloning does not get held off by automatic archiving to the USB device
48
#define EMAIL_PRIORITY (FBEXEC_PRIORITY + 5)
/* priority of email driver */
49
#define PRINTER_PRIORITY (FBEXEC_PRIORITY + 4)
/* priority of report printer driver */
50
51
#define PROF_DUA_PRIORITY FBEXEC_PRIORITY + 1
/* The DUA MUST always be at least 1 less priority than the FB
52
to ensure that the data locking on the I/O cache in the FB behaves correctly */
53
54
#define BONJOUR_PRIORITY FBEXEC_PRIORITY + 2
55
56
#define PASSWORD_PRIORITY 252
57
58
#define WEB_SERVER_PRIORITY 254
/* for security, web server is always
59
the lowest priority task, even lower
60
than the idle watchdog */
61
62
/* UHH Navigator refresh task period (seconds) */
63
#define UHH_REFRESHER_PERIOD 20000
/* Approx 33 minutes */
64
65
#endif
/* __PRIORITY_H */
Generated on Wed Aug 19 2020 10:33:38 for versadac by
1.8.9.1