From ebb8d34197bf7908fe78e2692615a41c03d676f6 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sat, 15 Feb 2014 21:25:36 -0800 Subject: Generate m68k_start_context at runtime so it can use the generated load_context and save_context --- runtime.S | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'runtime.S') diff --git a/runtime.S b/runtime.S index 36ecfff..febaeec 100644 --- a/runtime.S +++ b/runtime.S @@ -264,22 +264,3 @@ m68k_load_context: mov 80(%rsi), %eax /* current cycle count */ ret - .global m68k_start_context -m68k_start_context: - push %rbp - push %r12 - push %r13 - push %r14 - push %r15 - - call m68k_load_context - call *%rdi - call m68k_save_context - - pop %r15 - pop %r14 - pop %r13 - pop %r12 - pop %rbp - - ret -- cgit v1.2.3