Skip to content

Instantly share code, notes, and snippets.

@x56
x56 / serial_keyboard_init.S
Created July 13, 2015 06:28
serial_keyboard_init()
/* refer to osfmk/console/serial_general.c */
.globl _cereal64
_cereal64:
/* do the important parts of serial_keyboard_init() */
stp x20, x19, [sp, #-0x20]!
stp x29, x30, [sp, #0x10]
add x29, sp, #0x20
sub sp, sp, #0x10