ARM9 SWI Functions: Difference between revisions

Nocash (talk | contribs)
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:
== ARM9 BIOS SWI Function ==
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
| swiSHA1_Init
| SVC_SHA1Init(SVCSHA1Context *ctx)
| ??
| ??
| '''new'''
| '''new'''
|-
|-
| 0x25
| 0x25
| swiSHA1_Update
| SVC_SHA1Update(SVCSHA1Context* ctx, const u8 *buf, u32 len)
| ??
| ??
| '''new'''
| '''new'''
|-
|-
| 0x26
| 0x26
| swiSHA1_Final
| SVC_SHA1GetHash(SVCSHA1Context *ctx, u8 *hash)
| ??
| ??
| '''new'''
| '''new'''