PCIe services

From Nintendo Switch Brew
Revision as of 11:26, 22 January 2018 by Roblabla (talk | contribs) (Add full interface name (imported from SwIPC))
Jump to navigation Jump to search

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