manu
c5006e8c0c
Outch, uninitialized variable. How could that work before?
2003-11-25 17:09:24 +00:00
yamt
5b12f94dde
use FINFOSIZE macro.
2003-11-25 15:14:57 +00:00
itojun
f51095cf7c
knf
2003-11-25 14:44:13 +00:00
manu
206a81affc
Don't change process' special ports on exec(). If gdb attached the process,
...
it holds rights to the special ports, and it expects the rights to be valid
even after the process calls exec().
2003-11-25 13:22:38 +00:00
pk
16c7483e5e
spec_close: we don't need to lock the vnode just to make a copy of its flags.
2003-11-25 12:52:10 +00:00
cl
4da6cdf9f6
Fix check for pending upcalls after we return stacks.
...
Noted by yamt@.
2003-11-25 10:05:17 +00:00
pk
f7eea59188
Change default verbosity level to `traditional'.
2003-11-25 09:15:50 +00:00
pk
1954be3560
NORMAL_C,NOPROF_C,NORMAL_S: put `@' in front of these to get saner output.
...
Also we can't use _MKTARGET_COMPILE here. For now, just hard-code the message.
2003-11-25 08:52:40 +00:00
pk
d8db9075f0
SYSTEM_LD: don't display every object file on the planet thrice.
2003-11-25 07:47:29 +00:00
cdi
d49bc81070
Use per-cpu pcb, curlwp and fplwp rather than global ones. This brings
...
GENERIC.MP configuration to a usable state.
Approved by petrov@.
2003-11-25 05:14:58 +00:00
simonb
2651b30a5b
Need to set/restore the PSR explicity in cpu_{set,get}mcontext() since
...
it is a different size in mcontext_t and "struct reg".
Problem spotted by Christos Zoulas.
2003-11-25 04:57:05 +00:00
he
512e98364a
I've been informed that any dependent targets on .BEGIN are
...
ignored. Fix the symlink creation for machine, mips, and pmax
accordingly.
Also, there's nothing .PHONY about the vers.c target, as far as I
can see, so I've removed that.
2003-11-24 23:29:54 +00:00
uwe
2d6cce4c99
Cosmetic: in sh_vector_generic use named label instead of numeric
...
label for the curlwp address. Same object code is generated.
2003-11-24 23:24:18 +00:00
cube
8db032b396
Add ethfoo LKM example. It implements a cloning interface for fake
...
Ethernet devices that can be assigned an Ethernet address using the
included setaddr utility.
2003-11-24 21:58:45 +00:00
scw
fd11abcb03
For FAST_IPSEC, ipfilter gets to see wire-format IPsec-encapsulated packets
...
only. Decapsulated packets bypass ipfilter. This mimics current behaviour
for Kame IPsec.
2003-11-24 20:54:59 +00:00
cdi
02de9dde31
Call 'proc_trampoline_mp' from 'proc_trampoline' in a multiprocessor
...
configuration. Fix process locking. Approved by petrov@.
2003-11-24 20:41:15 +00:00
manu
ae4ac4f570
Also allow to change special and exception ports from a remote process
2003-11-24 20:30:19 +00:00
nathanw
68f7fcf078
Make the DPRINTF text for bulk in/out opening errors match which one
...
is in and which one is out.
2003-11-24 19:47:07 +00:00
manu
2569c624db
Don't free a buffer before we finished reading it
2003-11-24 17:20:58 +00:00
manu
1147a0b1e6
Enable tracing of out of line data sent with Mach message
2003-11-24 16:51:33 +00:00
kent
f2680f731e
An ICH board needs reading AC97_REG_RESET before reading AC97_VENDOR_ID.
...
(why?)
http://mail-index.netbsd.org/current-users/2003/11/22/0007.html
2003-11-24 16:05:10 +00:00
manu
c7f488a7ae
typo
2003-11-24 15:06:09 +00:00
pk
48f1e67a86
spec_close: controlling terminal hack: drop session reference count only if
...
we actually had a reference.
2003-11-24 14:59:38 +00:00
manu
662a14a8e6
Once a process has the kernel port to another process or thread, it can
...
use it to get process state and other stuff. It's not clear if this can
be used to modify exception ports or special ports (this needs to be
tested)
2003-11-24 14:31:40 +00:00
tsutsui
f37ddce7e8
Remove obsolete MD mcclock files.
2003-11-24 06:24:27 +00:00
tsutsui
e9dbe69e90
Set mcclock to BCD mode as before. Tested on 7248-133 43P.
2003-11-24 06:23:33 +00:00
tsutsui
9db2573fc8
Handle BCD mode properly.
2003-11-24 06:20:40 +00:00
lukem
130aed8e40
fix uninitialised variable warning. XXX: not sure if this is correct
2003-11-24 06:11:56 +00:00
uwe
0457f27ac6
Old sigcode (to be copied out to the bottom of the user stack) is only
...
necessary for COMPAT_16.
2003-11-24 04:59:24 +00:00
uwe
139976ff9c
Cosmetic: u_int32_t -> uint32_t in comments, trim trailing whitespace.
...
Add __KERNEL_RCSID.
2003-11-24 04:47:42 +00:00
uwe
ce26539142
Add __KERNEL_RCSID.
2003-11-24 04:16:51 +00:00
uwe
62410eae0a
Definition of __KERNEL_RCSID for asm files.
2003-11-24 04:07:22 +00:00
uwe
72a0bf93df
In db_disasm call get_ascii only if necessary.
2003-11-24 03:33:02 +00:00
uwe
0cfca60cdf
general_exception() now receives TEA as a third argument. For user
...
mode EXPEVT_ADDR_ERR_{LD,ST} traps pass it as ksi_addr, also use it to
decide if this is a SIGBUS (unaliged access) or SIGSEGV (kernel VA
access).
Report EXPEVT_TLB_PROT_LD as SEGV_ACCERR, not SEGV_MAPERR.
While here, consistently use standard uint32_t instead of u_int32_t.
2003-11-24 03:11:16 +00:00
uwe
721c1a1815
Pass TEA to general_exception. While here add a couple of comments.
2003-11-24 03:06:01 +00:00
chs
8205afea7d
de-__P, remove register, ansify.
2003-11-24 02:51:35 +00:00
augustss
852684606a
Add a device. From OpenBSD.
2003-11-24 00:00:07 +00:00
uwe
9d0d2c7461
Implement siginfo for sh3.
2003-11-23 23:13:11 +00:00
augustss
0e57233a47
Try harder to avoid 0 ports woth AMD756. From OpenBSD.
2003-11-23 19:20:25 +00:00
augustss
50ce2db105
Fix swapped lines in cleanup in ohci_init(). From OpenBSD.
2003-11-23 19:18:06 +00:00
augustss
7686442d28
Add more scanners. From FreeBSD.
2003-11-23 19:07:10 +00:00
augustss
25fc3e9769
Regen.
2003-11-23 19:06:39 +00:00
augustss
14f83fce74
Add another device. From FreeBSD.
2003-11-23 19:06:19 +00:00
augustss
743adeaf63
Add two more adapters. From FreeBSD.
2003-11-23 18:51:49 +00:00
augustss
57264be4a3
Regen.
2003-11-23 18:50:51 +00:00
augustss
0aac4b8f68
Update copyright years.
2003-11-23 18:50:27 +00:00
augustss
a8842a070e
Regen.
2003-11-23 18:37:50 +00:00
augustss
f01a819ee7
Add a number of devices. From FreeBSD.
2003-11-23 18:37:30 +00:00
augustss
d0bdc327b0
Add another product. From OpenBSD.
2003-11-23 18:17:58 +00:00
augustss
9184608aa6
Regen.
2003-11-23 18:16:25 +00:00
augustss
cd8b22197b
Add a number of devices. From OpenBSD.
2003-11-23 18:16:03 +00:00
chs
36ff370721
de-__P, remove register, ansify.
2003-11-23 17:09:29 +00:00
bjh21
18a0620f50
Sync acorn26 riscoscalls with acorn32 version.
2003-11-23 15:55:03 +00:00
bjh21
f68440c42d
Remove a spurious commented-out line.
2003-11-23 15:28:03 +00:00
bjh21
b6c0709c09
Rename os_CLI() and xos_CLI() to os_cli() and xos_cli() for consistency with
...
everything else.
2003-11-23 15:24:20 +00:00
bjh21
6ed8fd9689
Remove spurious whitespace.
2003-11-23 14:13:42 +00:00
bjh21
d8b0dd8a97
Create the "machine" and "arm" links directly from the .BEGIN rule, rather
...
than in dependencies of it, since .BEGIN is apparently only special for
its commands, not its dependencies. This should get boot26, and probably
boot32, compiling again.
2003-11-23 13:34:07 +00:00
augustss
422ce84f58
Add some more devices. From FreeBSD.
2003-11-23 12:22:51 +00:00
augustss
02bc5c0199
Regen.
2003-11-23 12:22:19 +00:00
augustss
de08e28c43
Add uplcom devices. From FreeBSD.
2003-11-23 12:21:54 +00:00
yamt
f9d2295ad0
turn ACQUIRE macro into a function by introducing new internal
...
flags, LK_SHARE_NONZERO and LK_WAIT_NONZERO. from FreeBSD.
2003-11-23 08:57:16 +00:00
taca
c6f4b234b4
Move initialization of ssym' and
esym' to inside of
...
#if NKSYMS || defined(DDB) || defined(LKM) ... #endif.
Now GENERIC and INSTALL kernel can be compiled again.
2003-11-23 08:54:57 +00:00
tsutsui
1508a7290a
Call bus_space_{read,write}_1() directly to access ncr53c9x common registers.
2003-11-23 04:34:26 +00:00
tsutsui
3aa8405cb9
Regen from diodevs rev 1.7:
...
> Change device ID for 98624A HP-IB from 0x80 to 0x01.
> nhpib.c in Lite2 used 0x01 and my 98624 also has an ID 0x01.
2003-11-23 01:59:25 +00:00
tsutsui
ff8bdea2e8
Change device ID for 98624A HP-IB from 0x80 to 0x01.
...
nhpib.c in Lite2 used 0x01 and my 98624 also has an ID 0x01.
2003-11-23 01:57:35 +00:00
gson
3187c34fa2
Make the raw midi device pass through received system exclusive
...
messages rather than discard them.
2003-11-23 01:25:59 +00:00
tsutsui
31cf2e3911
Suppress uninitialized warnings.
2003-11-23 00:09:11 +00:00
manu
c36ad94b40
Add HW_PAGE_SIZE sysctl
2003-11-22 23:26:52 +00:00
fvdl
370056a0f6
Use the redefined Promise product ids.
2003-11-22 20:57:18 +00:00
fvdl
e7fcb7da4d
Regenerate after rearranging the Promise ids.
2003-11-22 20:56:53 +00:00
fvdl
ac92051a0b
Clean up the Promise IDE controller defines.
2003-11-22 20:54:01 +00:00
tsutsui
919cc25d24
Add an entry of "com0 at dio0 scode 9" so that /dev/ttyC0 and
...
compat symlink (/dev/tty0) are always reserved for DCA serial.
2003-11-22 17:24:29 +00:00
manu
48b5fdb14d
Don't use the target port in task_for_pid: it is only usefull on
...
multiple-machine configurations -- something we don't do yet.
2003-11-22 17:17:55 +00:00
uwe
94c8b6c69f
Add _UC_SETSTACK, _UC_CLRSTACK flags. Add __fpr_fpul to __fpregset_t
...
and redefine __fpr_regs as an array of 32 ints (SH3E has 16, SH4 has
32 32-bit FP registers) to reserve the space for FPU registers - we
will properly redefine this as a union when we do support FPU.
2003-11-22 17:05:53 +00:00
itohy
1b7b873248
- Correctly handle bit 24 of miscellaneous control register, which has
...
different meanings for read and write.
This fixes 48kHz playback to SPDIF.
- Fix the problem where the SPDIF output voltage setting (0.5V, 5V)
was swapped. The default value is changed from 0.5V to 5V, which
correctly selects 5V (so the default physical behavior is unchanged).
Should fix PRs kern/16047 and kern/16817
(but not tested since I don't have other SPDIF hardware to test with).
Approved by tshiozak.
2003-11-22 16:48:14 +00:00
sekiya
20d207b125
Add (commented out) dpclock for ip22 and blinkenlitzen for ip32.
2003-11-22 15:08:44 +00:00
fvdl
6f7ba6556b
Add and enable sk/skc drivers.
2003-11-22 14:20:47 +00:00
kent
f9ae2a22c1
For ICH4/ICH5, use native BARs instead of compatible BARs.
...
The patch was provided by Lars Heidieker.
2003-11-22 08:49:41 +00:00
thorpej
f6c3c3450e
Add a missing i82541 ID to the table.
2003-11-22 08:32:12 +00:00
kent
c51ed264ee
AD1985 codec needs the same quirk as AD1980.
...
The patch was provided by Lars Heidieker.
2003-11-22 06:15:29 +00:00
kent
c6585e1d6d
Cosmetic changes
...
- ANSIfy
- no argument names in prototypes
- variable declaration with initialization
2003-11-22 05:40:48 +00:00
sekiya
f93f583751
Register definitions for National Semiconductor DP8573A RTC. Code originally
...
from Steve Rumble, with modifications by myself.
2003-11-22 04:01:01 +00:00
sekiya
8e5c74aa34
Add dpclock driver (and minimal hpc1 goo) for ip20.
2003-11-22 03:58:52 +00:00
sekiya
a7c36d873f
Add dpclock driver (and minimal hpc1 goo) for ip20. Code originally
...
from Steve Rumble, with modifications by myself.
2003-11-22 03:58:51 +00:00
sekiya
6cd8f56df9
Add ip20.c
2003-11-22 03:39:35 +00:00
sekiya
d11f147850
Add initial ip20 (Indigo) support. hpc1 code to follow. Code originally
...
from Steve Rumble, with modifications by myself.
2003-11-22 03:35:44 +00:00
matt
99f7a6b7db
More PPC64 changes. (latent for now).
2003-11-21 22:57:14 +00:00
tsutsui
3fb3c2b562
Revert previous DPRINTF changes since gcc3 properly removes text strings
...
in while(0) statements during optimization.
2003-11-21 19:44:53 +00:00
tsutsui
604d3c43a9
Make sure machine and ${MACHINE_ARCH} symlinks created before make depend.
2003-11-21 19:39:19 +00:00
matt
d765841d3e
Restore ci_curpm since it re-enables 603 to working state.
2003-11-21 18:07:29 +00:00
matt
13e522ee98
Add PowerPC64 definitions
2003-11-21 17:40:48 +00:00
abs
115bd31b73
Sync with GENERIC.MP (in particular add MPBIOS). Noted by Adam C. Migus
2003-11-21 09:29:11 +00:00
gson
19871d69f2
Code enabled by option AUDIO_DEBUG exhibited undefined behavior and
...
caused compiler warnings with gcc 3.3.2.
2003-11-21 03:08:37 +00:00
chs
6cca27ceb0
add cnmagic support to pdc console driver.
2003-11-21 00:25:36 +00:00
manu
43b8c2c38e
Avoid re-allocations of darwin_emuldata structures by COMPAT_MACH. This
...
caused a memory leak, and as mach_emuldata is shorter than darwin_emuldata,
it caused memory corruption.
2003-11-20 22:05:25 +00:00
yamt
bba8d5af45
comments on tcp_outflags.
2003-11-20 16:21:48 +00:00
yamt
348187802d
comments.
2003-11-20 16:18:49 +00:00
yamt
0b47e1b287
fix a race case of nfsrv_getcache.
2003-11-20 16:17:25 +00:00
dsl
91f5ee90a4
Add .WAIT after first subdirectory to ensure we don't build the libraries
...
twice.
2003-11-20 16:16:41 +00:00
kochi
9e86672dce
convert tab -> space (pointed out by Kanaoka-san)
2003-11-20 16:15:59 +00:00