Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
93de0ff2
Commit
93de0ff2
authored
Mar 30, 2021
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extend/double fpga info to free-format a la Tom
parent
023f7007
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
14 deletions
+24
-14
board-state.h
boards/ertm14/board-state.h
+12
-7
libertm.h
libertm/libertm.h
+12
-7
No files found.
boards/ertm14/board-state.h
View file @
93de0ff2
...
...
@@ -185,13 +185,18 @@ struct ertm14_nco_reset {
/* FIXME: this is lifted from ertm_board_info; structs *must* match */
struct
ertm14_device_metadata
{
uint32_t
vendor_id
;
uint32_t
device_id
;
uint32_t
version
;
uint32_t
byte_order_mark
;
unsigned
char
source_id
[
16
];
uint32_t
capability_mask
;
unsigned
char
vendor_uuid
[
16
];
union
{
char
fpga_build_info
[
256
];
struct
{
uint32_t
vendor_id
;
uint32_t
device_id
;
uint32_t
version
;
uint32_t
byte_order_mark
;
unsigned
char
source_id
[
16
];
uint32_t
capability_mask
;
unsigned
char
vendor_uuid
[
16
];
};
};
};
/* FIXME: this is lifted from ertm_board_info; structs *must* match */
...
...
libertm/libertm.h
View file @
93de0ff2
...
...
@@ -104,13 +104,18 @@ extern struct ertm_sync_states ertm_sync_states[];
* probably, only version and source_id are useful here
*/
struct
ertm_device_metadata
{
uint32_t
vendor_id
;
uint32_t
device_id
;
uint32_t
version
;
uint32_t
byte_order_mark
;
unsigned
char
source_id
[
16
];
uint32_t
capability_mask
;
unsigned
char
vendor_uuid
[
16
];
union
{
char
fpga_build_info
[
256
];
struct
{
uint32_t
vendor_id
;
uint32_t
device_id
;
uint32_t
version
;
uint32_t
byte_order_mark
;
unsigned
char
source_id
[
16
];
uint32_t
capability_mask
;
unsigned
char
vendor_uuid
[
16
];
};
};
};
struct
ertm_board_info
{
...
...
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