changeset 495:9e55fe3a5ee4

OSL: os_mis_fl.c compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Jun 2018 20:47:42 +0000
parents e9bdc8184d50
children 2d1e5ad1d54f
files components/frame_na7_db_fl src/gpf2/osl/os_mis_fl.c
diffstat 2 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/components/frame_na7_db_fl	Sun Jun 24 19:02:22 2018 +0000
+++ b/components/frame_na7_db_fl	Sun Jun 24 20:47:42 2018 +0000
@@ -45,3 +45,4 @@
 cfile_plain $SRCDIR/os_drv.c
 cfile_plain $SRCDIR/os_isr.c
 cfile_plain $SRCDIR/os_mem_fl.c
+cfile_plain $SRCDIR/os_mis_fl.c
--- a/src/gpf2/osl/os_mis_fl.c	Sun Jun 24 19:02:22 2018 +0000
+++ b/src/gpf2/osl/os_mis_fl.c	Sun Jun 24 20:47:42 2018 +0000
@@ -7,12 +7,13 @@
 #include <stddef.h>
 #include <stdio.h>
 #include <string.h>
+#if 0	/* from first attempt at gcc-built fw, currently unused */
 #include "../../riviera/rv/general.h"
 #include "../../riviera/rv/rv_general.h"
 #include "../../riviera/rvf/rvf_api.h"
 #include "../../services/ffs/ffs.h"
-#include "gpfconf.h"	/* FreeCalypso addition */
-#include "../../nucleus/nucleus.h"
+#endif
+#include "nucleus.h"
 #include "typedefs.h"
 #include "os.h"
 #include "gdi.h"
@@ -20,8 +21,10 @@
 #include "os_glob.h"
 #include "header.h"
 #include "vsi.h"
+#if 0	/* from first attempt at gcc-built fw, currently unused */
 #include "drvconf.h"
 #include "../tst_pei/tstdriver.h"
+#endif
 #include "dar_func.h"
 #include "tools.h"
 
@@ -71,7 +74,12 @@
 LONG
 os_read_dar_ffs_data(USHORT entry, char *buffer, USHORT len)
 {
-	/* dummy for now */
+	/*
+	 * This function is only used to implement the READ_DAR_FILE
+	 * system primitive; this frill feature is currently deemed
+	 * not important enough to expend the effort to reconstruct
+	 * this function from disassembly.
+	 */
 	return(OS_ERROR);
 }