eeh
85c03d9775
Properly bus_space_*=ify this so it uses accessors.
2002-03-21 00:25:41 +00:00
eeh
943373dde4
Use bus_space_vaddr().
2002-03-21 00:18:36 +00:00
eeh
86ff330657
Fixup attachment code to use sbus_promaddr_to_handle() and not specify
...
BUS_SPACE_MAP_LINEAR.
2002-03-21 00:16:15 +00:00
thorpej
6440db6488
* Add a NetBSD Vendor Class Identifier option as proposed on tech-net
...
in message <20020216172527.C23901@dr-evil.shagadelic.org>.
* Print the bootp/dhcp response, as is done for rarp/bootparam
responses.
* Nuke bootp_flags and BOOTP_PXE; they're not used, nor should they be.
2002-03-20 23:10:39 +00:00
thorpej
df292ba439
Add a NetBSD Vendor Class Identifier option as proposed on tech-net in
...
message <20020216172527.C23901@dr-evil.shagadelic.org>.
2002-03-20 23:07:37 +00:00
itojun
007db8b52a
remove obsolete comment
2002-03-20 22:47:59 +00:00
eeh
87eac0acc3
Use bus_space_vaddr().
2002-03-20 20:41:35 +00:00
eeh
686c857e16
Get rid of unnecessary BUS_SPACE_MAP_LINEAR.
2002-03-20 20:39:15 +00:00
gmcgarry
bf49f00fe6
Use host tool elf2ecoff if available.
2002-03-20 20:18:00 +00:00
gmcgarry
dd71debbae
Test for USETOOLS properly.
...
cVS: ----------------------------------------------------------------------
2002-03-20 20:15:18 +00:00
ross
6a723063ac
nonfunctional warning fix: use canonical indirect call syntax
2002-03-20 20:06:51 +00:00
eeh
fbce8217dd
Oops. Missing semicolon.
2002-03-20 19:32:42 +00:00
eeh
47ef6a5146
Overhaul bus space.
...
bus_space_handle_t now holds an address and two ASIs, one for normal accesses
and one for streaming accesses. This allows to map individual handles
different ways, so some can use MMU bypass accesses and others use virtual
addresses. bus_space_map() will now create handles that use bypass accesses
unles BUS_SPACE_MAP_LINEAR is passed in. So only pass in BUS_SPACE_MAP_LINEAR
if you absolutely *need* to use bus_space_vaddr(). This removes at least one
extra level of indirection and should reduce TLB misses.
32-bit kernels have problems accessing 64-bit addresses, so they always use
virtual addresses.
2002-03-20 18:54:46 +00:00
eeh
bd48e83999
DDB_ONPANIC now needs a number.
2002-03-20 18:43:53 +00:00
eeh
bd22d9d0f1
Add PTE_WIRED bit to keep track of wired pages.
2002-03-20 18:41:53 +00:00
eeh
8ccad96d54
Add sbus_promaddr_to_handle() to convert a prom address to a bus_space_handle_t.
2002-03-20 18:39:44 +00:00
christos
36244cee28
kill PS_STRINGS, STACKGAPBASE_UNALIGNED, STACKGAPBASE
2002-03-20 18:00:07 +00:00
christos
7e277b5782
kill remaining PS_STRINGS instances.
2002-03-20 17:59:22 +00:00
eeh
8ea2c88ec2
Clean up bus space a bit. XXX is sc_buffer ever actually used after it's
...
mapped in?
2002-03-20 17:59:16 +00:00
eeh
ddbdd7fa41
Don't use BUS_SPACE_MAP_LINEAR if you don't need to.
2002-03-20 17:57:33 +00:00
eeh
ef4ff79f61
Use bus_space_vaddr() correctly. (XXX do we really need this?)
2002-03-20 17:52:41 +00:00
christos
e88e90e3bf
use 64 signals.
2002-03-20 17:50:07 +00:00
thorpej
1a69060597
When getting the packet off the interface, make sure the payload is
...
aligned after the Ethernet header.
kern/15982, Hiroyuki Bessho <bsh@grotto.jp>
2002-03-20 17:42:23 +00:00
eeh
e0866470d8
Use bus_space_vaddr() correctly. Ugh.
2002-03-20 17:34:23 +00:00
eeh
67d8d816ca
Use bus_space_vaddr() correctly. (Why use bus_space_vaddr() at all?)
2002-03-20 17:32:23 +00:00
christos
ce4e71d1b0
New mouse code from Peter Seebach.
2002-03-20 17:06:51 +00:00
augustss
85fc920f4f
Define uvscom_acvtivate() according to prototype.
2002-03-20 16:39:39 +00:00
joda
0624e7fe7a
add HTT cpu flag, and further split message
2002-03-20 15:59:26 +00:00
christos
e5160e810e
Add the ability to report file number/block number. From Matt Jacob.
2002-03-20 14:53:59 +00:00
christos
748ed9bd8f
put back NSIG=64 for userland. It is not nice to have programs report
...
unknown signal %u or coredump when they try to report a signal out of
range.
2002-03-20 14:30:11 +00:00
tron
a15356aae8
Don't expose the increased number of signals to the userland because the
...
required userland support e.g. in "libc" is not in place yet. This fixes
crashes in "ksh" but any other program which uses "sys_siglist".
2002-03-20 14:10:20 +00:00
ad
9c918242a2
Add missing structure member copies in wsfont_add0().
2002-03-20 12:18:56 +00:00
lukem
7fedb7d335
add missing prototype for uvscom_activate()
2002-03-20 03:20:10 +00:00
chs
fb88d3b0ba
add missing cache flushes in pmap_protect(). fixes PR 15965.
2002-03-20 02:50:19 +00:00
christos
50981e06bc
emulation specific sysctls. Also change the kernel date to nov 11 as requested
...
by bad.
2002-03-20 00:27:58 +00:00
christos
195539260e
emulation specific sysctls.
2002-03-20 00:27:25 +00:00
christos
2aae331e69
add es_sysctl for emulation specific sysctls.
2002-03-20 00:26:33 +00:00
christos
c5f93c4fac
new emulation specific sysctls.
2002-03-20 00:23:46 +00:00
thorpej
c0d66944db
Make sure we override any optimization options specified by the
...
user; the boot blocks don't work when built with e.g. -mcpu=i486
(probably due to how branches are aligned in that case, causing
segment boundaries to be crossed).
2002-03-19 22:03:37 +00:00
bouyer
9a2eeadc6c
Regen: add AMD768 devices
2002-03-19 22:03:06 +00:00
bouyer
54c7295e52
Add AMD768 devices, from
...
http://members.hyperlink.net.au/~chart/download/pcidevs.txt
2002-03-19 22:02:36 +00:00
christos
bda4b15e05
- Now that RT-signals fit, fix the array to deliver them. [i386 only].
...
- jdk-1.4 works perfectly now. :-)
2002-03-19 20:51:59 +00:00
christos
225441db6e
- Define SIGRTMIN and SIGRTMAX iff _KERNEL.
...
- Bump the number of signals to 64, and define the default action for
signals >= SIGRTMIN to be kill.
2002-03-19 20:50:41 +00:00
martin
4a7710e8d9
Fix a long standing confusion between n_mgm_command and mph_command_req
...
by removing the former completely.
This makes isdntrace work again.
2002-03-19 20:10:45 +00:00
eeh
c34c58d78e
Using PSR_PIL in conjunction with the IPL results in a comparison that is
...
always true.
2002-03-19 19:47:57 +00:00
briggs
14bcbc0e29
Ignore cpu_sleep() if called with anything other than ARM_SLEEP_MODE_IDLE.
2002-03-19 19:41:57 +00:00
eeh
7a49cca31a
Fix up compiler options:
...
1) Get things right for 32-bit kernels
2) Always use medium any memory model for 64-bit kernels for the moment.
2002-03-19 18:10:33 +00:00
drochner
b40bbc753e
work around a pc-relative jump optimization in early startup
2002-03-19 17:59:04 +00:00
augustss
1a42566bd8
Add uvscom.
2002-03-19 15:19:43 +00:00
augustss
2448d257af
Add uvscom driver. Untested.
2002-03-19 15:10:21 +00:00
augustss
ea41085783
Add driver for SUNTAC Slipper U VS-10U serial devices.
...
Written by Shunsuke Akiyama <akiyama@jp.FreeBSD.org>. From FreeBSD.
2002-03-19 15:08:42 +00:00
augustss
b9300aa49f
Regen.
2002-03-19 15:07:23 +00:00
augustss
d79c559262
Add some devices. From FreeBSD.
2002-03-19 15:07:05 +00:00
christos
9c8babbd46
Drop connections to the broadcast address. From BUGTRAQ. This is a security
...
issue because it can by-pass ipf rules unintentionally.
2002-03-19 14:35:20 +00:00
briggs
d099df10f4
Use obio_bs_rr_1.
...
In obio_bs_map(): Create a mapping for regions that are not in the
standard on-board I/O space.
2002-03-19 01:36:13 +00:00
itojun
d31217b639
check sa_len and sa_family strictly. (NOTE: rtsol/rtsold older than Nov2001
...
will stop working, upgrade them first)
2002-03-19 01:21:19 +00:00
atatat
8fb7f2015a
Remove a comment that is wrong
2002-03-19 00:58:17 +00:00
atatat
808a91f311
Put the extra kernel names in EXTRA_KERNELS
2002-03-19 00:57:53 +00:00
simonb
267b8c65f5
Define all CPU types if _LKM is defined; fixes problems building LKM's
...
as noted by FUKAUMI Naoki on port-mips.
2002-03-19 00:53:46 +00:00
martin
af693ebcf6
Wakeup sleeping processes when the ISDN connection gets established
...
or disestablished. Hint from Matthias Drochner.
2002-03-18 23:28:03 +00:00
thorpej
09a6f546a3
PS_STRINGS -> p->p_psstr
2002-03-18 22:57:53 +00:00
briggs
47c8167bc7
Fix typo: ISDNCTL -> NISDNCTL.
2002-03-18 22:46:57 +00:00
bjh21
e637cd6c16
PS_STRINGS -> p->p_psstr
2002-03-18 22:21:25 +00:00
martin
b07c2da1c9
Fix an uninitialized use of a variable by removing it completely.
2002-03-18 22:15:28 +00:00
bjh21
6a7bb64ae1
We don't seem to need abort() any more -- presumably GCC is no longer
...
generating calls to it.
2002-03-18 21:14:34 +00:00
manu
af187fe983
Added swapctl SC_ADD, SC_REMOVE and SC_SGIADD commands.
2002-03-18 20:34:54 +00:00
manu
a8db9077cd
Uses the recently introduced uvm_swap_stats() instead of
...
sys_swapctl(SWAP_STATS). This enable the use of a kernel based
buffer instead of using some temporary memory in the stackgap,
whereas we cannot make sure that the size os the struct swapent array
will fit in it. (it is not known at build time, but the stackgap len
is set at build time).
2002-03-18 17:21:24 +00:00
manu
1c1ef56eed
Cosmetic change (lines longer than 80 car)
2002-03-18 17:18:28 +00:00
itojun
7ffd9429a4
s/PS_STRINGS/p->p_psstr/, as requested by christos
2002-03-18 17:00:20 +00:00
itojun
f3279050b2
esp/ah_ctlinput: pass useful address to key_alloc.
2002-03-18 15:30:03 +00:00
tv
90f4347de8
Make sure USETOOLS value is propagated (for USETOOLS?=no case in each
...
kernel Makefile). Perhaps we should .include this file earlier....
2002-03-18 15:20:08 +00:00
uch
9b5ad836c6
include sys/queue.h.
2002-03-18 14:35:20 +00:00
kent
a340d0e8ea
Create new uaudio_chan_init() and move sample_size/bytes_per_frame
...
initialization to it from uaudio_chan_set_param(). uaudio_set_params()
calls uaudio_chan_init().
These are required because bytes_per_frame is used in
uaudio_round_blocksize(), which is called before uaudio_set_params().
Noise of 4ch playing disappears by this change. 6ch playing still has
cyclic noise.
2002-03-18 14:06:08 +00:00
christos
8b264dc99c
regen
2002-03-18 14:01:31 +00:00
christos
57a22d5790
Add Siemens speedstream, from Alicia da Conceicao.
2002-03-18 14:01:02 +00:00
wiz
358ed3f6d4
Fix a typo, a KNF-nit, and simplify a printf format string.
2002-03-18 13:38:52 +00:00
christos
df95562a0f
goodbye PS_STRINGS
2002-03-18 13:27:02 +00:00
manu
2debbde786
Move swapctl(SWAP_STATS) implementation to a separate function called
...
uvm_swap_stats(). This is done in order to allow COMPAT_* swapctl()
emulation to use it directly without going through sys_swapctl().
The problem with using sys_swapctl() there is that it involves
copying the swapent array to the stackgap, and this array's size
is not known at build time. Hence it would not be possible to
ensure it would fit in the stackgap in any case.
2002-03-18 11:43:01 +00:00
simonb
9fe34c6901
Fix comments after endian selection includes(!).
2002-03-18 11:11:30 +00:00
simonb
00e905ce64
Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
2002-03-18 10:10:14 +00:00
oki
e60e94456a
emul_netbsd is no longer used in exec_pecoff.
2002-03-18 08:16:08 +00:00
oki
075769476a
Use /emul/pecoff as prefix to run PE/COFF binaries.
2002-03-18 07:11:06 +00:00
dbj
f0658bdada
make compile with _STANDALONE
2002-03-18 05:10:58 +00:00
briggs
a2e0bd5a5d
Use p->p_psstr instead of PS_STRINGS.
...
Tested on boot to multi-user on sandpoint.
2002-03-18 04:50:32 +00:00
simonb
91785659ba
Generic PCI/ISA machdep headers for mips; copied from the algor port.
2002-03-18 03:08:09 +00:00
simonb
99f891c74d
Use mips/mips/bus_dma.c.
2002-03-18 02:33:19 +00:00
simonb
7e2ca5e1a8
Copy the algor bus_dma.c for use as a generic bus_dma implementation for
...
other MIPS ports.
2002-03-18 02:32:54 +00:00
simonb
9690c2293e
Convert to use <mips/bus_*.h>.
2002-03-18 01:21:11 +00:00
simonb
e64d2d9708
Oops, balance #ifdef/#endif _KERNEL.
2002-03-18 01:01:54 +00:00
enami
70a09aaf5d
Make this file compiles again when AURATECONV > 0.
2002-03-18 00:42:36 +00:00
simonb
d9aac5ef07
Add generic MIPS bus_space and bus_dma headers; these are a straight
...
split of the algor <machine/bus.h>.
2002-03-18 00:32:21 +00:00
chs
79c365e60e
don't do any flush-behind for async mounts.
...
this matches the traditional behaviour.
2002-03-17 23:58:09 +00:00
nonaka
85b957a2b0
Already MBR_PTYPE_PREP is defined in sys/disklabel_mbr.h.
2002-03-17 23:45:57 +00:00
christos
18c7399ada
oops, forgot to commit the caller of exithook...
2002-03-17 23:41:30 +00:00
christos
c36bd4f4e1
more typo.
2002-03-17 23:36:08 +00:00
christos
6b17a26b35
fix typo.
2002-03-17 23:29:55 +00:00
christos
c29f982413
move aurateconv.h into audiovar.h to avoid name clash with the config(8)
...
aurateconv.h counter.
2002-03-17 23:22:05 +00:00
christos
14eaffb49d
use the exithook mechanism to remove the exiting process from the list
...
of processes to be signalled in a soft mount.
2002-03-17 22:22:39 +00:00
christos
22839acdb9
use the exithook mechanism to clean up semaphores.
2002-03-17 22:21:58 +00:00
christos
f7d98e2451
- merge all the hook insertion and deletion code so that we don't create
...
a fourth copy.
- add exithook to be executed when a process exits.
2002-03-17 22:19:20 +00:00
simonb
a85e214bda
Make sure that private DMA flags don't overlap with standard DMA flags;
...
start these at 0x10000 to leave room for an increase in the latter.
2002-03-17 21:45:06 +00:00
manu
c51e325123
Replaced PS_STRINGS by p->p_psstr
2002-03-17 20:54:09 +00:00
martin
e2c42aeaa8
Remove all knowledge about specific application (layer 4) drivers from
...
the generic layer 4 and layer 3 management system.
This should make the layer 4 driver API LKM clean - finaly.
Make the Fritz!PCI driver work again after resent changes (oops!),
noted by Frank Kardel (PR 15948) and Matthias Scheeler.
2002-03-17 20:54:04 +00:00
atatat
26500cdfcd
Bump kernel version -- ERESTART has been moved and EPASSTHROUGH has
...
been introduced.
2002-03-17 19:43:07 +00:00
atatat
31144d9976
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
...
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
christos
f2d8f1aa62
goodbye PS_STRINGS.
2002-03-17 19:16:20 +00:00
augustss
75419dae29
Add Cyrillic keysyms. From OpenBSD.
2002-03-17 18:15:00 +00:00
augustss
45e00a035a
Don't forget the symbolc names for the keymaps.
2002-03-17 18:12:15 +00:00
augustss
b32942bb23
Whitespace fixes.
2002-03-17 18:02:52 +00:00
augustss
3fba39846b
Add Swiss keyboard mappings. From OpenBSD.
2002-03-17 18:01:07 +00:00
augustss
ada83730a8
Add more language map definitions.
2002-03-17 18:00:17 +00:00
uch
93da9db963
cosmetic changes, fix comments.
2002-03-17 17:55:22 +00:00
thorpej
53df727d27
Add a new ptrace request, PT_IO, as proposed by Artur Grabowski
...
on the <bsd-api-discuss@wasabisystems.com> mailing list. PT_IO
is a more general inferior I/D space I/O mechanism. FreeBSD and
OpenBSD have also added PT_IO.
From lha@stacken.kth.se , kern/15945.
2002-03-17 17:02:45 +00:00
minoura
c42dd282b7
LFSv2 support.
...
Note that secondary boot does not support LFSv2.
Code written by itohy.
2002-03-17 16:14:30 +00:00
kent
fe274639f9
aurateconv.c:
...
- Simplify the source
- Accept any convresions such that sample_rate < hw_sample_rate
uaudio.c:
- Request the above conversion. This is needed for 4ch-only devices to
play monaural/stereo data.
2002-03-17 16:14:21 +00:00
minoura
e6ff25795b
Make this compile again.
2002-03-17 15:43:10 +00:00
uch
1080799576
change to per-process AST.
2002-03-17 14:06:38 +00:00
uch
57918e656a
add kernel stack debug option.
2002-03-17 14:05:47 +00:00
uch
81cdeb6cdd
adapt to kernel stack treatment changes.
2002-03-17 14:05:10 +00:00
uch
02add6730a
reserve wired entries for kernel stack.
2002-03-17 14:04:18 +00:00
uch
3900e66164
add kernel stack and trapframe debug command.
2002-03-17 14:03:55 +00:00
uch
9e6153d985
remove obsoleted functions.
2002-03-17 14:03:34 +00:00
uch
b4b9d38675
zero clear all TLB entry to avoid unexpected VPN match.
2002-03-17 14:03:09 +00:00
uch
1e6e3f896d
write-through mode for now. since SH4 kernel access page table via P2. XXX
2002-03-17 14:02:43 +00:00
uch
4c6260b9de
kernel stack fix. old code simply P3 address converted to P1, it
...
caused memory destruction when kernel stack grow over 1 page. new
code use P3 address for kernel stack. but for the sake of debug, P1
kernel stack mode remain.
2002-03-17 14:02:03 +00:00
bjh21
315040cb53
Remove joy at ioeb, since it's not supported and it clashes with the MI
...
joy.
2002-03-17 12:00:56 +00:00
simonb
5a7cb92d99
Include <machine/swarm.h>.
2002-03-17 11:37:55 +00:00
kent
2b2d118e66
Rename aurateconvproto.h to aurateconv.h.
2002-03-17 11:36:37 +00:00
simonb
1f467013b2
White space nits.
2002-03-17 11:15:49 +00:00
simonb
72b108a114
Don't 'extern' function prototypes.
...
ANSIfy kernel-only prototypes.
2002-03-17 11:14:04 +00:00
simonb
21d2b8b53d
We don't need to include <uvm/uvm_extern.h> before <sys/sysctl.h> anymore.
2002-03-17 11:10:43 +00:00
martin
14a03255ac
Remove the hard coded layer 4 driver coding from the accounting data
...
and functions, use the call ID instead.
2002-03-17 11:08:31 +00:00
simonb
ed84d53b75
Allow selection of a big- or little-endian kernel by uncommenting the
...
std.sbmips.eb or std.sbmips.el config include file in the kernel config
file. Idea from the evbsh3 port.
2002-03-17 11:00:22 +00:00
simonb
dbafd8c6a6
Make the 'ifnet' variable an extern and declare it in if.c.
2002-03-17 10:21:42 +00:00
scw
b303a9412d
Fix an include file botch when there is no vmetwo device in the
...
kernel config.
2002-03-17 10:04:47 +00:00
scw
f39f46188c
G/C. These should have been deleted as part of the move to sys/dev/mvme.
2002-03-17 10:04:07 +00:00
martin
1e802e7eba
Clean up the application (layer 4) driver vs. B channel driver interface.
...
One step further on the way to make layer 4 drivers LKMable.
2002-03-17 09:45:58 +00:00
simonb
c21bc616b1
Don't use a magic number.
2002-03-17 07:39:16 +00:00
simonb
9be5709e65
Fix some whitespace/indentation niggles.
2002-03-17 07:38:28 +00:00
simonb
3b362d301e
Fix up some white-space bogons.
2002-03-17 06:28:56 +00:00
simonb
c08749f1fe
An include file describing some address map info, GPIO pin assignments
...
and SMBus addesses for the swarm eval board.
2002-03-17 06:24:30 +00:00
gmcgarry
d16aceedcc
Protect remaining references to 'debug' with NETIF_DEBUG.
2002-03-17 05:46:37 +00:00
gmcgarry
0d5d235755
Don't match on trailing spaces in the module name.
2002-03-17 05:44:48 +00:00
gmcgarry
2edbfbd9c2
Include MFS in the INSTALL kernel for the miniroot install.
2002-03-17 05:43:17 +00:00
tsutsui
2d620b2626
Use #ifdef MEMORY_DISK_IS_ROOT rather than MEMORY_DISK_HOOKS
...
to disable RB_ASKNAME.
2002-03-17 04:41:57 +00:00
tsutsui
c291c5333a
Include opt_md.h for MEMORY_DISK_HOOKS.
2002-03-17 04:34:41 +00:00
isaki
ec23c6650c
Fix infinate loop in recoding on vs0.
2002-03-17 03:20:40 +00:00
dbj
28819987b7
don't set prism2 bit when WI_NIC_LUCENT is detected
2002-03-17 02:52:59 +00:00
tsutsui
1bb75ed9f0
Fix typo.
2002-03-17 02:46:27 +00:00
chs
4b6d0e2df5
lxtphy needs the ukphy_subr attribute now.
2002-03-17 01:34:48 +00:00
christos
4b803b1108
panic if more space than stackgaplen is requested. Maybe I should remove the
...
size option completely.
2002-03-17 00:16:07 +00:00
chs
c1d184702f
when mounting a filesystem, read the last block in the filesystem
...
to verify that the device is at least as big as the superblock claims
the filesystem is supposed to be, and if it's not then fail the mount.
this should help reduce the type of confusion reported in PR 13228.
2002-03-17 00:02:34 +00:00
christos
7c50f65a84
get rid of STACKGAP* shit.
2002-03-16 23:55:57 +00:00
chs
4d4825010d
fix bread() to return errors from reading past the end of the device.
...
back in rev. 1.51, bread() and breadn() were changed to assume that
if B_DONE is set on a buffer returned by bio_doread(), that the buffer
must have already been in the cache, and thus the overall bread() should
return success. but if the requested buffer is not in the cache and
is past the end of the device, bounds_check_with_label() will set B_ERROR
on the buffer and the caller will call biodone(), which will cause bread()
to think the buffer was already in the cache and thus return success.
to fix this, undo rev. 1.51 and instead have biowait() treat both B_DONE
and B_DELWRI as indicators that it doesn't need to sleep waiting for an
i/o to complete.
2002-03-16 23:49:59 +00:00
chs
bbc8f01aef
add a quirk for some disks I have that don't like tagged queuing.
2002-03-16 23:26:34 +00:00
chs
b4b7853b08
make sure that if NMODIFIED is clear, all pages attached to the vnode are
...
clean and without writable mappings. if we try to flush dirty pages past
EOF to the server when NMODIFIED is clear, we'll update the attrcache before
doing the write, which will try to free the pages past EOF and deadlock.
to deal with this, we write-protect pages before we send them to the server,
and restrict ourselves to creating read-only mappings if NMODIFIED isn't set.
score another one for enami.
2002-03-16 23:05:25 +00:00
mjacob
ad97873103
size_t is a long on alpha. I forget whether there's actually a 'best'
...
kernel printf format arg to print size_t in NetBSD, but coercing the
arg to long probably works well enough.
2002-03-16 22:44:41 +00:00
he
be17728da0
Also correct the attach flags to enable IO space on the Intel 450NX.
...
OK'ed by fvdl.
2002-03-16 22:17:27 +00:00
jmcneill
94e84af5fb
Backout addition of the VIA VT8233.
2002-03-16 21:45:49 +00:00
christos
640a59b952
catch-up with stackgap change.
2002-03-16 20:45:43 +00:00
christos
381e6a7764
make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *
...
in, instead of using curproc). While there add an optional size argument to
stackgap_init.
2002-03-16 20:43:48 +00:00
bjh21
a12e90b08f
Only put the CPU type into cpu_model, not the state of the control register.
...
Instead, print the control register state on the next line at startup.
2002-03-16 18:47:51 +00:00
chs
9a418970cf
decode the sub-system IDs on adaptec cards so we can differentiate between
...
multi-port cards (which need the shared-rom/intr stuff) and single-port cards
(which must not have it). previously we enabled sharing for all adaptec cards,
which caused problems if you had multiple single-port cards on the same PCI bus.
2002-03-16 18:44:17 +00:00
bjh21
dccc5d2c67
Get rid of the #ifdef DEBUG_FAULT_CORRECTION #ifdef mess, and use a
...
couple of conditionally-defined macros instead. This makes the
fault-correction code almost readable.
2002-03-16 18:26:00 +00:00
bjh21
da4eca13c2
Kill some unnecessary settings of arm_dcache_align_mask.
2002-03-16 18:11:11 +00:00
bjh21
2d05b7a7b6
For those CPUs which don't have a cache-type register, keep the details
...
of the cache in a static table. Note that the table isn't complete --
contributions of cache details for CPUs whose data sheets I haven't got are
welcome.
2002-03-16 18:02:19 +00:00
chs
9846849435
in the TULIP_ROM_MB_21142_MII case of tlp_2114x_isv_tmsw_init(),
...
use "cp" instead of "ncp" as a temporary pointer into the SROM.
we still need the value of ncp here, it points to the next media block.
(update the copy of this code in tlp_21142_reset() just 'cause.)
this makes the BNC port on the Adaptec ANA-6911A work.
2002-03-16 17:38:35 +00:00
bouyer
0b16dfbbae
Present the same interface to periph driver for ASYNC scsipi_command() in the
...
normal case, and in the polling or "no thread yet" cases:
don't return an error from scsipi_complete(), as the error should already have
been handled in scsipi_complete() and eventually periph driver callbacks.
Should fix kern/15190.
2002-03-16 17:21:19 +00:00
jmcneill
5f17e8f802
Add support for the VT8233 AC'97.
2002-03-16 17:20:05 +00:00
martin
94881fb123
Rename ISDN devices, per discussion on tech-kern. The network devices
...
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
2002-03-16 16:55:51 +00:00
tsutsui
11f2ca401d
Use sony8x16 fonts instead of gallant12x22.
2002-03-16 16:50:34 +00:00
tsutsui
ce457aa10e
Fix a couple of typo:
...
- s/ehci/uhci/ (in unused arg of macro)
- s/ohci/uhci/ (in panic message)
2002-03-16 16:13:41 +00:00
tsutsui
e01954f52a
Fix a couple of typo:
...
- s/ehci/ohci/ (in unused arg of macro)
- s/uhci/ohci/ (in debug message)
2002-03-16 16:11:18 +00:00
ichiro
66ae17a426
add device TDK USB-PDC Adapter UPA9664
2002-03-16 16:10:19 +00:00
mrg
f87760870d
tell newer binutils that our use of %g2 and %g3 is OK here.
2002-03-16 15:15:33 +00:00
pooka
28a03499e8
Replace unused padding in struct linux_stat64 by lst_ino64 as found in
...
linux's m68k struct stat64.
makes linux compat compile again
2002-03-16 14:49:29 +00:00
bjh21
57eb77d59f
Add CPU ID for the ARM1022ES.
...
Also add a CPU class for ARM10E processors in general.
2002-03-16 14:41:15 +00:00
jmcneill
9bcb29f652
Add multiple voice support to the ESS Allegro-1 / Maestro-3 family of
...
audio accelerators.
Mixing is done in hardware by the ASSP, but is limited to 4 simultaneous
channels due to the restricted "minisrc" image that we are currently
working with.
Due to limitations in the audio subsystem, I'm currently attaching multiple
'audio' devices to 'esa', one for each voice. Because of this hack, the
default ESA_NUM_VOICES is 1.
2002-03-16 14:34:00 +00:00
mrg
f259d9d73e
this file is no longer used.
2002-03-16 14:03:00 +00:00
mrg
0eed6807d4
convert to using <dev/ebus/ebusvar.h> and it's struct member names.
2002-03-16 14:00:00 +00:00
manu
431e4d2b95
Added enough of swaptcl() command emulation to get swap -l working. This
...
is needed by acad (it exec's swap -l to check if swap is enabled)
2002-03-16 13:29:42 +00:00
isaki
81b3e9fb81
Fix mis-increment bug in converter msm6258_ulinear8_to_adpcm().
...
This fix needs factor_denom.
2002-03-16 09:00:42 +00:00
isaki
ae997346b5
Add factor_denom, a denominator of factor,
...
in 'struct audio_param' for vs0 on x68k.
{hw,user}_bytes_per_sample is changed to {hw,user}_bits_per_sample
to handle 4bit/sampling.
2002-03-16 08:58:49 +00:00
toshii
a74f33173a
Discard hpcarm copies of fusu.S and mem.c and use arm/arm32 versions.
2002-03-16 06:52:16 +00:00
gmcgarry
c8e4daf662
Move exec_hp300() out of uboot.c into its own file so that it can
...
be used by SYS_INST. SYS_INST can now boot ELF kernels inside the
miniroot.
2002-03-16 06:20:07 +00:00
chs
9fe7f9402f
only comments may follow #endif on a line.
2002-03-16 05:27:53 +00:00
reinoud
5fd6dd1b2b
Clean up cpufunc.c so you can really use it for debugging ... the
...
dependency on DEBUG_PMAP was useless anyway since the PMAP_DEBUG was
printing soooo much garbage cpufunc's debugging stuff was lost anyway.
2002-03-16 03:38:28 +00:00
martin
a4b1277fd2
Ooops, "isdnbch" realy is "isdnbchan".
2002-03-15 22:29:49 +00:00
reinoud
aefe920476
Serious bug fix: a userland program could panic the kernel when it tried to
...
issue an instruction that caused the late abort handler to be called for
wich the kernel had no support build in for.
It now only panics when it happends in kernel but otherwise signals the
process a SEGV signal.
2002-03-15 22:19:49 +00:00
martin
66c41c89cb
Adapt ISDN devices to their new names. Sort.
2002-03-15 22:11:05 +00:00
eeh
0754ce0386
Use properties instead of board_info.
2002-03-15 21:12:07 +00:00
eeh
75343f2177
Use new non-PCI mainbus.
2002-03-15 21:10:46 +00:00
heinz
bd5eeb9796
add .CURDIR/ld.script to enable builds with OBJMACHINE=yes
2002-03-15 21:02:29 +00:00
eeh
5468c6fb37
Fixup distinguishing between user and kernel addresses for IBM 4xx CPUs.
2002-03-15 21:01:28 +00:00
eeh
de5252061e
Use properties to pass around board-specific information rather than a
...
structure.
2002-03-15 20:59:23 +00:00
eeh
d9df83b6a9
Delete files that have been moved to powrpc/ibm4xx.
2002-03-15 20:56:42 +00:00
eeh
8bf657ddf1
Don't forget to allocate space for the property name's trailing NUL.
2002-03-15 20:33:50 +00:00
manu
da6cdf1446
Added IRIX /dev/kmem emulation pseudodevice and SVR4 net pseudodevice
2002-03-15 17:29:06 +00:00
manu
cdab2861e2
Added the IRIX /dev/kmem emulation pseudodevice driver
2002-03-15 17:21:26 +00:00
kent
3ca7d89bcf
uaudio_set_params(): Set conversions:
...
- 8bit slinear/ulinear to 16bit slinear for playing
- 16bit slinear to 8bit slinear/ulinear for recording
2002-03-15 17:20:14 +00:00