1 /* $NetBSD: label.S,v 1.3 2005/12/11 12:17:48 christos Exp $ */
3 #include <machine/asm.h>
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.
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().
17 .global _C_LABEL(ptn_disklabel)
18 _C_LABEL(ptn_disklabel):