Difference between revisions of "PCIe services"
Jump to navigation
Jump to search
(Created page with "= pcie = {| class="wikitable" border="1" |- ! Cmd || Name |- | 0 || #Initialize |} == Initialize == Takes the current process handle (0xFFFF8001). Returns an event handl...") |
|||
Line 4: | Line 4: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
− | | 0 || [[# | + | | 0 || [[#GetISession]] |
+ | |- | ||
+ | | 1 || [[#ListEndpoints]] | ||
|} | |} | ||
Line 10: | Line 12: | ||
Takes the current process handle (0xFFFF8001). | Takes the current process handle (0xFFFF8001). | ||
− | Returns an event handle and session handle to a [[# | + | Returns an event handle and session handle to a [[#ISession]]. |
− | == | + | == ListEndpoints == |
+ | Takes a type-6 buffer. | ||
+ | |||
+ | Returns a list of connected PCIe endpoint devices. | ||
+ | |||
+ | == ISession == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 24: | Line 31: | ||
|- | |- | ||
| 3 || || Takes a type-6 buffer. Always returns 0x1278? | | 3 || || Takes a type-6 buffer. Always returns 0x1278? | ||
+ | |- | ||
+ | | 4 || || | ||
+ | |- | ||
+ | | 5 || || | ||
+ | |- | ||
+ | | 6 || || | ||
+ | |- | ||
+ | | 7 || || | ||
+ | |- | ||
+ | | 8 || || | ||
+ | |- | ||
+ | | 9 || || | ||
+ | |- | ||
+ | | 10 || || | ||
+ | |- | ||
+ | | 11 || || | ||
+ | |- | ||
+ | | 12 || || | ||
+ | |- | ||
+ | | 13 || || | ||
+ | |- | ||
+ | | 14 || || | ||
+ | |- | ||
+ | | 15 || || | ||
+ | |- | ||
+ | | 16 || || | ||
+ | |- | ||
+ | | 17 || || | ||
+ | |- | ||
+ | | 18 || || | ||
+ | |- | ||
+ | | 19 || || | ||
+ | |- | ||
+ | | 20 || || | ||
|} | |} |
Revision as of 13:02, 10 July 2017
pcie
Cmd | Name |
---|---|
0 | #GetISession |
1 | #ListEndpoints |
Initialize
Takes the current process handle (0xFFFF8001).
Returns an event handle and session handle to a #ISession.
ListEndpoints
Takes a type-6 buffer.
Returns a list of connected PCIe endpoint devices.
ISession
Cmd | Name | Notes |
---|---|---|
0 | Takes a type-6 buffer. Returns all zeroes. | |
1 | Always returns 0x1278? | |
2 | Always returns 0x1278? | |
3 | Takes a type-6 buffer. Always returns 0x1278? | |
4 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 |