108036 Commits

Author SHA1 Message Date
christos
d00d441811 step 4: don't de-reference l, if you are going to test if it is NULL a couple
of lines below.
2003-01-21 00:02:07 +00:00
christos
3908d39e06 step 3. Assign lwp properly if null, so that we can PHOLD without segfaulting. 2003-01-21 00:01:14 +00:00
christos
2cc65e9f5e step 2: fix sync so that it does not dereference null lwp and assign p properly. 2003-01-21 00:00:10 +00:00
christos
416978b15b The hunt to make sync work from ddb again begins here.
Protect against lwp null dereference. set proc p properly.
2003-01-20 23:59:14 +00:00
christos
0f6167a798 name the component that should be leaf in the diagnostic. 2003-01-20 23:57:49 +00:00
scw
0767992461 If we don't explicitly recognise the trap type, only panic if it
came from kernel mode. Otherwise, print details of the exception
and send a SIGILL to the process.

The is necessary now that debug exceptions are handled here.
2003-01-20 22:32:26 +00:00
scw
80284bdc34 Arrange for non-panic debug sync/async exceptions to re-vector through the
real sync/async exception handler instead of always calling panic_trap().
Otherwise, userland BRK instructions can halt the system.
2003-01-20 22:25:09 +00:00
pk
26eedde15b srmmu_cache_flush: when flushing per-page and doing more than one page,
we might be crossing a segment boundary.
2003-01-20 22:15:54 +00:00
jdolecek
6e7eeb5d94 we now support POSIX 1003.1b semaphores, add _POSIX_SEMAPHORES feature
define
2003-01-20 22:11:15 +00:00
pk
d823499ff4 pmap_enter4m: when installing a new PTE we don't need to invoke the elaborate
TLB de-map protocol.  In the relatively infrequent case where this function
must update an existing mapping, do the de-map explicitly before installing
the new PTE value.
2003-01-20 22:03:54 +00:00
pk
ab9a8ae184 Set the system-wide cache aliasing distance according to the largest cache
found on the CPU modules (hypersparc & cypress).

