2012-06-03 21:46:04 +00:00
|
|
|
/*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2012-06-03 21:46:04 +00:00
|
|
|
*
|
|
|
|
* Copyright (C) 2003 Wolfgang Denk, DENX Software Engineering, wd@denx.de
|
|
|
|
*/
|
|
|
|
|
2013-02-12 21:22:12 +00:00
|
|
|
static inline unsigned long bss_start(void)
|
|
|
|
{
|
2013-03-05 14:39:39 +00:00
|
|
|
extern char __bss_start[];
|
2013-02-12 21:22:12 +00:00
|
|
|
return (unsigned long) &__bss_start;
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline unsigned long bss_end(void)
|
|
|
|
{
|
|
|
|
extern ulong __bss_end;
|
|
|
|
return (unsigned long) &__bss_end;
|
|
|
|
}
|
|
|
|
|
2013-02-12 21:22:12 +00:00
|
|
|
static inline unsigned long image_copy_end(void)
|
|
|
|
{
|
2013-03-05 14:39:39 +00:00
|
|
|
extern char __image_copy_end[];
|
2013-02-12 21:22:12 +00:00
|
|
|
return (unsigned long) &__image_copy_end;
|
|
|
|
}
|