Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
0db43bb8
Commit
0db43bb8
authored
Mar 07, 2019
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch-wrs: update hal_shmem.h
add stuff for low-jitter Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
0f13e7ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
hal_shmem.h
arch-wrs/include/libwr/hal_shmem.h
+14
-2
No files found.
arch-wrs/include/libwr/hal_shmem.h
View file @
0db43bb8
...
...
@@ -12,14 +12,23 @@
#define HAL_PORT_STATE_CALIBRATION 3
#define HAL_PORT_STATE_LOCKING 4
#define HAL_PORT_STATE_RESET 5
#define HAL_PORT_STATE_INIT 6
/* Read temperature from SFPs */
#define READ_SFP_DIAG_ENABLE 1
#define READ_SFP_DIAG_DISABLE 0
/* Monitor port in SNMP */
#define HAL_PORT_MONITOR_ENABLE 1
#define HAL_PORT_MONITOR_DISABLE 2
#define DEFAULT_T2_PHASE_TRANS 0
#define DEFAULT_T4_PHASE_TRANS 0
struct
hal_port_tx_setup_state
;
struct
hal_port_rx_setup_state
;
/* Port delay calibration parameters */
typedef
struct
hal_port_calibration
{
...
...
@@ -113,6 +122,9 @@ struct hal_port_state {
/* whether the port shall be monitored by SNMP */
int
monitor
;
struct
hal_port_tx_setup_state
*
tx_setup_fsm
;
struct
hal_port_rx_setup_state
*
rx_setup_fsm
;
};
struct
hal_temp_sensors
{
...
...
@@ -123,8 +135,8 @@ struct hal_temp_sensors {
};
/* This is the overall structure stored in shared memory */
#define HAL_SHMEM_VERSION 1
2
/* Version 12, added monitor to
struct hal_port_state
*/
#define HAL_SHMEM_VERSION 1
3
/* Version 13, added fields
for determinism
*/
struct
hal_shmem_header
{
int
nports
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment