Commit Graph

108083 Commits

Author SHA1 Message Date
fvdl 1627b9c342 libpthread support for x86_64. 2003-01-30 02:10:31 +00:00
fvdl 894bd3ad9d Add ucontext glue for x86_64. 2003-01-30 02:07:30 +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
nathanw f66d2f37f7 More rototilling:
* Implement pthread_kill().

  * Return the old thread mask, not the old process mask, in our
    interpositioned sigaction call.

  * Refer to _NSIG, not NSIG.

  * Gut pthread_sigmask(). It was handling a lot of corner cases that
    weren't legal anyway. Handle unblocked signals with a new
    pthread__kill_self() routine (also used by pthread_kill()).

  * Be more consistent with locking around pt_sigacts[].
2003-01-30 01:12:42 +00:00
nathanw a8773f45f8 Simplify pthread__upcall() a bit by moving lock resolution before the big
switch statement, and moving upcall-type-specific code into that switch.
Beneficial side effect: don't manipulate a statelock before lock resolution
occurs.
2003-01-30 01:04:50 +00:00
nathanw 7d8ac1f6c2 Set a thread's state to RUNNABLE when yielding. 2003-01-30 01:00:58 +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
lukem 6ac63dc2e0 allow toolprefix to be easily changed 2003-01-29 22:50:08 +00:00
heinz 077e910e6d Provide some more details for papers by Bentley/M.D. McIlroy and by
P.M. McIlroy (after short e-mail conversation with M.D. McIlroy on
www@).
2003-01-29 22:12:53 +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
drochner e81f9f1784 cosmetics 2003-01-29 14:03:08 +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
mjl 153fa7e195 Remove "freen" and "freend", the first is no word, the second archaic
for friend -- both probably a typo in the first import.
Also "corelate" is preferred as "correlate" nowadays.
2003-01-29 12:46:22 +00:00
simonb 7176940e72 Enable MIPS now that crunchgen works again for this arch. 2003-01-29 11:32:45 +00:00
simonb 51f9790db1 Note objcopy and crunchgen changes. 2003-01-29 10:34:26 +00:00
simonb 6960865826 Use new the --redefine-syms-file option to objcopy to rename the symbols
we want to hide instead of making global symbols local (which doesn't
work on MIPS).
2003-01-29 10:32:34 +00:00
simonb 0fd8c49338 Add a --redefine-syms-file option from Chris Demetriou's proposed patch
in http://sources.redhat.com/ml/binutils/2002-09/msg00505.html.
2003-01-29 10:26:22 +00:00
kei 3afb432b11 fix typo. USETOOLS, not USE_TOOLS. 2003-01-29 09:17:08 +00:00
atatat bede65472d Cull unused variables. Sigh.
PS - Cross compilers are cool.
2003-01-29 07:00:35 +00:00
perseant 4783b17664 Make the test a little less demanding (write 800k files instead of 1600k). 2003-01-29 05:39:41 +00:00
perseant 26c05673ea Regression test to ensure that (1) newfs_lfs and fsck_lfs agree about
what makes up a good filesystem; and that (2) the kernel and fsck_lfs
also agree.  This test, like the 9994 test and like the FFS endianness
test, is not included in the main "make regress".
2003-01-29 04:56:16 +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
jdolecek 5e8bddc2e7 __sigaction14(): sanity check 'sig' before use, same way as sigaction1()
in kernel
2003-01-28 21:04:37 +00:00
wiz 9804cdc7fc a, b, and c. 2003-01-28 20:33:25 +00:00
kleink 3c72e59089 Add flockfile(3) etc. 2003-01-28 20:31:41 +00:00
kleink 5b62d84e6e Add a manual page for flockfile(3) etc.; while here, also add *_unlocked()
to stdio(3) overview documentation.  Fixes PR lib/20096 from Jason Thorpe.
2003-01-28 20:26:04 +00:00
thorpej e5cd4ce42c Bump version to nb4 to reflect the -pthread option. (Thanks for the
reminder, Klaus..)
2003-01-28 18:36:04 +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
jdolecek 2b7aac82cb move <g++/libioP.h> and <g++/iostreamP.h> to obsolete lists 2003-01-28 14:43:18 +00:00
jdolecek ceb43cbb02 do not install libioP.h nor iostreamP.h 2003-01-28 14:40:59 +00:00