changeset 497:bc12e6de8a07

OSL: os_pro_fl.c compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Jun 2018 20:55:25 +0000
parents 2d1e5ad1d54f
children dfa8771e84b1
files components/frame_na7_db_fl src/gpf2/osl/os_pro_fl.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/components/frame_na7_db_fl	Sun Jun 24 20:50:05 2018 +0000
+++ b/components/frame_na7_db_fl	Sun Jun 24 20:55:25 2018 +0000
@@ -46,3 +46,4 @@
 cfile_plain $SRCDIR/os_isr.c
 cfile_plain $SRCDIR/os_mem_fl.c
 cfile_plain $SRCDIR/os_mis_fl.c
+cfile_plain $SRCDIR/os_pro_fl.c
--- a/src/gpf2/osl/os_pro_fl.c	Sun Jun 24 20:50:05 2018 +0000
+++ b/src/gpf2/osl/os_pro_fl.c	Sun Jun 24 20:55:25 2018 +0000
@@ -6,8 +6,7 @@
 /* set of included headers from COFF symtab: */
 #include <stdio.h>
 #include <string.h>
-#include "gpfconf.h"	/* FreeCalypso addition */
-#include "../../nucleus/nucleus.h"
+#include "nucleus.h"
 #include "typedefs.h"
 #include "os.h"
 #include "gdi.h"
@@ -101,7 +100,7 @@
 			!= NU_SUCCESS)
 		return(OS_ERROR);
 	for (i = 1; i <= MaxTasks; i++)
-		bzero(&TaskTable[i], sizeof(T_OS_TASK_TABLE_ENTRY));
+		memset(&TaskTable[i], 0, sizeof(T_OS_TASK_TABLE_ENTRY));
 	return(OS_OK);
 }