]>
Commit | Line | Data |
---|---|---|
3c0a051f | 1 | #------------------------------------------------------------------------------\r |
2 | #\r | |
3 | # Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r | |
4 | #\r | |
5 | # This program and the accompanying materials\r | |
6 | # are licensed and made available under the terms and conditions of the BSD License\r | |
7 | # which accompanies this distribution. The full text of the license may be found at\r | |
8 | # http://opensource.org/licenses/bsd-license.php.\r | |
9 | #\r | |
10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | #\r | |
13 | #------------------------------------------------------------------------------\r | |
14 | \r | |
15 | ASM_GLOBAL ASM_PFX(JumpToKernel)\r | |
16 | \r | |
17 | #------------------------------------------------------------------------------\r | |
18 | # VOID\r | |
19 | # EFIAPI\r | |
20 | # JumpToKernel (\r | |
21 | # VOID *KernelStart, // %rcx\r | |
22 | # VOID *KernelBootParams // %rdx\r | |
23 | # );\r | |
24 | #------------------------------------------------------------------------------\r | |
25 | ASM_PFX(JumpToKernel):\r | |
26 | movq %rdx, %rsi\r | |
27 | addq $0x200, %rcx\r | |
28 | callq %rcx\r | |
29 | ret\r | |
30 | \r |