Re: [PATCH] m68k: print memory layout info in boot log

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

 




Hi Geert,

On 10/22/2011 12:56 AM, Geert Uytterhoeven wrote:
On Fri, Oct 21, 2011 at 09:07,<gerg@xxxxxxxxxxxx>  wrote:
Output a table of the kernel memory regions at boot time.
This is taken directly from the ARM architecture code that does this.
The table looks like this:

arch/m68k/mm/init_mm.c: In function æprint_memmapÆ:
arch/m68k/mm/init_mm.c:108: error: æ_sbssÆ undeclared (first use in
this function)
arch/m68k/mm/init_mm.c:108: error: (Each undeclared identifier is
reported only once
arch/m68k/mm/init_mm.c:108: error: for each function it appears in.)
arch/m68k/mm/init_mm.c:108: error: æ_ebssÆ undeclared (first use in
this function)

This patch relies on one I posted a little while back:

  http://www.spinics.net/lists/linux-m68k/msg04054.html

which is currently in linux-next. So I am getting a little ahead
of things here I guess :-)


+ á á á printk(KERN_NOTICE "Virtual kernel memory layout:\n"

pr_notice

Yep, I will change that.


+ á á á á á á á " á ávector á: 0x%08lx - 0x%08lx á (%4ld kB)\n"
+ á á á á á á á " á ákmap á á: 0x%08lx - 0x%08lx á (%4ld MB)\n"
+ á á á á á á á " á ávmalloc : 0x%08lx - 0x%08lx á (%4ld MB)\n"
+ á á á á á á á " á álowmem á: 0x%08lx - 0x%08lx á (%4ld MB)\n"
+ á á á á á á á " á á á.init : 0x%p" " - 0x%p" " á (%4d kB)\n"
+ á á á á á á á " á á á.text : 0x%p" " - 0x%p" " á (%4d kB)\n"
+ á á á á á á á " á á á.data : 0x%p" " - 0x%p" " á (%4d kB)\n"
+ á á á á á á á " á á á.bss á: 0x%p" " - 0x%p" " á (%4d kB)\n",

KiB, MiB?

Yep, thats better. I'll change that too. Thanks.

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg@xxxxxxxxxxxx
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close,                            FAX:         +61 7 3891 3630
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux