Chameleon

Chameleon Commit Details

Date:2011-07-03 22:27:27 (8 years 4 months ago)
Author:Evan Lojewski
Commit:1101
Parents: 1100
Message:Slight modules system tweek.
Changes:
M/trunk/i386/boot2/modules.c

File differences

trunk/i386/boot2/modules.c
210210
211211
212212
213
214
215213
216214
217215
......
223221
224222
225223
226
224
227225
228226
229227
*/
long long add_symbol(char* symbol, long long addr, char is64)
{
if(is64) return 0xFFFFFFFF; // Fixme
// This only can handle 32bit symbols
symbolList_t* entry;
//DBG("Adding symbol %s at 0x%X\n", symbol, addr);
entry->addr = (UInt32)addr;
entry->symbol = symbol;
if(strcmp(symbol, "start") == 0)
if(!is64 && strcmp(symbol, "start") == 0)
{
return addr;
}

Archive Download the corresponding diff file

Revision: 1101