History log of /src/sys/arch/next68k/include/disklabel.h |
Revision | | Date | Author | Comments |
1.7 |
| 30-Aug-2011 |
bouyer | Add getlabelusesmbr(), as proposed in 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.
|
1.6 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.5 |
| 12-Jun-2005 |
dyoung | Make disklabel(8) and fdisk(8) into "host tools " last step: build 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.
|
1.4 |
| 15-Nov-2003 |
bouyer | Commit changes proposed on tech-kern Thu, 6 Nov 2003 - factor out disksubr.c between sun3, sparc and sparc64. Keep the sun3 groveling code to find a NetBSD disklabel in the first sector (so that it can find a label at the old sun3 LABELOFFSET) as a fallback is not label at LABELOFFSET, or sun label is present. - Fix the sun3 LABELOFFSET (was 64, but the kernel wrote the NetBSD label at 128) - Make next68k disksubr.c always write a next-compatible disklabel. - remove #ifdef __sparc__ hack from disklabel(8), and change it to issue a DIOCWDINFO after writing the disklabel to the raw partition in the -r/-I case (so that the kernel can convert the label if needed).
|
1.3 |
| 27-Oct-2003 |
cl | move structs nextstep_disklabel/cpu_partition and appendant #defines to sys/sys/bootblock.h - rename to next68k_disklabel and next68k_partition - use {u,}int{8,16,32}_t instead of char/short/int (suggested by D. Laight)
|
1.2 |
| 11-Jul-2002 |
christos | branches: 1.2.6; Apply patches from Christian Limpach:
- NeXT label reading support - SCSI dma fixes - media support for if_xe.c
Some of these need more cleanup, but at least make SCSI support usable on the NeXT.
|
1.1 |
| 09-Jun-1998 |
dbj | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 09-Jun-1998 |
dbj | branches: 1.1.1.1.28; 1.1.1.1.32; 1.1.1.1.40; Initial import of NetBSD/next68k.
|
1.1.1.1.40.1 |
| 16-Jul-2002 |
gehenna | catch up with -current.
|
1.1.1.1.32.1 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.1.1.1.28.1 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.2.6.4 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.2.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.2.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.2.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|