repository service wrote:
+++ trunk/src/cpu/x86/smm/Makefile.inc Sun May 30 15:44:32 2010 (r5600)
..
- cd $(obj)/cpu/x86/smm; $(OBJCOPY) -I binary smm -O elf32-i386 -B i386 smm_wrap.o
Could use --redefine-sym and -N to manage symbol names. An example at http://www.coreboot.org/Initramfs
+++ trunk/src/southbridge/intel/i82801dx/i82801dx_smi.c Sun May 30 15:44:32 2010 (r5600)
..
+extern unsigned char _binary_smm_start; +extern unsigned char _binary_smm_size;
..
- memcpy((void *)0xa0000, &_binary_smm_start, (size_t)&_binary_smm_size);
+++ trunk/src/southbridge/intel/i82801gx/i82801gx_smi.c Sun May 30 15:44:32 2010 (r5600)
..
- memcpy((void *)0xa0000, &_binary_smm_start, (size_t)&_binary_smm_size);
Is the pointer to _size really right?
//Peter