a3d0b549 |
1 | #**************************************************************************** |
2 | #* |
3 | #* Copyright (c) 2006, Intel Corporation |
4 | #* All rights reserved. This program and the accompanying materials |
06a92437 |
5 | #* are licensed and made available under the terms and conditions of the BSD License |
a3d0b549 |
6 | #* which accompanies this distribution. The full text of the license may be found at |
7 | #* http://opensource.org/licenses/bsd-license.php |
8 | #* |
9 | #* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, |
10 | #* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. |
11 | #* |
12 | #**************************************************************************** |
13 | .global _EbcLLCALLEXNative |
14 | _EbcLLCALLEXNative: |
15 | push %ebp |
16 | mov %esp,%ebp |
17 | mov 0x8(%esp),%ecx |
18 | mov 0xc(%esp),%eax |
19 | mov %eax,%esp |
20 | call *%ecx |
21 | mov %ebp,%esp |
22 | mov %ebp,%esp |
23 | pop %ebp |
24 | ret |
25 | |
26 | .global _EbcLLGetEbcEntryPoint |
27 | _EbcLLGetEbcEntryPoint: |
28 | ret |
29 | |
30 | .global _EbcLLGetStackPointer |
31 | _EbcLLGetStackPointer: |
32 | mov %esp,%eax |
33 | add $0x4,%eax |
34 | ret |
35 | |
36 | .global _EbcLLGetReturnValue |
37 | _EbcLLGetReturnValue: |
38 | ret |