Deleted Added
full compact
bootstrap.h (43614) bootstrap.h (45720)
1/*-
2 * Copyright (c) 1998 Michael Smith <msmith@freebsd.org>
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) 1998 Michael Smith <msmith@freebsd.org>
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 * $Id: bootstrap.h,v 1.19 1999/01/22 23:50:13 msmith Exp $
26 * $Id: bootstrap.h,v 1.20 1999/02/04 17:06:45 dcs Exp $
27 */
28
29#include <sys/types.h>
30#include <sys/queue.h>
31
32/* XXX debugging */
33extern struct console vidconsole;
34#define MARK(s, c) {vidconsole.c_out(s); vidconsole.c_out(c); while (!vidconsole.c_ready()) ; vidconsole.c_in();}

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

209extern int elf_loadmodule(char *filename, vm_offset_t dest, struct loaded_module **result);
210
211#ifndef NEW_LINKER_SET
212#include <sys/linker_set.h>
213
214/* XXX just for conversion's sake, until we move to the new linker set code */
215
216#define SET_FOREACH(pvar, set) \
27 */
28
29#include <sys/types.h>
30#include <sys/queue.h>
31
32/* XXX debugging */
33extern struct console vidconsole;
34#define MARK(s, c) {vidconsole.c_out(s); vidconsole.c_out(c); while (!vidconsole.c_ready()) ; vidconsole.c_in();}

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

209extern int elf_loadmodule(char *filename, vm_offset_t dest, struct loaded_module **result);
210
211#ifndef NEW_LINKER_SET
212#include <sys/linker_set.h>
213
214/* XXX just for conversion's sake, until we move to the new linker set code */
215
216#define SET_FOREACH(pvar, set) \
217 for (pvar = set.ls_items; \
218 pvar < set.ls_items + set.ls_length; \
217 for ((char*) pvar = set.ls_items; \
218 (char*) pvar < (char*) &set.ls_items[set.ls_length]; \
219 pvar++)
220
221#else /* NEW_LINKER_SET */
222
223/*
224 * Private macros, not to be used outside this header file.
225 */
226#define __MAKE_SET(set, sym) \

--- 74 unchanged lines hidden ---
219 pvar++)
220
221#else /* NEW_LINKER_SET */
222
223/*
224 * Private macros, not to be used outside this header file.
225 */
226#define __MAKE_SET(set, sym) \

--- 74 unchanged lines hidden ---