summaryrefslogtreecommitdiff
path: root/sys/arch/hpcsh/include/disklabel.h
AgeCommit message (Collapse)Author
2011-08-30Add getlabelusesmbr(), as proposed inbouyer
http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html This is used by disk tools such as disklabel(8) to dynamically decide is the undelyling platform uses a disklabel-in-mbr-partition or not (instead of using a compile-time list of ports). getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the machdep #define LABELUSESMBR. For evbmips, make LABELUSESMBR 1 if the platform uses pmon as bootloader, and 0 (the previous value) otherwise.
2005-12-11merge ktrace-lwp.christos
2005-06-12Make disklabel(8) and fdisk(8) into "host tools " last step: builddyoung
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel, ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/. To avoid clashes with a build-host's header files, especially on *BSD, the host-tools versions of fdisk and disklabel search for #includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h, and bootinfo.h in a new #includes namespace, nbinclude/. That is, they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>, <nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and such. I have also updated the system headers to #include from nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
2001-01-28s/EVBSH3/HPCSH/uch
2001-01-17the kernel for SH3-based WinCE machines (little endian), by uch.itojun
MACHINE=hpcsh, MACHINE_CPU=sh3el. bootloader: ftp://f77.nop.or.jp/users/uch/hpcboot/ original patch: ftp://f77.nop.or.jp/users/uch/hpcsh/ sys/sh3/sh3/md_root.c: add #ifdef MEMORY_DISK_DYNAMIC