2026-09-25 15:53:30

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-09-25 15:53:30 +00:00
parent 9375aeaacf
commit 1f784d5541
69 changed files with 2404 additions and 2404 deletions
+28 -28
View File
@@ -18,30 +18,30 @@ public:
explicit ISession(Core::System& system_) : ServiceFramework{system_, "ISession"} {
// clang-format off
static const FunctionInfo functions[] = {
{0, nullptr, "QueryFunctions"},
{1, nullptr, "AcquireFunction"},
{2, nullptr, "ReleaseFunction"},
{3, nullptr, "GetFunctionState"},
{4, nullptr, "GetBarProfile"},
{5, nullptr, "ReadConfig"},
{6, nullptr, "WriteConfig"},
{7, nullptr, "ReadBarRegion"},
{8, nullptr, "WriteBarRegion"},
{9, nullptr, "FindCapability"},
{10, nullptr, "FindExtendedCapability"},
{11, nullptr, "MapDma"},
{12, nullptr, "UnmapDma"},
{13, nullptr, "UnmapDmaBusAddress"},
{14, nullptr, "GetDmaBusAddress"},
{15, nullptr, "GetDmaBusAddressRange"},
{16, nullptr, "SetDmaEnable"},
{17, nullptr, "AcquireIrq"},
{18, nullptr, "ReleaseIrq"},
{19, nullptr, "SetIrqEnable"},
{20, nullptr, "GetIrqEvent"},
{21, nullptr, "SetAspmEnable"},
{22, nullptr, "SetResetUponResumeEnable"},
{23, nullptr, "ResetFunction"}
FunctionInfo{0, nullptr, "QueryFunctions"},
FunctionInfo{1, nullptr, "AcquireFunction"},
FunctionInfo{2, nullptr, "ReleaseFunction"},
FunctionInfo{3, nullptr, "GetFunctionState"},
FunctionInfo{4, nullptr, "GetBarProfile"},
FunctionInfo{5, nullptr, "ReadConfig"},
FunctionInfo{6, nullptr, "WriteConfig"},
FunctionInfo{7, nullptr, "ReadBarRegion"},
FunctionInfo{8, nullptr, "WriteBarRegion"},
FunctionInfo{9, nullptr, "FindCapability"},
FunctionInfo{10, nullptr, "FindExtendedCapability"},
FunctionInfo{11, nullptr, "MapDma"},
FunctionInfo{12, nullptr, "UnmapDma"},
FunctionInfo{13, nullptr, "UnmapDmaBusAddress"},
FunctionInfo{14, nullptr, "GetDmaBusAddress"},
FunctionInfo{15, nullptr, "GetDmaBusAddressRange"},
FunctionInfo{16, nullptr, "SetDmaEnable"},
FunctionInfo{17, nullptr, "AcquireIrq"},
FunctionInfo{18, nullptr, "ReleaseIrq"},
FunctionInfo{19, nullptr, "SetIrqEnable"},
FunctionInfo{20, nullptr, "GetIrqEvent"},
FunctionInfo{21, nullptr, "SetAspmEnable"},
FunctionInfo{22, nullptr, "SetResetUponResumeEnable"},
FunctionInfo{23, nullptr, "ResetFunction"}
};
// clang-format on
@@ -54,8 +54,8 @@ public:
explicit PCIE(Core::System& system_) : ServiceFramework{system_, "pcie"} {
// clang-format off
static const FunctionInfo functions[] = {
{0, nullptr, "RegisterClassDriver"},
{1, nullptr, "QueryFunctionsUnregistered"}
FunctionInfo{0, nullptr, "RegisterClassDriver"},
FunctionInfo{1, nullptr, "QueryFunctionsUnregistered"}
};
// clang-format on
@@ -68,8 +68,8 @@ public:
explicit PCIE_LOG(Core::System& system_) : ServiceFramework{system_, "pcie:log"} {
// clang-format off
static const FunctionInfo functions[] = {
{0, nullptr, "GetLoggedState"},
{1, nullptr, "GetLoggedStateEvent"}
FunctionInfo{0, nullptr, "GetLoggedState"},
FunctionInfo{1, nullptr, "GetLoggedStateEvent"}
};
// clang-format on
RegisterHandlers(functions);