| 80 | } |
| 81 | |
| 82 | void xParGroupRegister(xParGroup* ps) |
| 83 | { |
| 84 | if (!sParGroupRegTableInit) |
| 85 | { |
| 86 | xParGroupRegisterInit(); |
| 87 | } |
| 88 | |
| 89 | for (U8 i = 0; i < REG_TABLE_SIZE; i++) |
| 90 | { |
| 91 | if (!sParGroupRegTable[i]) |
| 92 | { |
| 93 | sParGroupRegTable[i] = ps; |
| 94 | ps->m_regidx = i; |
| 95 | break; |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | void xParGroupUnregister(xParGroup* ps) |
| 101 | { |
no test coverage detected