lkml.org 
[lkml]   [2000]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Memory Started not at 0x00000000
Thank you for your suggestions.  I did change SuperH implementation so
that it uses init_bootmem_node and free_area_init_core. Well, it
works.

But I'm not sure if it's good use or not. At least, it seems that
free_area_init_core is not intended to be used, since it is not
defined in header file.

Things are going like this:

setu_arch
call
init_bootmem_node

paging_init
get info. from:
NODE_DATA(0)->bdata->node_boot_start
NODE_DATA(0)->bdata->node_low_pfn
then call
free_area_init_core (Should I use free_area_init_node instead?)

mem_init
get info. from:
NODE_DATA(0)->bdata->node_boot_start
NODE_DATA(0)->bdata->node_low_pfn

I think that it would be better if we define macros for START_PFN and
MAX_LOW_PFN, then we could eliminate the variable max_low_pfn even
in the i386 implementation.
--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans