ARM9 SWI Functions: Difference between revisions
IntrWait bugged? |
Hallowizer (talk | contribs) added SVC_SHA1GetHash from comparing IOSC code |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
These are the functions provided by the [[ARM9 BIOS]]. Names starting with <code>SVC_</code> are official, while others are guesses. | |||
These are the functions provided by the ARM9 BIOS. | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! ID | ! ID | ||
! Name | ! Name/Prototype | ||
! Args | ! Args | ||
! Changes | ! Changes | ||
| Line 146: | Line 144: | ||
|- | |- | ||
| 0x20 | | 0x20 | ||
| swiInit_crypto_heap | | swiInit_crypto_heap(Heap *heap, void *base, u32 len); | ||
| ?? | | ?? | ||
| '''new''' | | '''new''' | ||
| Line 166: | Line 164: | ||
|- | |- | ||
| 0x24 | | 0x24 | ||
| | | SVC_SHA1Init(SVCSHA1Context *ctx) | ||
| ?? | | ?? | ||
| '''new''' | | '''new''' | ||
|- | |- | ||
| 0x25 | | 0x25 | ||
| | | SVC_SHA1Update(SVCSHA1Context* ctx, const u8 *buf, u32 len) | ||
| ?? | | ?? | ||
| '''new''' | | '''new''' | ||
|- | |- | ||
| 0x26 | | 0x26 | ||
| | | SVC_SHA1GetHash(SVCSHA1Context *ctx, u8 *hash) | ||
| ?? | | ?? | ||
| '''new''' | | '''new''' | ||