cvs commit: src/sys/i386/include/pc bios.h src/sys/i386/i386 bios.c

John Baldwin jhb at FreeBSD.org
Fri Jun 4 08:11:58 PDT 2004


On Friday 04 June 2004 10:41 am, Poul-Henning Kamp wrote:
> In message <200406041033.37313.jhb at FreeBSD.org>, John Baldwin writes:
> >On Thursday 03 June 2004 06:36 pm, Poul-Henning Kamp wrote:
> >> phk         2004/06/03 15:36:24 PDT
> >>
> >>   FreeBSD src repository
> >>
> >>   Modified files:
> >>     sys/i386/include/pc  bios.h
> >>     sys/i386/i386        bios.c
> >>   Log:
> >>   Add new bios_string() which will hunt for a string inside a given
> >> range of the BIOS.  This can be used for finding arbitrary magic in the
> >> BIOS in order to recognize particular platforms.
> >
> >It this very different from bios_sigsearch()?
>
> It is not limited to the system bios (0xe0000..0xfffff) but allows you
> to specify the exact range you're interested in.

Perhaps one should be implemented in terms of the other then?  Hmm, you can 
probably use this to replace 'search_for_sig()' in mptable.c as well.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list