svn commit: r335773 - head/stand/efi/boot1

Warner Losh imp at FreeBSD.org
Thu Jun 28 19:42:14 UTC 2018


Author: imp
Date: Thu Jun 28 19:42:10 2018
New Revision: 335773
URL: https://svnweb.freebsd.org/changeset/base/335773

Log:
  Revert preference to be an int.
  
  While in base we use it as a boolean (of the wrong spelling), there's
  at least one out of tree user that needs it to be int since priorirty
  is a small int, not a 0/1. In deference to the time it's wasted me and
  my team, push this up into FreeBSD for whatever short life boot1 may
  have in the tree.

Modified:
  head/stand/efi/boot1/boot_module.h

Modified: head/stand/efi/boot1/boot_module.h
==============================================================================
--- head/stand/efi/boot1/boot_module.h	Thu Jun 28 19:42:05 2018	(r335772)
+++ head/stand/efi/boot1/boot_module.h	Thu Jun 28 19:42:10 2018	(r335773)
@@ -51,7 +51,7 @@ typedef struct dev_info
 	EFI_HANDLE *devhandle;
 	void *devdata;
 	uint64_t partoff;
-	BOOLEAN preferred;
+	int preferred;
 	struct dev_info *next;
 } dev_info_t;
 


More information about the svn-src-head mailing list