Bump rrcc to include offset registers to access stack

This commit is contained in:
DataHoarder 2021-01-03 04:56:32 +01:00
parent d454455c48
commit ec4ea001b4
2 changed files with 3 additions and 5 deletions

2
rrcc

@ -1 +1 @@
Subproject commit eb9b13c7cc1dc584b46258f148792d786bbc7643
Subproject commit d70d63ee244bf9b654533ab1d5f4d33b295c699e

View file

@ -35,13 +35,11 @@ init_setPcieSplitMode:
SET DEVICE_CFG, 0x2, 0x2 ; Set PCIeMode[1] = 1 (4x4x4x4)
.continue2:
POPP R0, 1
BEQ R0, 0, 0x1, @.continue4 ; PEP4
BEQ~3 P2, 0, 0x1, @.continue4 ; access POPP 1 PEP4
SET DEVICE_CFG, 0x4, 0x4 ; Set PCIeMode[2] = 1 (4x4x4x4)
.continue4:
POPP R0, 2
BEQ R0, 0, 0x1, @.continue6 ; PEP6
BEQ~3 P3, 0, 0x1, @.continue6 ; access POPP 2 PEP6
SET DEVICE_CFG, 0x8, 0x8 ; Set PCIeMode[3] = 1 (4x4x4x4)
.continue6:
RET 2 ; Clear leftover two values in stack