Deleted Added
full compact
loader.c (65617) loader.c (65677)
1/*-
2 * Copyright (c) 2000 Daniel Capo Sobral
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2000 Daniel Capo Sobral
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/boot/ficl/loader.c 65617 2000-09-08 17:03:53Z dcs $
26 * $FreeBSD: head/sys/boot/ficl/loader.c 65677 2000-09-10 12:15:30Z dfr $
27 */
28
29/*******************************************************************
30** l o a d e r . c
31** Additional FICL words designed for FreeBSD's loader
32**
33*******************************************************************/
34

--- 202 unchanged lines hidden (view full) ---

237 type[types] = '\0';
238
239 fp = file_findfile(name, type);
240 stackPushPtr(pVM->pStack, fp);
241
242 return;
243}
244
27 */
28
29/*******************************************************************
30** l o a d e r . c
31** Additional FICL words designed for FreeBSD's loader
32**
33*******************************************************************/
34

--- 202 unchanged lines hidden (view full) ---

237 type[types] = '\0';
238
239 fp = file_findfile(name, type);
240 stackPushPtr(pVM->pStack, fp);
241
242 return;
243}
244
245#ifdef HAVE_PNP
246
245void
246ficlPnpdevices(FICL_VM *pVM)
247{
248 static int pnp_devices_initted = 0;
249#if FICL_ROBUST > 1
250 vmCheckStack(pVM, 0, 1);
251#endif
252

--- 14 unchanged lines hidden (view full) ---

267 vmCheckStack(pVM, 0, 1);
268#endif
269
270 stackPushPtr(pVM->pStack, pnphandlers);
271
272 return;
273}
274
247void
248ficlPnpdevices(FICL_VM *pVM)
249{
250 static int pnp_devices_initted = 0;
251#if FICL_ROBUST > 1
252 vmCheckStack(pVM, 0, 1);
253#endif
254

--- 14 unchanged lines hidden (view full) ---

269 vmCheckStack(pVM, 0, 1);
270#endif
271
272 stackPushPtr(pVM->pStack, pnphandlers);
273
274 return;
275}
276
277#endif
278
275void
276ficlCcall(FICL_VM *pVM)
277{
278 int (*func)(int, ...);
279 int result, p[10];
280 int nparam, i;
281
282#if FICL_ROBUST > 1

--- 21 unchanged lines hidden ---
279void
280ficlCcall(FICL_VM *pVM)
281{
282 int (*func)(int, ...);
283 int result, p[10];
284 int nparam, i;
285
286#if FICL_ROBUST > 1

--- 21 unchanged lines hidden ---