Home | History | Annotate | Line # | Download | only in bootxx
label.S revision 1.3
      1  1.3  christos /*	$NetBSD: label.S,v 1.3 2005/12/11 12:17:48 christos Exp $	*/
      2  1.1       dsl 
      3  1.1       dsl #include <machine/asm.h>
      4  1.1       dsl 
      5  1.1       dsl /*
      6  1.1       dsl  * This fills in the space taken by the NetBSD disklabel in the first
      7  1.1       dsl  * NetBSD partition on the disk.
      8  1.1       dsl  * However it is possible that we are booting from a subsequent
      9  1.2       dsl  * NetBSD partition, so must not access the disklabel in this space.
     10  1.2       dsl  *
     11  1.2       dsl  * Recent kernels (but not the disklabel program) write the label to
     12  1.2       dsl  * all NetBSD MBR partitions (including extended ones).
     13  1.2       dsl  * So we make it available to boot1().
     14  1.1       dsl  */
     15  1.1       dsl 
     16  1.1       dsl 	.text
     17  1.2       dsl 	.global	_C_LABEL(ptn_disklabel)
     18  1.2       dsl _C_LABEL(ptn_disklabel):
     19  1.2       dsl 	.fill	512
     20