PCIe services: Difference between revisions

From Nintendo Switch Brew
Jump to navigation Jump to search
Roblabla (talk | contribs)
Add full interface name (imported from SwIPC)
No edit summary
Line 70: Line 70:
| 20 || ||
| 20 || ||
|}
|}
[[Category:Services]]

Revision as of 23:19, 24 March 2018

pcie

This is "nn::pcie::detail::IManager".

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

This is "nn::pcie::detail::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