Deleted Added
full compact
bootstrap.h (298230) bootstrap.h (300056)
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 * $FreeBSD: head/sys/boot/common/bootstrap.h 298230 2016-04-18 23:09:22Z allanjude $
26 * $FreeBSD: head/sys/boot/common/bootstrap.h 300056 2016-05-17 14:10:45Z imp $
27 */
28
29#ifndef _BOOTSTRAP_H_
30#define _BOOTSTRAP_H_
31
32#include <sys/types.h>
33#include <sys/queue.h>
34#include <sys/linker_set.h>

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

97{
98 const char *c_name;
99 const char *c_desc;
100 int c_flags;
101#define C_PRESENTIN (1<<0) /* console can provide input */
102#define C_PRESENTOUT (1<<1) /* console can provide output */
103#define C_ACTIVEIN (1<<2) /* user wants input from console */
104#define C_ACTIVEOUT (1<<3) /* user wants output to console */
27 */
28
29#ifndef _BOOTSTRAP_H_
30#define _BOOTSTRAP_H_
31
32#include <sys/types.h>
33#include <sys/queue.h>
34#include <sys/linker_set.h>

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

97{
98 const char *c_name;
99 const char *c_desc;
100 int c_flags;
101#define C_PRESENTIN (1<<0) /* console can provide input */
102#define C_PRESENTOUT (1<<1) /* console can provide output */
103#define C_ACTIVEIN (1<<2) /* user wants input from console */
104#define C_ACTIVEOUT (1<<3) /* user wants output to console */
105#define C_WIDEOUT (1<<4) /* c_out routine groks wide chars */
105 void (* c_probe)(struct console *cp); /* set c_flags to match hardware */
106 int (* c_init)(int arg); /* reinit XXX may need more args */
107 void (* c_out)(int c); /* emit c */
108 int (* c_in)(void); /* wait for and return input */
109 int (* c_ready)(void); /* return nonzer if input waiting */
110};
111extern struct console *consoles[];
112void cons_probe(void);

--- 221 unchanged lines hidden ---
106 void (* c_probe)(struct console *cp); /* set c_flags to match hardware */
107 int (* c_init)(int arg); /* reinit XXX may need more args */
108 void (* c_out)(int c); /* emit c */
109 int (* c_in)(void); /* wait for and return input */
110 int (* c_ready)(void); /* return nonzer if input waiting */
111};
112extern struct console *consoles[];
113void cons_probe(void);

--- 221 unchanged lines hidden ---