diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-07-14 17:20:31 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-07-14 17:20:31 +0000 |
commit | 47dac815c207d39253e331fe7e3a174113897439 (patch) | |
tree | e64c5e600311d063633b99b18165e7f593bd41e8 /sys | |
parent | ff7dd7d8a8d28cbdd7d9e5a9702ecd9b92881179 (diff) |
add som support
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/stand/boot/conf.c | 5 | ||||
-rw-r--r-- | sys/arch/hppa/stand/libsa/Makefile | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/hppa/stand/boot/conf.c b/sys/arch/hppa/stand/boot/conf.c index ea61acb9418..a4d25853217 100644 --- a/sys/arch/hppa/stand/boot/conf.c +++ b/sys/arch/hppa/stand/boot/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.3 1998/07/13 03:52:06 mickey Exp $ */ +/* $OpenBSD: conf.c,v 1.4 1998/07/14 17:20:29 mickey Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -44,8 +44,9 @@ const char version[] = "0.02"; int debug; -struct x_sw execsw[] = { +const struct x_sw execsw[] = { { "elf", elf_probe, elf_load }, + { "som", som_probe, som_load }, { "" , NULL, NULL }, }; diff --git a/sys/arch/hppa/stand/libsa/Makefile b/sys/arch/hppa/stand/libsa/Makefile index 4348c81246d..8c4bd195567 100644 --- a/sys/arch/hppa/stand/libsa/Makefile +++ b/sys/arch/hppa/stand/libsa/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 1998/07/13 03:52:10 mickey Exp $ +# $OpenBSD: Makefile,v 1.4 1998/07/14 17:20:30 mickey Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -22,7 +22,7 @@ SRCS= alloca.S machdep.c pdc.c itecons.c dk.c dev_hppa.c exec_hppa.c time.c \ # stand routines SRCS+= alloc.c exit.c getfile.c gets.c globals.c strcmp.c strlen.c \ strncmp.c memcmp.c memcpy.c memset.c printf.c strerror.c strncpy.c \ - strtol.c ctime.c exec.new.c exec_elf.c + strtol.c ctime.c exec.new.c exec_elf.c exec_som.c # io routines SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c ioctl.c lseek.c \ |