Deleted Added
full compact
bootinfo64.c (66133) bootinfo64.c (72640)
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/i386/libi386/bootinfo64.c 66133 2000-09-20 18:13:36Z archie $
26 * $FreeBSD: head/sys/boot/i386/libi386/bootinfo64.c 72640 2001-02-18 10:25:42Z asmodai $
27 */
28
29#include <stand.h>
30#include <sys/param.h>
31#include <sys/reboot.h>
32#include <sys/linker.h>
33#include <machine/bootinfo.h>
34#include "bootstrap.h"

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

152 return(addr);
153}
154
155/*
156 * Copy module-related data into the load area, where it can be
157 * used as a directory for loaded modules.
158 *
159 * Module data is presented in a self-describing format. Each datum
27 */
28
29#include <stand.h>
30#include <sys/param.h>
31#include <sys/reboot.h>
32#include <sys/linker.h>
33#include <machine/bootinfo.h>
34#include "bootstrap.h"

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

152 return(addr);
153}
154
155/*
156 * Copy module-related data into the load area, where it can be
157 * used as a directory for loaded modules.
158 *
159 * Module data is presented in a self-describing format. Each datum
160 * is preceeded by a 32-bit identifier and a 32-bit size field.
160 * is preceded by a 32-bit identifier and a 32-bit size field.
161 *
162 * Currently, the following data are saved:
163 *
164 * MOD_NAME (variable) module name (string)
165 * MOD_TYPE (variable) module type (string)
166 * MOD_ARGS (variable) module parameters (string)
167 * MOD_ADDR sizeof(vm_offset_t) module load address
168 * MOD_SIZE sizeof(size_t) module size

--- 180 unchanged lines hidden ---
161 *
162 * Currently, the following data are saved:
163 *
164 * MOD_NAME (variable) module name (string)
165 * MOD_TYPE (variable) module type (string)
166 * MOD_ARGS (variable) module parameters (string)
167 * MOD_ADDR sizeof(vm_offset_t) module load address
168 * MOD_SIZE sizeof(size_t) module size

--- 180 unchanged lines hidden ---