CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2011/03/17 06:53:44

Modified files:
        sys/arch/amd64/stand/installboot: installboot.c 
        sys/arch/amd64/stand/libsa: biosdev.c 
        sys/arch/i386/stand/installboot: installboot.c 
        sys/arch/i386/stand/libsa: biosdev.c 

Log message:
Make the various findopenbsd() functions non-recursive, eliminating
a global, a couple of parameters, and opening up possibility of
traversing much longer EBR lists without blowing the stack.

Make seach algorithm the same as used in kern/subr_disk.c by checking
all primary partitions in the MBR/EBR before moving to next EBR. This
makes it more likely that everybody finds the same OpenBSD partition.

Largely from a diff posted to tech@ by ucsavl.

Reply via email to