Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
a0a2473d
Commit
a0a2473d
authored
May 04, 2023
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
May 09, 2023
Browse files
lib/simbricks/pcie: add posted MMIO write message
parent
78bd1e97
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/simbricks/pcie/proto.h
lib/simbricks/pcie/proto.h
+3
-1
No files found.
lib/simbricks/pcie/proto.h
View file @
a0a2473d
...
...
@@ -43,7 +43,7 @@
/** in bars.flags: this memory bar is prefetchable */
#define SIMBRICKS_PROTO_PCIE_BAR_PF (1 << 2)
/** in bars.flags: this memory bar is a dummy bar (device doesn't get MMIO
* messages for this, but it do
s
e get exposed to software. used for MSI-X). */
* messages for this, but it doe
s
get exposed to software. used for MSI-X). */
#define SIMBRICKS_PROTO_PCIE_BAR_DUMMY (1 << 3)
/**
...
...
@@ -179,6 +179,8 @@ SIMBRICKS_PROTO_MSG_SZCHECK(union SimbricksProtoPcieD2H);
#define SIMBRICKS_PROTO_PCIE_H2D_MSG_READCOMP 0x62
#define SIMBRICKS_PROTO_PCIE_H2D_MSG_WRITECOMP 0x63
#define SIMBRICKS_PROTO_PCIE_H2D_MSG_DEVCTRL 0x64
/* treat write as posted meaning device doesn't send a completion message */
#define SIMBRICKS_PROTO_PCIE_H2D_MSG_WRITE_POSTED 0x65
struct
SimbricksProtoPcieH2DRead
{
uint64_t
req_id
;
...
...
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