cpu_kcore_hdr.sysseg_pa = 0;
cpu_kcore_hdr.sysseg_pa = pmap_kernel()->pm_stpa;
dumpconf(){	int nblks;	/* size of dump area */	int maj;	if (dumpdev == NODEV)		return;	maj = major(dumpdev);	if (maj < 0 || maj >= nblkdev)		panic("dumpconf: bad dumpdev=0x%x", dumpdev);	if (bdevsw[maj].d_psize == NULL)		return;	nblks = (*bdevsw[maj].d_psize)(dumpdev);	if (nblks <= ctod(1))		return;	/*	 * XXX include the final RAM page which is not included in physmem.	 */	dumpsize = physmem + 1;#ifdef HP300_NEWKVM	/* hp300 only uses a single segment. */	cpu_kcore_hdr.ram_segs[0].start = lowram;	cpu_kcore_hdr.ram_segs[0].size = ctob(dumpsize);	cpu_kcore_hdr.mmutype = mmutype;	cpu_kcore_hdr.kernel_pa = lowram;	cpu_kcore_hdr.sysseg_pa = 0; /* XXX */#endif	/* HP300_NEWKVM */	/* Always skip the first CLBYTES, in case there is a label there. */	if (dumplo < ctod(1))		dumplo = ctod(1);	/* Put dump at end of partition, and make it fit. */	if (dumpsize > dtoc(nblks - dumplo))		dumpsize = dtoc(nblks - dumplo);	if (dumplo < nblks - ctod(dumpsize))		dumplo = nblks - ctod(dumpsize);}