1/* $NetBSD: label.S,v 1.1.2.3 2004/09/21 13:17:10 skrll 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