diff options
Diffstat (limited to 'sys/boot/pc98/libpc98')
-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) |