FreeCalypso > hg > fc-magnetite
comparison src/gpf2/osl/os_mis_fl.c @ 495:9e55fe3a5ee4
OSL: os_mis_fl.c compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 24 Jun 2018 20:47:42 +0000 |
parents | 91e8dac34ada |
children |
comparison
equal
deleted
inserted
replaced
494:e9bdc8184d50 | 495:9e55fe3a5ee4 |
---|---|
5 | 5 |
6 /* set of included headers from COFF symtab, slightly reordered: */ | 6 /* set of included headers from COFF symtab, slightly reordered: */ |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdio.h> | 8 #include <stdio.h> |
9 #include <string.h> | 9 #include <string.h> |
10 #if 0 /* from first attempt at gcc-built fw, currently unused */ | |
10 #include "../../riviera/rv/general.h" | 11 #include "../../riviera/rv/general.h" |
11 #include "../../riviera/rv/rv_general.h" | 12 #include "../../riviera/rv/rv_general.h" |
12 #include "../../riviera/rvf/rvf_api.h" | 13 #include "../../riviera/rvf/rvf_api.h" |
13 #include "../../services/ffs/ffs.h" | 14 #include "../../services/ffs/ffs.h" |
14 #include "gpfconf.h" /* FreeCalypso addition */ | 15 #endif |
15 #include "../../nucleus/nucleus.h" | 16 #include "nucleus.h" |
16 #include "typedefs.h" | 17 #include "typedefs.h" |
17 #include "os.h" | 18 #include "os.h" |
18 #include "gdi.h" | 19 #include "gdi.h" |
19 #include "os_types.h" | 20 #include "os_types.h" |
20 #include "os_glob.h" | 21 #include "os_glob.h" |
21 #include "header.h" | 22 #include "header.h" |
22 #include "vsi.h" | 23 #include "vsi.h" |
24 #if 0 /* from first attempt at gcc-built fw, currently unused */ | |
23 #include "drvconf.h" | 25 #include "drvconf.h" |
24 #include "../tst_pei/tstdriver.h" | 26 #include "../tst_pei/tstdriver.h" |
27 #endif | |
25 #include "dar_func.h" | 28 #include "dar_func.h" |
26 #include "tools.h" | 29 #include "tools.h" |
27 | 30 |
28 typedef unsigned char u_char; | 31 typedef unsigned char u_char; |
29 | 32 |
69 static unsigned dar_wrap_around_detected; | 72 static unsigned dar_wrap_around_detected; |
70 | 73 |
71 LONG | 74 LONG |
72 os_read_dar_ffs_data(USHORT entry, char *buffer, USHORT len) | 75 os_read_dar_ffs_data(USHORT entry, char *buffer, USHORT len) |
73 { | 76 { |
74 /* dummy for now */ | 77 /* |
78 * This function is only used to implement the READ_DAR_FILE | |
79 * system primitive; this frill feature is currently deemed | |
80 * not important enough to expend the effort to reconstruct | |
81 * this function from disassembly. | |
82 */ | |
75 return(OS_ERROR); | 83 return(OS_ERROR); |
76 } | 84 } |
77 | 85 |
78 LONG | 86 LONG |
79 os_dar_set_filter(void) | 87 os_dar_set_filter(void) |