Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
SDB - Self-describing Bus
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
SDB - Self-describing Bus
Commits
b15814a9
Commit
b15814a9
authored
Aug 17, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdb.h: proposed additions for data files
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
aaf55127
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
sdb.h
docs/specification/sdb.h
+8
-3
No files found.
docs/specification/sdb.h
View file @
b15814a9
/*
* This is
version 1.0 of sdb.h, as included the specification v1.0
* This is
a modified version 1.0 of sdb.h, not the official spec version
*/
#ifndef __SDB_H__
#define __SDB_H__
...
...
@@ -114,9 +114,10 @@ struct sdb_empty {
uint8_t
record_type
;
/* 0x3f */
};
/* The type of bus, for bus-specific flags
(currently only Wishbone)
*/
/* The type of bus, for bus-specific flags */
enum
sdb_bus_type
{
sdb_wishbone
=
0x00
sdb_wishbone
=
0x00
,
sdb_data
=
0x01
,
};
#define SDB_WB_WIDTH_MASK 0x0f
...
...
@@ -127,4 +128,8 @@ enum sdb_bus_type {
#define SDB_WB_LITTLE_ENDIAN 0x80
#define SDB_DATA_READ 0x04
#define SDB_DATA_WRITE 0x02
#define SDB_DATA_EXEC 0x01
#endif
/* __SDB_H__ */
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