eeh
86667308d7
Implement sysctl machdep.booted_kernel.
1999-11-08 05:06:42 +00:00
eeh
5ce41ef1f2
Fix boot device detection code.
1999-11-08 05:05:26 +00:00
eeh
29d84e8033
Handle zero length properly in copyinstr() copyoutstr() and copystr().
1999-11-06 20:28:37 +00:00
eeh
f7a499bedd
Explicitly use 32-bit and 64-bit types and add some of the hooks needed for
...
32-bit coredumps.
1999-11-06 20:26:18 +00:00
eeh
bb3b0d186a
Expliticly use 64-bit and 32-bit types. And get rid of ftype. Aparently all
...
the other ports have.
1999-11-06 20:24:51 +00:00
eeh
09dae2e5eb
Explicitly use 32-bit and 64-bit types.
1999-11-06 20:23:02 +00:00
eeh
80e38bf1c6
Explicitly use 64-bit types.
1999-11-06 20:18:13 +00:00
eeh
7b60d6a0ed
Provide explicit 64-bit and 32-bit types for compatibility with sparc
...
userland.
1999-11-06 20:13:49 +00:00
eeh
f429a45407
Explicitly use 64-bit types.
1999-11-06 20:10:24 +00:00
mrg
6a29b62403
make this compile in the absense of DDB.
1999-10-31 15:22:32 +00:00
lukem
50f7ec2271
sort sparc_db_command_table[]
1999-10-28 06:56:31 +00:00
kleink
522cbf0248
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
1999-10-25 13:55:06 +00:00
jdolecek
7f589dba84
rename the MD Debugger() to cpu_Debugger()
...
add MI Debugger() which switches to console if wscons is used prior
to calling cpu_Debugger()
1999-10-12 17:08:56 +00:00
eeh
793cc7a41b
Update to post 1.4.
1999-10-11 01:57:43 +00:00
eeh
ff994dd772
Make this compile again.
1999-10-05 03:46:30 +00:00
eeh
f1deb2c3ac
Make broken versions of gas happy by using sethi/or instead of set for
...
(negative) addresses.
1999-10-05 03:40:50 +00:00
eeh
cb2f2c8f26
Add RODATA() macro.
1999-10-05 03:34:41 +00:00
thorpej
11cae42531
Centralize the declaration and clearing of `cold'.
1999-09-17 19:59:35 +00:00
thorpej
3b01d1b872
Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
...
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-15 18:10:33 +00:00
chs
f3a668ed84
eliminate the PMAP_NEW option by making it required for all ports.
...
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
1999-09-12 01:16:55 +00:00
thorpej
58858e0968
Suns use black-on-white as the default rcons colors.
1999-08-26 20:50:08 +00:00
thorpej
2cf3330a1b
Garbage-collect reference to <sys/dmap.h>.
1999-08-23 22:29:37 +00:00
simonb
3c185af5fd
Include <sys/endian.h> after defining whether where are little- or
...
big-endian. i386, pc532 and vax still include <machine/byte_swap.h>
and define macros for the {n,h}to{h,n}*() functions. mips also
defines some endian-independent assembly-code aliases for unaligned
memory accesses.
1999-08-21 05:53:50 +00:00
simonb
06a92524c2
Include <sys/bswap.h> for function prototypes. i386, pc532 and vax
...
still include <machine/byte_swap.h> and define macros for some of
the bswap*() functions.
1999-08-21 05:39:51 +00:00
thorpej
28fb7c1eb8
Define cpu_number() as discussed on tech-smp.
1999-08-10 21:08:05 +00:00
thorpej
2ff657adb8
Fix the raise/lower semantics of splsoftclock()/spllowersoftclock().
1999-08-05 18:28:01 +00:00
thorpej
eb20bbc780
Change the semantics of splsoftclock() to be like other spl*() functions,
...
that is priority is rasied. Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.
This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).
XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX. This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
augustss
a7cd454b1d
It's time to be COMPAT_14.
1999-07-29 10:37:12 +00:00
thorpej
6ec1ededf1
Make a slight rearrangement in how <machine/lock.h> is included.
1999-07-27 23:45:13 +00:00
thorpej
cc668e410f
Define apporpriate an value for SIMPLELOCK_LOCKED, based on the
...
semantics of ldstub.
1999-07-27 22:22:33 +00:00
thorpej
c1ee8f0a8c
Prepend `cpu_' to the machine-dependent atomic locking primitivies.
1999-07-27 21:45:39 +00:00
cgd
f886376518
be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
...
copy them just to strip them, use strip -o.
1999-07-26 05:20:44 +00:00
thorpej
40c08923a8
XXX LOCKING XXX of allproc; DDB runs with interrupts blocked, and MD
...
code should suspend other processors, so this probably isn't a problem,
but the comment is added anyhow.
1999-07-22 21:11:26 +00:00
eeh
5e22318a8d
More fun with pmap.
1999-07-18 23:55:57 +00:00
eeh
c6a358d0a8
Lower spl for softints.
1999-07-18 23:54:20 +00:00
eeh
27bc6dd353
Switch to NetBSD/sparc ELF for 32-bit userland.
1999-07-18 23:52:58 +00:00
eeh
01474710ca
Switch over to NetBSD/sparc ELF for 32-bit userland.
1999-07-18 23:51:08 +00:00
thorpej
0945bf58b0
Add examples for including the kernel crypto bits from either crypto-us
...
or crypto-intl, commented out, with instructions to use only one, and
adjust the prefix as necessary.
1999-07-09 18:55:33 +00:00
mrg
ecdad0ec33
clean up a bit after jason :)
...
- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
$INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.
this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
1999-07-09 09:52:55 +00:00
thorpej
3ebbe095e0
Change the pmap_extract() interface to:
...
boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.
1999-07-08 18:05:21 +00:00
itojun
5effafcaa6
kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
...
(source code will be committed soon)
1999-07-01 07:00:12 +00:00
itojun
427639cdce
- Call ip6intr if INET6 is defined.
...
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.
This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.
1999-06-28 08:20:40 +00:00
mrg
5425cbfa41
fix compile warning.
1999-06-21 06:28:33 +00:00
eeh
0c32dc3995
Clean this up a little. More later. (Gee, this really is becoming a huge
...
mess).
1999-06-21 01:44:14 +00:00
eeh
d326454d31
Nuke the last vestiges of a single DVMA map. This stuff should have
...
been completely migrated to individual bus drivers.
1999-06-21 01:42:36 +00:00
eeh
2c283b9149
Improve TRAPTRACE. Add FLTRACE that only tracks MMU faults.
1999-06-21 01:39:06 +00:00
eeh
9cf2782159
Move the DVMA mapin/mapout functions from the SBus driver to the iommu driver.
1999-06-20 00:51:29 +00:00
thorpej
0288ffb53a
pmap_change_wiring() -> pmap_unwire().
1999-06-17 19:23:20 +00:00
thorpej
f5a527bb4e
Remove pmap_pageable(); no pmap implements it, and it is not really useful,
...
because pmap_enter()/pmap_change_wiring() (soon to be pmap_unwire())
communicate the information in greater detail.
1999-06-17 18:21:21 +00:00
eeh
0693ec8379
Don't change protection on the clock for the moment.
1999-06-10 04:31:20 +00:00