1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
extern "C" { static __heap_start: usize; }
#[inline] pub fn HEAP_START() -> usize { unsafe { &__heap_start as *const _ as _ } }
extern "C" { static __heap_size: usize; }
#[inline] pub fn HEAP_SIZE() -> usize { unsafe { &__heap_size as *const _ as _ } }
extern "C" { static __text_start: usize; }
#[inline] pub fn TEXT_START() -> usize { unsafe { &__text_start as *const _ as _ } }
extern "C" { static __text_end: usize; }
#[inline] pub fn TEXT_END() -> usize { unsafe { &__text_end as *const _ as _ } }
extern "C" { static __rodata_start: usize; }
#[inline] pub fn RODATA_START() -> usize { unsafe { &__rodata_start as *const _ as _ } }
extern "C" { static __rodata_end: usize; }
#[inline] pub fn RODATA_END() -> usize { unsafe { &__rodata_end as *const _ as _ } }
extern "C" { static __data_start: usize; }
#[inline] pub fn DATA_START() -> usize { unsafe { &__data_start as *const _ as _ } }
extern "C" { static __data_end: usize; }
#[inline] pub fn DATA_END() -> usize { unsafe { &__data_end as *const _ as _ } }
extern "C" { static __bss_start: usize; }
#[inline] pub fn BSS_START() -> usize { unsafe { &__bss_start as *const _ as _ } }
extern "C" { static __bss_end: usize; }
#[inline] pub fn BSS_END() -> usize { unsafe { &__bss_end as *const _ as _ } }
extern "C" { static __kernel_stack_start: usize; }
#[inline] pub fn KERNEL_STACK_START() -> usize { unsafe { &__kernel_stack_start as *const _ as _ } }
extern "C" { static __kernel_stack_end: usize; }
#[inline] pub fn KERNEL_STACK_END() -> usize { unsafe { &__kernel_stack_end as *const _ as _ } }
extern "C" { static __trampoline_text_start: usize; }
#[inline] pub fn TRAMPOLINE_TEXT_START() -> usize { unsafe { &__trampoline_text_start as *const _ as _ } }