Initial Contribution
msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142 Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
This commit is contained in:
@@ -37,6 +37,15 @@ struct tag_core {
|
||||
|
||||
/* it is allowed to have multiple ATAG_MEM nodes */
|
||||
#define ATAG_MEM 0x54410002
|
||||
/* it is allowed to have multiple ATAG_MEM_RESERVED nodes */
|
||||
/* these indicate places where hotpluggable memory is present */
|
||||
/* which are not active during boot */
|
||||
#define ATAG_MEM_RESERVED 0x5441000A
|
||||
/* it is allowed to have multiple ATAG_MEM_LOW_POWER nodes */
|
||||
/* these indicate memory which can be put in a low power state */
|
||||
#define ATAG_MEM_LOW_POWER 0x5441000B
|
||||
/* these indicate memory which can be reclaimed from OSBL memory after bootup */
|
||||
#define ATAG_MEM_OSBL 0x5441000C
|
||||
|
||||
struct tag_mem32 {
|
||||
__u32 size;
|
||||
@@ -221,6 +230,18 @@ extern int arm_add_memory(phys_addr_t start, unsigned long size);
|
||||
extern void early_print(const char *str, ...);
|
||||
extern void dump_machine_table(void);
|
||||
|
||||
/*
|
||||
* Early command line parameters.
|
||||
*/
|
||||
struct early_params {
|
||||
const char *arg;
|
||||
void (*fn)(char **p);
|
||||
};
|
||||
|
||||
#define __early_param(name,fn) \
|
||||
static struct early_params __early_##fn __used \
|
||||
__attribute__((__section__(".early_param.init"))) = { name, fn }
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user