Re: RFC: Sentosa boot fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 29 Jan 2007 17:27:04 +0100, "Franck Bui-Huu" <vagabon.xyz@xxxxxxxxx> wrote:
> It may be interesting to have a look to the assembly code in this case
> to see what the compiler does exactly.

I compiled ip27 kernel and really confused...

head.S:
	PTR_LA		t0, __bss_start		# clear .bss
	LONG_S		zero, (t0)

System.map:
a8000000003b6000 A __bss_start

vmlinux:
a800000000385058:	3c0c003b 	lui	t0,0x3b
a80000000038505c:	658c6000 	daddiu	t0,t0,24576
a800000000385060:	fd800000 	sd	zero,0(t0)

vmlinux.32:
80385058:	3c0c003b 	lui	t4,0x3b
8038505c:	658c6000 	daddiu	t4,t4,24576
80385060:	fd800000 	sd	zero,0(t4)

How does this code work?  Isn't address 0x3b6000 in user space?

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux