mem_reloc.h
1.52 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef __MEM_RELOC_H__
#define __MEM_RELOC_H__
#ifdef _WIN32
// Empty defines for win32 platforms
#else
#define __FLASH_BOOT_TEXT __attribute__ ((section (".flash_boot_text")))
#define __INTERNAL_RAM_TEXT __attribute__ ((section (".internal_ram_1_text")))
#define __LIBKERNAL_RAM_TEXT __attribute__ ((section (".libkernel_text")))
// For placing specific variables into iphone_bss section
// #define __IPHONE_BSS __attribute__ ((section (".sdram_bss")))
#define __IPHONE_BSS __attribute__ ((section (".iphone_bss")))
// #define __IPHONE_RAM_TEXT __attribute__ ((section (".internal_ram_1_text")))
// #define __IPHONE_RAM_TEXT __attribute__ ((section (".iphone_ram_text")))
#define __USBHOST_BSS //__attribute__ ((section (".usbhost_bss")))
#define __USBHOST_TEXT //__attribute__ ((section (".internal_ram_1_text")))
#define __USB_DEV_BSS __attribute__ ((section (".usbDev_bss")))
#define __US_DEV_TEXT //__attribute__ ((section (".internal_ram_1_text")))
#define __MTPHOST_BSS __attribute__ ((section (".mtphost_bss")))
// #define __CD_BSS
#define __CD_BSS __attribute__ ((section (".cd_bss")))
// #define __USB_FS_BSS
#define __USB_FS_BSS //__attribute__ ((section (".usb_fs_bss")))
#define __USB_FOLDER_BSS __attribute__ ((section (".usb_folder_bss")))
#define __USB_FS_DELETE_BSS __attribute__ ((section (".usb_fs_delete_bss")))
#define __UPGRADE_HW_SET_RODATA __attribute__ ((section (".upgrade_hw_set_rodata")))
#endif
#endif //__MEM_RELOC_H__