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