Line 15: |
Line 15: |
| | | |
| == QueryFunctionsUnregistered == | | == QueryFunctionsUnregistered == |
− | Takes a type-0x6 output buffer containing an array of [[#FunctionState]]. Returns an output s32 '''Count'''. | + | Takes a type-0x6 output buffer containing an array of [[#FunctionState]]. Returns an output s32 '''FunctionStateCount'''. |
| | | |
| == ISession == | | == ISession == |
Line 58: |
Line 58: |
| | 16 || [[#SetDmaEnable]] | | | 16 || [[#SetDmaEnable]] |
| |- | | |- |
− | | 17 || [[#AcquireIrq]] | + | | 17 || [[#CreateIrq]] ([1.0.0-6.2.0] [[#AcquireIrq]]) |
| |- | | |- |
| | 18 || [[#ReleaseIrq]] | | | 18 || [[#ReleaseIrq]] |
Line 64: |
Line 64: |
| | 19 || [[#SetIrqEnable]] | | | 19 || [[#SetIrqEnable]] |
| |- | | |- |
− | | 20 || [7.0.0+] [[#AcquireIrq2]] ([1.0.0-6.2.0] [[#SetAspmEnable]]) | + | | 20 || [7.0.0+] [[#AcquireIrq]] ([1.0.0-6.2.0] [[#SetAspmEnable]]) |
| |- | | |- |
| | 21 || [7.0.0+] [[#SetAspmEnable]] ([3.0.0-6.2.0] [[#SetResetUponResumeEnable]]) | | | 21 || [7.0.0+] [[#SetAspmEnable]] ([3.0.0-6.2.0] [[#SetResetUponResumeEnable]]) |
Line 74: |
Line 74: |
| | | |
| === QueryFunctions === | | === QueryFunctions === |
− | Takes a type-0x6 output buffer containing an array of [[#FunctionState]]. Returns an output s32 '''Count'''. | + | Takes a type-0x6 output buffer containing an array of [[#FunctionState]]. Returns an output s32 '''FunctionStateCount'''. |
| | | |
| === AcquireFunction === | | === AcquireFunction === |
Line 128: |
Line 128: |
| Takes an input u32 '''FunctionHandle''' and an input bool '''Enable'''. No output. | | Takes an input u32 '''FunctionHandle''' and an input bool '''Enable'''. No output. |
| | | |
− | === AcquireIrq === | + | === CreateIrq === |
− | Takes an input u32s '''FunctionHandle''' and an input [[#IrqType]]. Returns an output Event handle. | + | Takes an input u32s '''FunctionHandle''', an input [[#IrqType]] and an input s32 '''IrqCount'''. No output. |
− | | |
− | [7.0.0+] Now takes another input u32 and no longer returns an output Event handle.
| |
| | | |
| === ReleaseIrq === | | === ReleaseIrq === |
Line 139: |
Line 137: |
| Takes an input u32s '''FunctionHandle''', an unknown input u32 and an input bool '''Enable'''. No output. | | Takes an input u32s '''FunctionHandle''', an unknown input u32 and an input bool '''Enable'''. No output. |
| | | |
− | === AcquireIrq2 === | + | === AcquireIrq === |
| Takes an input u32s '''FunctionHandle''' and an input [[#IrqType]]. Returns an output Event handle. | | Takes an input u32s '''FunctionHandle''' and an input [[#IrqType]]. Returns an output Event handle. |
| | | |