/root/src/xen/xen/arch/x86/x86_64/machine_kexec.c
Line | Count | Source (jump to first uncovered line) |
1 | | /****************************************************************************** |
2 | | * machine_kexec.c |
3 | | * |
4 | | * Xen port written by: |
5 | | * - Simon 'Horms' Horman <horms@verge.net.au> |
6 | | * - Magnus Damm <magnus@valinux.co.jp> |
7 | | */ |
8 | | |
9 | | #include <xen/types.h> |
10 | | #include <xen/kernel.h> |
11 | | #include <asm/page.h> |
12 | | #include <public/kexec.h> |
13 | | |
14 | | int machine_kexec_get_xen(xen_kexec_range_t *range) |
15 | 0 | { |
16 | 0 | range->start = virt_to_maddr(_start); |
17 | 0 | range->size = virt_to_maddr(_end) - (unsigned long)range->start; |
18 | 0 | return 0; |
19 | 0 | } |
20 | | |
21 | | /* |
22 | | * Local variables: |
23 | | * mode: C |
24 | | * c-file-style: "BSD" |
25 | | * c-basic-offset: 4 |
26 | | * tab-width: 4 |
27 | | * indent-tabs-mode: nil |
28 | | * End: |
29 | | */ |