diff options
author | kato <kato@FreeBSD.org> | 1999-03-10 13:40:29 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1999-03-10 13:40:29 +0000 |
commit | 58b7c748076bfc2b1242f0a7f58aad72bad3038f (patch) | |
tree | 40da6e3cd16d8d284b3facb1328bf04f0dd5c48a /sys/boot | |
parent | 1c67fa8f3d842ef1daea6a8442e829e386fafdd5 (diff) | |
download | FreeBSD-src-58b7c748076bfc2b1242f0a7f58aad72bad3038f.zip FreeBSD-src-58b7c748076bfc2b1242f0a7f58aad72bad3038f.tar.gz |
Sync with sys/boot/i386/libi386/bootinfo.c revision 1.17.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/pc98/libpc98/bootinfo.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/boot/pc98/libpc98/bootinfo.c b/sys/boot/pc98/libpc98/bootinfo.c index 94b2b6f..edac868 100644 --- a/sys/boot/pc98/libpc98/bootinfo.c +++ b/sys/boot/pc98/libpc98/bootinfo.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bootinfo.c,v 1.16 1999/01/24 00:12:04 msmith Exp $ + * $Id: bootinfo.c,v 1.1 1999/02/03 08:39:09 kato Exp $ */ #include <stand.h> @@ -155,6 +155,7 @@ bi_copyenv(vm_offset_t addr) * * MOD_NAME (variable) module name (string) * MOD_TYPE (variable) module type (string) + * MOD_ARGS (variable) module parameters (string) * MOD_ADDR sizeof(vm_offset_t) module load address * MOD_SIZE sizeof(size_t) module size * MOD_METADATA (variable) type-specific metadata @@ -174,6 +175,7 @@ bi_copyenv(vm_offset_t addr) #define MOD_NAME(a, s) MOD_STR(MODINFO_NAME, a, s) #define MOD_TYPE(a, s) MOD_STR(MODINFO_TYPE, a, s) +#define MOD_ARGS(a, s) MOD_STR(MODINFO_ARGS, a, s) #define MOD_VAR(t, a, s) { \ COPY32(t, a); \ @@ -208,6 +210,7 @@ bi_copymodules(vm_offset_t addr) MOD_NAME(addr, mp->m_name); /* this field must come first */ MOD_TYPE(addr, mp->m_type); + MOD_ARGS(addr, mp->m_args); MOD_ADDR(addr, mp->m_addr); MOD_SIZE(addr, mp->m_size); for (md = mp->m_metadata; md != NULL; md = md->md_next) |