Exemple #1
0
void __init plat_mem_setup(void)
{
    unsigned int nid = 1;

    /* Register CPU#0 URAM space as Node 1 */
    setup_bootmem_node(nid++, 0x145f0000, 0x14610000);	/* CPU0 */

#if 0
    /* XXX: Not yet.. */
    setup_bootmem_node(nid++, 0x14df0000, 0x14e10000);	/* CPU1 */
    setup_bootmem_node(nid++, 0x155f0000, 0x15610000);	/* CPU2 */
    setup_bootmem_node(nid++, 0x15df0000, 0x15e10000);	/* CPU3 */
#endif

    setup_bootmem_node(nid++, 0x16000000, 0x16020000);	/* CSM */
}
void __init plat_mem_setup(void)
{
	/* Register the URAM space as Node 1 */
	setup_bootmem_node(1, 0xe55f0000, 0xe5610000);
}
void __init plat_mem_setup(void)
{
	
	setup_bootmem_node(1, 0xe55f0000, 0xe5610000);
}