Search
lxdream.org :: lxdream/src/xlat/x86/amd64abi.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/xlat/x86/amd64abi.h
changeset 1125:9dd5dee45db9
prev1112:4cac5e474d4c
next1146:76c5d1064262
author nkeynes
date Mon Sep 13 10:13:42 2010 +1000 (11 years ago)
permissions -rw-r--r--
last change Implement shadow-execution 'core' to run translator + interpreter side by
side (for testing)
file annotate diff log raw
1.1 --- a/src/xlat/x86/amd64abi.h Tue Jul 13 18:23:16 2010 +1000
1.2 +++ b/src/xlat/x86/amd64abi.h Mon Sep 13 10:13:42 2010 +1000
1.3 @@ -100,16 +100,15 @@
1.4 * Emit the 'start of block' assembly. Sets up the stack frame and save
1.5 * SI/DI as required
1.6 */
1.7 -static inline void enter_block( )
1.8 +static inline void emit_prologue( )
1.9 {
1.10 PUSH_r32(REG_RBP);
1.11 SUBQ_imms_r64( 16, REG_RSP );
1.12 MOVP_immptr_rptr( ((uint8_t *)&sh4r) + 128, REG_EBP );
1.13 }
1.14
1.15 -static inline void exit_block( )
1.16 +static inline void emit_epilogue( )
1.17 {
1.18 ADDQ_imms_r64( 16, REG_RSP );
1.19 POP_r32(REG_RBP);
1.20 - RET();
1.21 }
.