Chameleon

Chameleon Commit Details

Date:2012-10-27 06:20:02 (7 years 11 months ago)
Author:Evan Lojewski
Commit:2082
Parents: 2081
Message:Remove deprecated use of _DATA__[bss,common]__[begin,end]
Changes:
M/trunk/i386/boot2/boot.c

File differences

trunk/i386/boot2/boot.c
9595
9696
9797
98
99
98
99
100
101
100102
101
102
103
103
104
105
104106
105107
106108
static void zeroBSS(void)
{
extern char _DATA__bss__begin, _DATA__bss__end;
extern char _DATA__common__begin, _DATA__common__end;
extern char bss_start __asm("section$start$__DATA$__bss");
extern char bss_end __asm("section$end$__DATA$__bss");
extern char common_start __asm("section$start$__DATA$__common");
extern char common_end __asm("section$end$__DATA$__common");
bzero(&_DATA__bss__begin, (&_DATA__bss__end - &_DATA__bss__begin));
bzero(&_DATA__common__begin, (&_DATA__common__end - &_DATA__common__begin));
}
bzero(&bss_start, (&bss_end - &bss_start));
bzero(&common_start, (&common_end - &common_start));
}
//==========================================================================
// Malloc error function

Archive Download the corresponding diff file

Revision: 2082