Mercurial > pub > dyncall > dyncall
comparison dyncall/dyncall_call_arm64.S @ 14:450c4f06cb14
added 4-byte alignment for arm64 call kernel
author | Daniel Adler |
---|---|
date | Thu, 23 Jul 2015 01:30:23 +0200 |
parents | 3e629dc19168 |
children | f5577f6bf97a |
comparison
equal
deleted
inserted
replaced
13:82c39a220e51 | 14:450c4f06cb14 |
---|---|
35 | 35 |
36 This Call Kernel was tested on Debian/qemu-debootstrap arm64 jessie. | 36 This Call Kernel was tested on Debian/qemu-debootstrap arm64 jessie. |
37 */ | 37 */ |
38 | 38 |
39 .text | 39 .text |
40 | |
41 // | 40 // |
42 // DynCall Back-End arm64 | 41 // DynCall Back-End arm64 |
43 // | 42 // |
44 // Supported ABIs: | 43 // Supported ABIs: |
45 // - 'ARM 64-bit AArch64 PCS' (@dadler: work in progress) | 44 // - 'ARM 64-bit AArch64 PCS' (@dadler: work in progress) |
47 // Useful Links: | 46 // Useful Links: |
48 // - http://lxr.free-electrons.com/source/arch/arm64/kernel/stacktrace.c | 47 // - http://lxr.free-electrons.com/source/arch/arm64/kernel/stacktrace.c |
49 | 48 |
50 GLOBAL_C(dcCall_arm64) | 49 GLOBAL_C(dcCall_arm64) |
51 ENTRY_C(dcCall_arm64) | 50 ENTRY_C(dcCall_arm64) |
51 .align 2 | |
52 | 52 |
53 // input: | 53 // input: |
54 // x0: target (address of target) | 54 // x0: target (address of target) |
55 // x1: data (address of stack copy data) | 55 // x1: data (address of stack copy data) |
56 // x2: size (number of 'pair' 16-byte units) | 56 // x2: size (number of 'pair' 16-byte units) |