Home | History | Annotate | Line # | Download | only in bootxx
label.S revision 1.1.2.3
      1  1.1.2.3  skrll /*	$NetBSD: label.S,v 1.1.2.3 2004/09/21 13:17:10 skrll 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.1.2.1  skrll  * NetBSD partition, so must not access the disklabel in this space.
     10  1.1.2.1  skrll  *
     11  1.1.2.1  skrll  * Recent kernels (but not the disklabel program) write the label to
     12  1.1.2.1  skrll  * all NetBSD MBR partitions (including extended ones).
     13  1.1.2.1  skrll  * So we make it available to boot1().
     14      1.1    dsl  */
     15      1.1    dsl 
     16      1.1    dsl 	.text
     17  1.1.2.1  skrll 	.global	_C_LABEL(ptn_disklabel)
     18  1.1.2.1  skrll _C_LABEL(ptn_disklabel):
     19  1.1.2.1  skrll 	.fill	512
     20