thorpej
51535d4bf5
Add support for dumping ELF-cormat core files.
2001-12-09 23:05:56 +00:00
hannken
de07b4b524
Protect `opt_sparc_arch.h'. Used from /sys/arch/sparc/stand/boot.
2001-12-07 11:00:39 +00:00
lukem
612e777b6e
s/defopt/defflag/
2001-12-04 23:14:48 +00:00
thorpej
2684ea2b22
Don't declare which exec formats to support in loadfile_machdep.h.
...
Instead, give each user of loadfile() control over which exec formats
it wants to support.
2001-12-04 18:54:34 +00:00
jmc
30dcee15c0
Grab the appropriate loadfile_elf depending on machine arch
2001-12-04 11:31:10 +00:00
darrenr
860b0688ac
defopt "options SUN4*", put #define for each of SUN4, SUN4C, SUN4M and SUN4U
...
into opt_arch_sparc.h and include this wherever they are used.
2001-12-04 00:05:04 +00:00
lukem
ecb81c3f6d
- convert usage of "defopt" to "defflag" where the relevant option does
...
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
lukem
9f42ccc795
use #ifdef DDB (for consistency with the rest of the kernel)
2001-11-28 05:45:27 +00:00
atatat
155e541aa2
Instead of checking for previous usage, just append to some make
...
variables. Tweak some variables to provide for more uniform defaults.
Minor adaption to makefiles for already converted ports.
2001-11-23 05:18:59 +00:00
atatat
2bf2c362fb
The bridge(4) pseudo-device no longer requires the port to
...
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
2001-11-23 05:00:22 +00:00
uwe
1eebb3fde3
Add patches for Mr.Coffee with OBP2.
...
Miscellaneous cosmetic changes.
2001-11-22 04:18:28 +00:00
jmc
5ac54229c9
Don't make the symlinks on clean rules as well as obj rules. Breaks r/o source
...
trees that haven't gotten to the make obj recursion part of make build
otherwise.
2001-11-22 00:14:20 +00:00
uwe
8390d1903a
Skip relocation if OpenFirmware already loaded us at the right address.
2001-11-21 21:38:00 +00:00
wiz
1fd7eeefcd
"than" instead of "then".
2001-11-21 19:14:19 +00:00
lukem
03aef4723c
cleanup:
...
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
lukem
99bccc3cab
- pull in opt_kgdb.h where necessary
...
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for options KGDB_DEVNAME="\"com\""
- use correct quotes for options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
2001-11-20 08:43:19 +00:00
atatat
d5de3c2fb2
Abstract out a large chunk of the kernel build machinery so that new
...
build features (such as ross's DEBUGLIST) can easily be applied to all
ports. This should reduce the complexity of each port's kernel
Makefile considerably. Line counts:
227 arch/i386/conf/Makefile.i386.orig
98 arch/i386/conf/Makefile.i386
227 arch/alpha/conf/Makefile.alpha.orig
99 arch/alpha/conf/Makefile.alpha
219 arch/sparc/conf/Makefile.sparc.orig
102 arch/sparc/conf/Makefile.sparc
215 arch/vax/conf/Makefile.vax.orig
102 arch/vax/conf/Makefile.vax
253 conf/Makefile.kern.inc
Roll i386, alpha, sparc, and vax over to the new build machinery.
2001-11-16 00:23:02 +00:00
soren
662f877587
MAXSLP is defined to be a machine-independent scheduling parameter,
...
so move it into sys/param.h.
2001-11-15 18:06:11 +00:00
uwe
0c392b9e2f
Move dvma_cachealign to cache.c where it belongs and declare it in
...
cache.h, so that kernel can be linked without iommu support (for the
sake of microSPARC-IIep that has a very different iotlb).
2001-11-13 03:04:50 +00:00
pk
4f1fe56be8
Remove redundant declarations.
2001-11-12 16:32:25 +00:00
scw
45e7238a02
Bump the version numbers of all bootloaders which use loadfile_elfXX() now
...
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
thorpej
47514a31be
Remove unneeded declarations of the db_machine_init() function. The
...
ARM ports are the only ones that actually have one, and it is about
to change.
2001-11-09 06:52:23 +00:00
thorpej
88ff68974a
Changes from Martin Husemann and myself:
...
- Make the 32-bit SPARC profile support work with the GCC 2.95.3
SPARC ELF compiler, which uses a different name for mcount.
- Make the 64-bit SPARC profile support header look more like the 32-bit
SPARC header (no functional change -- 64-bit SPARC already used the
correct mcount name).
2001-11-03 20:24:42 +00:00
thorpej
44f1c938e8
Don't actually need elf64 support in installboot(8).
2001-10-31 22:13:03 +00:00
thorpej
6797e85570
Include support for elf64.
2001-10-31 17:21:47 +00:00
thorpej
e727e3f180
Split elf32 vs. elf64 handling in loadfile(), including support for
...
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
2001-10-31 17:20:45 +00:00
thorpej
4810d73020
Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
...
objects.
2001-10-31 01:51:42 +00:00
thorpej
715b4d636e
Use the standalone byteorder routines.
2001-10-30 23:39:08 +00:00
thorpej
380b5498e9
Make sure to load/store bbinfo values as big-endian.
2001-10-30 05:52:30 +00:00
thorpej
f16413a699
Rather than using nlist(3), use a magic structure with a magic
...
number that installboot(8) can search for. Suggested by cgd@netbsd.org .
2001-10-30 05:13:09 +00:00
darrenr
b6e4899865
fix so it compiles on a system without 'options SUN4M'
2001-10-27 17:44:18 +00:00
jmc
6d536163de
Change defaults for kernel compiles. Default all to USETOOLS?=no and have
...
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.
Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
2001-10-26 06:45:33 +00:00
thorpej
2a073cf8d0
Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
...
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
2001-10-23 19:42:16 +00:00
mrg
35a5f0448e
add a note about keeping this file in sync with the sparc64 conf.c. also
...
add some unused code for the pci bus device. (hi uwe!)
2001-10-22 16:40:47 +00:00
uwe
bfa2f82c18
Minor cleanup. Garbage-collect unused declaration of comsoft() now
...
that sparc has generic soft interrupts. In softnet() - return
immediately if netisr is zero.
2001-10-18 12:32:25 +00:00
kleink
af6ca36a9c
Unify sparc{,64} headers once again; restore 32-bit sparc64 ABI.
2001-10-15 21:32:25 +00:00
kleink
a84ae73f33
Unify sparc{,64} headers once again; restore 32-bit sparc64 ABI.
2001-10-15 19:49:16 +00:00
kleink
7dcab228e8
Fix a pasto in the __COMPILER_INT64__-based definition of {u,}intmax_t.
2001-10-14 20:11:11 +00:00
mrg
8b4596288b
when comparing bp->val[] against other types, cast the bp->val[] value to
...
other type. this avoids sign extension lossage as "val" is (signed) int.
PR#14212.
2001-10-13 08:25:57 +00:00
uwe
a291eed4cc
Fix SIGNEX macro: sizeof is in bytes, not bits.
2001-10-13 00:41:49 +00:00
mrg
e5f5465184
avoid a memory leak
2001-10-05 13:32:23 +00:00
mrg
a5bca05a81
add sio16 support.
2001-10-05 13:32:00 +00:00
bouyer
04dda897ce
In cpu_rootconf() use booted_device instead of rebuilding it from bp->dev,
...
so that a RAID device confgiured with -A root will really be used as root
device.
Discussed on port-sparc s few days ago.
2001-10-03 20:03:29 +00:00
chs
4dcf281923
use pmap_k{enter_pa,remove}() where appropriate.
2001-10-03 09:40:12 +00:00
chs
f657918fda
deal with bus_addr_t now being a 64-bit quantity. fixes PR 14107.
2001-10-03 09:37:23 +00:00
augustss
1339e88a86
Add a new optional method, dev_ioctl, to the audio hardware driver interface.
...
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).
2001-10-03 00:04:47 +00:00
chs
80373b7e54
don't depend on other headers to include sys/proc.h for us.
2001-09-28 11:59:51 +00:00
mrg
a68e13f815
implement generic soft interrupts as described in softintr(9). convert
...
the network, clock & serial softint's to use them.
2001-09-27 02:05:42 +00:00
eeh
98ecb5b215
getprop* -> PROM_getprop*
2001-09-26 20:53:05 +00:00
eeh
64d9292e8c
*NEVER* cast a reference parameter to a different type.
2001-09-26 15:05:49 +00:00