commit | 68ce0c383ece84f69945d1c8c3fed03f7f9cb5d6 | [log] [tgz] |
---|---|---|
author | Landon Fuller <landonf@bikemonkey.org> | Sun Sep 19 08:38:19 2010 -0700 |
committer | Landon Fuller <landonf@bikemonkey.org> | Sun Sep 19 08:38:19 2010 -0700 |
tree | af2e7d45357bf0a8f7cbccbefbbb8d199203cf31 | |
parent | 75af086be8830a8eafe9b1ebda199d788bcb0c62 [diff] |
Add a shell script that generates the ARM trampoline page. This generates a page of 340 trampolines, aligned within one page. The trampolines use pc-relative addressing to reference config data (context, jump address) from a page placed directly prior to the trampoline page. This can be used on systems -- such as iOS -- that do not support writable, executable memory by remapping the executable page containing the trampolines directly above a newly allocated writable config page.