Port-amd64 archive

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

constraints on rbus_min_start?




To: port-amd64%netbsd.org@localhost

Subject: constraints on rbus_min_start?

From: "Steven M. Bellovin" <smb%cs.columbia.edu@localhost>

Date: Sat, 5 Jan 2008 19:18:55 +0000


I'd like to port the code from arch/i386 that dynamically calculates the
value for rbus_min_start from the memory size.  Are there any
particular constraints I should be aware of for that value?

The i386 code in machdep.c is

#if NCARDBUS > 0
        /* Tell RBUS how much RAM we have, so it can use heuristics.
        rbus_min_start_hint(ptoa(physmem));
#endif

and rbus_min_start_hint in rbus_machdep.c picks an appropriate value
based on that number.  I'm assuming that any amd64 has a fair amount of
memory and address lines, so simply rounding up to the next-highest 1G
boundary will work.  But -- do I need to leave any gaps between real
memory and rbus_min_start?  What boundary does it need to be at?


                --Steve Bellovin, http://www.cs.columbia.edu/~smb



Follow-Ups:

Re: constraints on rbus_min_start?
From: David Laight




Prev by Date: error running pkg_rolling-replace

Next by Date: Re: Re: Re: could not load wpi firmware

Previous by Thread: error running pkg_rolling-replace

Next by Thread: Re: constraints on rbus_min_start?

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index