In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Talk:IOSU syscalls"

From WiiUBrew
Jump to navigation Jump to search
m
Line 2: Line 2:
 
This does not seem correct. I see several other Thumb SysCalls still in use on FW 5.5.x (15702)
 
This does not seem correct. I see several other Thumb SysCalls still in use on FW 5.5.x (15702)
 
Example:  
 
Example:  
     IOS_KERNEL:08133F44 Call_IOS_KERNEL__sys_close                                                              
+
     IOS_KERNEL:08133F44 Call_IOS_KERNEL__sys_close                                               ; CODE XREF: sub_8132C64+14             
 
     IOS_KERNEL:08133F44                              LDR            R12, =(__sys_close+1)             
 
     IOS_KERNEL:08133F44                              LDR            R12, =(__sys_close+1)             
 
     IOS_KERNEL:08133F48                              BX              R12 ; __sys_close                 
 
     IOS_KERNEL:08133F48                              BX              R12 ; __sys_close                 
Line 9: Line 9:
 
     IOS_KERNEL:08133F50                              LDR            R12, =(__sys_open+1)               
 
     IOS_KERNEL:08133F50                              LDR            R12, =(__sys_open+1)               
 
     IOS_KERNEL:08133F54                              BX              R12 ; __sys_open                   
 
     IOS_KERNEL:08133F54                              BX              R12 ; __sys_open                   
     IOS_KERNEL:08133F58 off_8133F58                  DCD __sys_open+1                                
+
     IOS_KERNEL:08133F58 off_8133F58                  DCD __sys_open+1                           ; CODE XREF: sub_8132C84+7C   
 
     IOS_KERNEL:08133F5C Call_IOS_KERNEL__sys_read                                                                 
 
     IOS_KERNEL:08133F5C Call_IOS_KERNEL__sys_read                                                                 
 
     IOS_KERNEL:08133F5C                              LDR            R12, =(__sys_read+1)               
 
     IOS_KERNEL:08133F5C                              LDR            R12, =(__sys_read+1)               
     IOS_KERNEL:08133F60                              BX              R12 ; __sys_read
+
     IOS_KERNEL:08133F60                              BX              R12 ; __sys_read           ; CODE XREF: sub_8132D14+20
 
     IOS_KERNEL:08133F64 off_8133F64                  DCD __sys_read+1
 
     IOS_KERNEL:08133F64 off_8133F64                  DCD __sys_read+1
  
Line 18: Line 18:
 
Unless otherwise challenged as to why not, I will update the tables to correct this [[User:Datalogger|Datalogger]] ([[User talk:Datalogger|talk]])
 
Unless otherwise challenged as to why not, I will update the tables to correct this [[User:Datalogger|Datalogger]] ([[User talk:Datalogger|talk]])
 
:The disassembly you posted just looks like generated thunking stubs, are you sure they're referenced by other code? [[User:Tueidj|Tueidj]] ([[User talk:Tueidj|talk]]) 11:31, 30 April 2016 (CEST)
 
:The disassembly you posted just looks like generated thunking stubs, are you sure they're referenced by other code? [[User:Tueidj|Tueidj]] ([[User talk:Tueidj|talk]]) 11:31, 30 April 2016 (CEST)
 +
Technically, the statement "Used by Production units" excludes the use of Debug mode, and the functions above are still in-use for what is shipping in Production Unit's Debug code (all of the above are used if the user press "1" in debug mode), so I'm suggesting they be tagged as "Debug Units Only" instead of "unused". [[User:Datalogger|Datalogger]] ([[User talk:Datalogger|talk]]) 21:27, 30 April 2016 (CEST)

Revision as of 21:27, 30 April 2016

It says under heading Syscalls (via syscall instruction) that "Currently only syscall 0x04 is still used in production versions of IOSU." This does not seem correct. I see several other Thumb SysCalls still in use on FW 5.5.x (15702) Example:

   IOS_KERNEL:08133F44 Call_IOS_KERNEL__sys_close                                                ; CODE XREF: sub_8132C64+14               
   IOS_KERNEL:08133F44                               LDR             R12, =(__sys_close+1)             
   IOS_KERNEL:08133F48                               BX              R12 ; __sys_close                 
   IOS_KERNEL:08133F4C off_8133F4C                   DCD __sys_close+1                                 
   IOS_KERNEL:08133F50 Call_IOS_KERNEL__sys_open                                                                 
   IOS_KERNEL:08133F50                               LDR             R12, =(__sys_open+1)              
   IOS_KERNEL:08133F54                               BX              R12 ; __sys_open                  
   IOS_KERNEL:08133F58 off_8133F58                   DCD __sys_open+1                            ; CODE XREF: sub_8132C84+7C     
   IOS_KERNEL:08133F5C Call_IOS_KERNEL__sys_read                                                                 
   IOS_KERNEL:08133F5C                               LDR             R12, =(__sys_read+1)              
   IOS_KERNEL:08133F60                               BX              R12 ; __sys_read            ; CODE XREF: sub_8132D14+20 
   IOS_KERNEL:08133F64 off_8133F64                   DCD __sys_read+1

IOS_KERNEL, IOS_NIM_BOSS, IOS_FPD, use more than just 0x04, __sys_write0. Unless otherwise challenged as to why not, I will update the tables to correct this Datalogger (talk)

The disassembly you posted just looks like generated thunking stubs, are you sure they're referenced by other code? Tueidj (talk) 11:31, 30 April 2016 (CEST)

Technically, the statement "Used by Production units" excludes the use of Debug mode, and the functions above are still in-use for what is shipping in Production Unit's Debug code (all of the above are used if the user press "1" in debug mode), so I'm suggesting they be tagged as "Debug Units Only" instead of "unused". Datalogger (talk) 21:27, 30 April 2016 (CEST)