Vikings have a physically indexed cache, so don't bother with computing an
aliasing distance (leaving cache_alias_dist zero disables the BAD_ALIAS macro).
2003-01-20 21:56:34 +00:00
is
f81fd6de3a Increase inode density - we were running out of inodes mid-install after
adding more cd and st devices. Reported by Oliver B. Warzecha when testing
patches to his PR 14356.
2003-01-20 21:47:20 +00:00
pk
b4a0aebea2 Add SUN4D case for cache alias macros. 2003-01-20 21:43:38 +00:00
aymeric
32571dfb87 fill in the dv_unit field of the fake "struct device" correctly.
In particular, this makes grfN, N != 0, work as console.
Tested by Ignatios.
2003-01-20 21:24:56 +00:00
augustss
5ad4518358 Lower debug level so the match routine isn't so verbose. 2003-01-20 21:14:57 +00:00
christos
4e5f58dd38 more sem to _sem_st 2003-01-20 20:52:24 +00:00
pk
353e527861 Remove the restriction that the boot CPU must be the first CPU in the order
as it is presented by the PROM. This is actually amazingly less trivial
than it looks at first, since the finding the Module ID that's currently
executing your code is specific for each module type and/or manufacture.
2003-01-20 20:51:33 +00:00
christos
326105323e regen 2003-01-20 20:25:04 +00:00
christos
1dbdd7cc6d sys_ksem -> sys__ksem 2003-01-20 20:24:21 +00:00
christos
77498d1e60 add small semaphore test.
XXX: kernel side needs more tests.
2003-01-20 20:12:17 +00:00
christos
90135cf7e8 add support for p1003.1b semaphores. From FreeBSD 2003-01-20 20:10:19 +00:00
scw
11e9fa3a9b Initialise the FPSCR to a sane value. 2003-01-20 20:09:59 +00:00
christos
3f4a1907c6 add support for p1003.1b semaphores. From FreeBSD 2003-01-20 20:09:50 +00:00
christos
111839200d Add _ksem stubs. 2003-01-20 20:09:27 +00:00
christos
e83cbded11 add support for p1003.1b semaphores. From FreeBSD 2003-01-20 20:08:30 +00:00
scw
def0257e54 Split struct reg into integer and FP parts, to be more like every other port.
As a side benefit, advertise PT_[GS]ETFPREGS.
2003-01-20 20:07:52 +00:00
christos
f82c14c1fc regen 2003-01-20 20:06:25 +00:00
christos
566542c308 add support for p1003.1b semaphores. From FreeBSD 2003-01-20 20:05:26 +00:00
christos
4a037b0375 actually, remove ksem.h 2003-01-20 20:04:28 +00:00
christos
f64e9a84b1 semaphore.h -> ksem.h 2003-01-20 20:03:38 +00:00
christos
1df6f4ff40 add support for p1003.1b semaphores. From FreeBSD 2003-01-20 20:02:56 +00:00
christos
44a7a1c861 add support for p1003.1b semaphores. From FreeBSD. 2003-01-20 20:02:01 +00:00
drochner
3ef8fd67ee this is too young to bitrot: LWPify 2003-01-20 18:43:18 +00:00
dsl
85ed0bb278 Make kernel address arg of kvm_ckread() const void * so caller doesn't
need a cast.
(approved by christos)
2003-01-20 18:24:03 +00:00
thorpej
c50dc4c8fc Add port-sh5, port-evbsh5, port-x86_64, port-hppa, and port-hp700. 2003-01-20 17:48:59 +00:00
scw
b896a7171e _{get,set,swap}context_u() for SH5. 2003-01-20 17:03:58 +00:00
sommerfeld
69ed85673a We really don't need two vanity configs for BP6-based systems
("SWINGER" is the other).
2003-01-20 16:33:05 +00:00
thorpej
706b88727b Fix typo in sigcontext conversion macros. From Christopher SEKIYA. 2003-01-20 16:28:13 +00:00
aymeric
c11faf9eec bump version.
":cs add" works when using a database file in the current directory, whichever
way we specify its name.
2003-01-20 16:13:26 +00:00
aymeric
5ca712061a . Don't call terminate() after read_prompt() failed.
Fixes memory re-use after free().
. Fake a directory name of "." if given a path without '/'.
	This makes ":cs add cscope.out" work, and behave like ":cs add ."
2003-01-20 16:10:51 +00:00
pk
18f455c44f Replace some more VA2PA(<static_addr>) calls with PMAP_BOOTSTRAP_VA2PA() 2003-01-20 15:45:40 +00:00
bouyer
4bce909c04 bzero the part of the buffer used to pad the packet to
ETHER_MIN_LEN - ETHER_CRC_LEN.
2003-01-20 14:59:27 +00:00
grant
1299d1b74c 1.7 -> 2.0. 2003-01-20 12:53:48 +00:00
pk
5815e88f83 De-couple some MULTIPROCESSOR and SUN4M/SUN4D dependencies. 2003-01-20 12:06:49 +00:00
soren
a35845dab6 Note hd44780 and cobalt panel driver from Dennis Chernoivanov. 2003-01-20 11:11:34 +00:00
martin
1a3bbabc29 Grrr, add another set of casts working around sc_aperbase having the wrong
type. We should fix this!

This makes it compile for 32bit sparc64 kernels.
2003-01-20 11:02:47 +00:00
dsl
c673281c37 Fix lib/17248 properly
'ls -l-' now reports unknown option -- -
'env -' and 'su -' both work ok
(change approved by christos)
2003-01-20 09:06:35 +00:00
salo
6d9616b35d Add IANA-assigned number for SILC (Secure Internet Live Conferencing).
Closes PR misc/19945 by me, approved by martin.
2003-01-20 09:06:02 +00:00
dsl
2db0e4fba3 Make 'times' be a proper posix special builtin.
(change agreed by christos and mailed to Michael Rendell)
2003-01-20 08:49:00 +00:00
martin
5adc155ebd Fix lwp_wait syscallargs. This closes PR 19941. 2003-01-20 08:27:40 +00:00