svn commit: r359716 - head/stand/powerpc/ofw

Leandro Lupori luporl at FreeBSD.org
Tue Apr 7 19:46:01 UTC 2020


Author: luporl
Date: Tue Apr  7 19:46:00 2020
New Revision: 359716
URL: https://svnweb.freebsd.org/changeset/base/359716

Log:
  Add support to MSDOS FS in PPC loader
  
  Although PPC OFW loader already had a LOADER_MSDOS_SUPPORT option, a few lines
  were missing in conf.c, in order to support FAT filesystems.
  
  This is useful when running FreeBSD under QEMU, to be able to easily change the
  kernel and modules when running on hosts without UFS read/write support.
  
  Reviewed by:	jhibbits
  Sponsored by:	Eldorado Research Institute (eldorado.org.br)
  Differential Revision:	https://reviews.freebsd.org/D24328

Modified:
  head/stand/powerpc/ofw/conf.c

Modified: head/stand/powerpc/ofw/conf.c
==============================================================================
--- head/stand/powerpc/ofw/conf.c	Tue Apr  7 19:44:40 2020	(r359715)
+++ head/stand/powerpc/ofw/conf.c	Tue Apr  7 19:46:00 2020	(r359716)
@@ -69,6 +69,9 @@ struct fs_ops *file_system[] = {
 #if defined(LOADER_EXT2FS_SUPPORT)
     &ext2fs_fsops,
 #endif
+#if defined(LOADER_MSDOS_SUPPORT)
+    &dosfs_fsops,
+#endif
 #if defined(LOADER_NFS_SUPPORT)
     &nfs_fsops,
 #endif


More information about the svn-src-all mailing list