thorpej
749715f6ee
Use aprint_*().
2003-01-31 00:26:25 +00:00
thorpej
7ec10e2d99
Use aprint_*().
2003-01-31 00:07:39 +00:00
thorpej
d133a4da92
M_SOOPTS -> MT_SOOPTS
2003-01-30 23:43:33 +00:00
fvdl
f26f133510
Don't deref l if it's NULL, please.
2003-01-30 22:45:20 +00:00
atatat
7a8e4b4bc4
Two small changes to the ELF exec code:
...
(1) ELFNAME(load_file)() now takes a pointer to the entry point
offset, instead of taking a pointer to the entry point itself. This
allows proper adjustment of the ultimate entry point at a higher level
if the object containing the entry point is moved before the exec is
finished.
(2) Introduce VMCMD_FIXED, which means the address at which a given
vmcmd describes a mapping is fixed (ie, should not be moved). Don't
set this for entries pertaining to ld.so.
Also some minor comment/whitespace tweaks.
2003-01-30 20:03:46 +00:00
thorpej
84855a5789
Test _KERNEL_OPT before including opt_*.h files.
2003-01-30 19:59:29 +00:00
manu
34a458238c
For cproc_t, use a per thread value instead of a per process value. ifdef
...
out l_emuldata in struct lwp until we actually use it.
2003-01-30 19:14:18 +00:00
hannken
eea2fc320e
Fix printf() problem caused by "daddr_t" change.
2003-01-30 16:33:50 +00:00
yamt
84d61a1dc4
there's no need to treat VOP_WHITEOUT as dirop
...
because it modifies only one inode.
2003-01-30 14:18:32 +00:00
martin
dc63778c66
Sparc64 already had a BUS_DMA_NOCACHE - remove one of the two definitions.
...
Fortunately the old (local) one had the same semantics as the new one.
2003-01-30 13:32:25 +00:00
pk
ac9d761168
The introduction of FAS366 support annihilated the `reselect-while-selecting'
...
workaround for the ESP100 variant.
2003-01-30 11:03:45 +00:00
matt
e680c1c1e9
Load SPRG0 with &cpu_info_store.
2003-01-30 07:46:28 +00:00
matt
161af1dd62
Add a KASSERT when copying l1->l_cpu to l2->l_cpu
2003-01-30 05:51:58 +00:00
fvdl
aa0d12cace
Use flag to indicate whether an LWP should return to userspace via
...
sysret (should it have entered through syscall), or via a plain
iret. This can be done more quicker and dirtier, but I've decided
against that for now.
2003-01-30 02:04:59 +00:00
fvdl
be932c1dc6
Add some optional debug goop.
2003-01-30 02:03:35 +00:00
fvdl
c795d68779
Add flag to indicate that an LWP should return to userspace via a normal
...
iret (not sysret).
2003-01-30 02:02:51 +00:00
matt
7253b60a31
Cast daddr_t to long so to avoid
...
"cast to pointer from integer of different size" warning.
2003-01-30 00:36:32 +00:00
matt
10a5895585
Cleanup daddr_t fallout.
2003-01-30 00:28:19 +00:00
nathanw
d2027d4d00
Fix _lwp_wakeup() so that it stands a chance of working (although it
...
turns out to be insufficent for signal-level interruption of system
calls. guess we need _lwp_kill(), ugh).
2003-01-29 23:27:54 +00:00
briggs
bd89d9c39f
Compile without DIAGNOSTIC.
2003-01-29 20:44:48 +00:00
briggs
f339e5e9fe
Get the interrupt mappings right for the slot.
2003-01-29 20:08:02 +00:00
fvdl
1ae2ac239d
Make the ld workaround work on x88_64, and add the temporary ld script
...
to CLEANFILES.
2003-01-29 18:44:47 +00:00
thorpej
2051b2d8e7
Don't set LDF_ENABLED unless the device is really okay. Noted by
...
Andrew Doran.
2003-01-29 16:50:37 +00:00
drochner
e3b243beb8
give some VM which was reserved for the UAREA but not used anymore back
...
to the user and adjust some comments (which were not accurate anyway
since NOREDZONE)
binary compatibility note: changing VM_MAXUSER_ADDRESS might influence
some sanity check in kvm_proc, where arguments on the stack are dealt
with, but it was a variable anyway and noone did care...
2003-01-29 14:12:35 +00:00
yamt
53d6eb47ee
don't use daddr_t for segment summary since it's an on-disk structure.
2003-01-29 13:14:33 +00:00
kanaoka
1cd881c271
Set RTK_ENABLE flag when it attached. This fixed multicast problem.
...
Found by FUKAUMI Naoki <naoki@fukaumi.org>.
2003-01-29 12:57:36 +00:00
atatat
bede65472d
Cull unused variables. Sigh.
...
PS - Cross compilers are cool.
2003-01-29 07:00:35 +00:00
gehenna
fbf74eae32
regen
2003-01-29 03:55:34 +00:00
gehenna
dc1b785a6e
NETGEAR FA120 (USB 2.0 Fast Ethernet Adapter)
2003-01-29 03:54:05 +00:00
simonb
0adecbd12b
Remove variable that is only assigned to but not referenced.
2003-01-29 03:06:40 +00:00
thorpej
21f51b4471
Fix a typo.
2003-01-29 00:23:24 +00:00
manu
26723dc292
lwpified sproc emulation so that it builds and works again. COMPAT_IRIX
...
now has the level of functionnality it had before SA merge
2003-01-28 23:47:42 +00:00
wiz
c8f0cb5777
eventually, not eventualy. Noted by mjl.
2003-01-28 22:52:11 +00:00
wiz
9115df8c49
success, not sucess. Noted by mjl.
2003-01-28 22:35:02 +00:00
wiz
86932ac56e
allocate, not alocate. Noted by mjl, not mjll.
2003-01-28 22:26:33 +00:00
wiz
7bd6fd354d
unknown, not unkown. Noted by mjl.
2003-01-28 22:19:22 +00:00
atatat
59b8237f5e
No need to pick a "default address" for mmap in compat code, since we
...
merely call sys_mmap() at the end anyway, and that will pick the
address for us, if it's needed.
Likewise for checking if /dev/zero is being mapped.
2003-01-28 21:57:42 +00:00
kleink
8f87fa74eb
Fix printf format warnings in previous.
2003-01-28 18:16:18 +00:00
dsl
00706969a9
Remove the 4k between code and data to increase the stack space.
...
Support for 64bit disk blocks seems to have exploded the code.
2003-01-28 16:21:58 +00:00
tron
0cbe3d790b
Use MRU negotiated with remote system as MTU. This fixes PR kern/18850
...
by Curt Sampson.
2003-01-28 15:36:38 +00:00
pk
be1188e00d
Provide locking required by the interrupt handlers running at IPL_SERIAL.
2003-01-28 12:35:31 +00:00
kent
0b153da394
_bus_dmamem_unmap():
...
Sets the specified pages cacheable again because _bus_dmamem_map() might
change them uncacheable.
The code was provided by Dhoyashiki-san in kern/19919.
2003-01-28 08:46:53 +00:00
nathanw
892c25bc38
Fix proc_representative_lwp(); a closing brace was in the wrong place,
...
which means it would return the first non-dead LWP.
Pointed out by Stephan Uphoff.
2003-01-28 02:20:35 +00:00
kent
e45b3e7121
Apply BUS_DMA_NOCACHE for the buffers in the case of 440MX. The
...
code was provided by DHOYASHIKI Shinichi in kern/19919, and
address kern/19435.
2003-01-28 02:09:34 +00:00
kent
cd7d9faeaf
Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it.
2003-01-28 01:07:51 +00:00
ad
6bae70db81
Also save status info in the user command packet.
2003-01-27 23:31:19 +00:00
yamt
e41d3a6f1c
make these compilable with lfs debug options.
...
(follow daddr_t change)
XXX maybe segment number should be 64bit.
2003-01-27 23:17:56 +00:00
pk
5e14aa69a8
There's a locking order issue with the scheduler and the callwheel locks
...
as ltsleep() may call callout_reset() with the scheduler lock held.
So, prevent interrupts that may take the scheduler lock while holding
the callwheel lock.
2003-01-27 22:38:24 +00:00
thorpej
ac44af9a88
Add the "ataraid" pseudo-device and the "ld" instances that attach
...
to it.
2003-01-27 22:31:12 +00:00
pk
ac1bea60c1
amap_copy: remove stray amap_unlock().
2003-01-27 22:14:48 +00:00