SVNews r330809

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-03-12 21:39:49 - r330809 by imp (Warner Losh)

Complete list of files affected by revision r330809:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/stand/common/disk.c  
  History   Contents   Diff   MODIFY   /head/stand/common/disk.h  
  History   Contents   Diff   MODIFY   /head/stand/efi/libefi/efipart.c  
  History   Contents   Diff   MODIFY   /head/stand/efi/libefi/efizfs.c  
  History   Contents   Diff   MODIFY   /head/stand/efi/loader/main.c  
  History   Contents   Diff   MODIFY   /head/stand/i386/libi386/bioscd.c  
  History   Contents   Diff   MODIFY   /head/stand/i386/libi386/biosdisk.c  
  History   Contents   Diff   MODIFY   /head/stand/i386/libi386/bootinfo32.c  
  History   Contents   Diff   MODIFY   /head/stand/i386/libi386/devicename.c  
  History   Contents   Diff   MODIFY   /head/stand/i386/libi386/libi386.h  
  History   Contents   Diff   MODIFY   /head/stand/i386/loader/chain.c  
  History   Contents   Diff   MODIFY   /head/stand/i386/loader/main.c  
  History   Contents   Diff   MODIFY   /head/stand/mips/beri/loader/beri_disk_cfi.c  
  History   Contents   Diff   MODIFY   /head/stand/mips/beri/loader/beri_disk_sdcard.c  
  History   Contents   Diff   MODIFY   /head/stand/mips/beri/loader/devicename.c  
  History   Contents   Diff   MODIFY   /head/stand/ofw/libofw/devicename.c  
  History   Contents   Diff   MODIFY   /head/stand/ofw/libofw/libofw.h  
  History   Contents   Diff   MODIFY   /head/stand/sparc64/loader/main.c  
  History   Contents   Diff   MODIFY   /head/stand/uboot/common/main.c  
  History   Contents   Diff   MODIFY   /head/stand/uboot/lib/devicename.c  
  History   Contents   Diff   MODIFY   /head/stand/uboot/lib/disk.c  
  History   Contents   Diff   MODIFY   /head/stand/uboot/lib/libuboot.h  
  History   Contents   Diff   MODIFY   /head/stand/userboot/userboot/devicename.c  
  History   Contents   Diff   MODIFY   /head/stand/userboot/userboot/main.c  
  History   Contents   Diff   MODIFY   /head/stand/userboot/userboot/userboot_disk.c  
  History   Contents   Diff   MODIFY   /head/stand/zfs/libzfs.h  
  History   Contents   Diff   MODIFY   /head/stand/zfs/zfs.c  

Commit message:

Use the actual struct devdesc at the start of all *_devdesc structs

The current system is fragile and requires very careful layout of all
*_devdesc structures. It also makes it hard to change the base
devdesc. Take a page from CAM and put the 'header' in all the derived
classes and adjust the code to match.

For OFW, move the iHandle h_handle out of a slot conflicting with
d_opendata. Due to quirks in the alignment rules, this worked.
However changing the code to use d_opendata storage now that it's a
pointer is hard, so just have a separate field for it.

All other cleanups were to make the *_devdesc structures match where
they'd taken some liberties that were none-the-less compatible enough
to work.


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 14 ms, 27 files printed. Current time is 2018-03-18 09:49:16. All times are in UTC/GMT.