Dear Ron,
I have a qusetion when I read following code in crt0.S: I think these code
do copy from dram to dram, but the description said it copy from flash rom to
dram. Is it my mistake? Thank you very much!
Collins
/* copy data segment from FLASH ROM to RAM */
leal EXT(_ldata), %esi
leal EXT(_data), %edi
movl $EXT(_eldata), %ecx
subl %esi, %ecx
jz .Lnodata /* should not happen */
rep
movsb
.Lnodata:
intel_chip_post_macro(0x12) /* post 12 */
- Re: A question about crt0.S Collins Chen
- Re: A question about crt0.S Eric W. Biederman
- Re: A question about crt0.S Ronald G Minnich
- Re: A question about crt0.S Ronald G Minnich
- Re: A question about crt0.S Collins Chen
- Re: A question about crt0.S Eric W. Biederman
- Re: A question about crt0.S Ollie Lho
- Re: A question about crt0.S Ollie Lho
- Re: A question about crt0.S Ronald G Minnich
- Re: A question about crt0.S Collins Chen
- Re: A question about crt0.S Collins Chen
