Mercurial > pub > dyncall > dyncall
diff dyncallback/dyncall_callback_sparc32.s @ 155:bbefb8b8e74c
- sparc32 thunk code
- replaced some c++ comments with old c ones
- whitespace cosmetics
author | cslag |
---|---|
date | Thu, 24 Nov 2016 23:47:31 +0000 |
parents | 03c516772c65 |
children | 49549739228c |
line wrap: on
line diff
--- a/dyncallback/dyncall_callback_sparc32.s Thu Nov 10 20:37:21 2016 +0100 +++ b/dyncallback/dyncall_callback_sparc32.s Thu Nov 24 23:47:31 2016 +0000 @@ -6,7 +6,7 @@ Description: Callback Thunk - Implementation for Sparc 32-bit License: - Copyright (c) 2007-2011 Daniel Adler <dadler@uni-goettingen.de>, + Copyright (c) 2007-2016 Daniel Adler <dadler@uni-goettingen.de>, Tassilo Philipp <tphilipp@potion-studios.com> Permission to use, copy, modify, and distribute this software for any @@ -23,8 +23,14 @@ */ +/* input: + $i0 -> thunk + $i0+24 -> cb handler + $i0+28 -> userdata +*/ + .globl dcCallbackThunkEntry dcCallbackThunkEntry: - jmpl %i7 + 8, %g0 /* Return from proc. */ - nop + jmpl %i7 + 8, %g0 /* Return from proc. */ + nop