simonb
4d6d90e127
Remove variable that is only assigned too but not referenced.
2003-01-19 23:13:46 +00:00
simonb
1354fecf22
b_to_q() and q_to_b() take a "u_char *" argument, so use a u_char array
...
in one place, and don't cast a "u_char *" to a "char *" in the q_to_b()
call(!) in another.
2003-01-19 23:11:46 +00:00
rafal
c1ff3ce973
Fix a bug that would cause the PCI fixup to assign addresses beyond the range
...
of KSEG0/1 mappable PCI window (the MEG_ALIGN macro was aligning to *16* MB
instead of *1* MB due to an extra 0 in the round-to constant). Also, allow
the PCI code to fix up all functions of a multifunction device; both from
Chris Sekiya, with a bit of massaging by me.
2003-01-19 23:08:54 +00:00
simonb
81b473285b
Make the char_type array "unsigned char" since we stuff values > 0x80
...
into it.
2003-01-19 23:07:32 +00:00
scw
bcbbc4f87e
SH5 libc ucontext/lwp support.
...
Untested for now, until I get the libpthread stuff done and
an SA userland built.
2003-01-19 23:05:01 +00:00
simonb
d446cbf4ee
Remove variable that is only assigned too but not referenced.
2003-01-19 22:52:11 +00:00
rafal
48eb4573c0
Parse out flags passed to the kernel on boot; from Scott Taylor, tweaked to
...
use the MI boot_flags.h interface by me.
2003-01-19 22:36:00 +00:00
rafal
2eef5c9ba8
Turn on more of the PCI interrupts; from Chris Sekiya.
2003-01-19 22:33:20 +00:00
ragge
6ad43b52da
Add some instrumentation and clean up some VAX8600 code.
...
From Johnny Billquist.
2003-01-19 22:29:22 +00:00
rafal
6c79dcd0e4
Update to use the full DS1687 register set, therefore allowing the clock to
...
store absolute year rather than an offset -- this means the clock is now
consitent across the ARCS PROM, IRIX and NetBSD.
XXX: This attachment is now a mismoner, since it's a Dallas Semi RTC, not
a Motorola RTC. Should be renamed.
2003-01-19 22:26:38 +00:00
rafal
0c4b06c362
Add pci/usb/audio devices; from Chris Sekiya.
2003-01-19 22:23:03 +00:00
rafal
537bf9a526
Change DS1286 definitions to start with DS1286_ rather than DS_ so these and
...
DS1687 definitions are easier to distinguish.
2003-01-19 22:20:43 +00:00
thorpej
7dc01dbfab
Add some threadlib stubs that are used by X:
...
* thr_create() (stub in libc aborts)
* thr_exit() (stub in libc calls exit())
* thr_yield() (stub in libc does nothing)
Also make the libc thr_self() stub not abort.
XXX Should we add thrattr_*() stubs for setting the detach-state?
2003-01-19 21:58:21 +00:00
thorpej
096005bf70
Fix typo.
2003-01-19 21:42:09 +00:00
ragge
aa92009e2b
Bring back "START=start", otherwise booting via real VMB don't work.
2003-01-19 21:37:04 +00:00
matt
561334ea93
Set _UC_USER in ucontext. Call setcontext if _UC_USER is not in
...
_setcontext_u
2003-01-19 21:31:42 +00:00
atatat
dd0a8acd21
The next release will be 2.0, not 1.7.
2003-01-19 21:25:36 +00:00
thorpej
0c8ccd6d1f
* Wrap decls in __BEGIN_DECLS/__END_DECLS.
...
* Add a thr_enabled() which returns the value of libc's __isthreaded
variable, indicating whether or not threads are actually enabled.
2003-01-19 21:06:02 +00:00
matt
696d424be5
VAX versions of _getcontext_u/_setcontext_u/_swapcontext_u
2003-01-19 21:01:55 +00:00
thorpej
9b29af3e07
Remove the dummy stack attr routines -- best to catch broken applications
...
and fix them to use the proper feature test instead (as has already been
done with the openldap package).
2003-01-19 20:58:00 +00:00
thorpej
592409d356
Add mutexattr_init(), mutexattr_destroy(), and mutexattr_settype() (recursive
...
mutexes are used by the X libraries).
2003-01-19 20:46:11 +00:00
jdolecek
3d8d8663b9
g/c the NEXTRELEASE comment tag now that the next version number is decided
2003-01-19 20:12:31 +00:00
thorpej
12ef38c50e
Update to reflect merging of the nathanw_sa branch.
2003-01-19 20:06:22 +00:00
thorpej
439830cb08
Always allow includes to be installed. This makes it easier for
...
people to get straggling ports bootstrapped (pthread.h is required
in order to build libc).
2003-01-19 19:55:13 +00:00
scw
c64b785002
Add sh5 kernel support for SAs.
...
This gets the Cayman to multi-user with a non-SA aware userland.
2003-01-19 19:49:47 +00:00
thorpej
036383cc03
Make the libc thr_once() stub functional.
2003-01-19 19:48:45 +00:00
scw
8b92aecb3f
Use the full 'sh5le-unknown-netbsd-' prefixed toolchain names, and
...
set optimisation to -O2 now that gcc seems to generate decent sh5 code.
2003-01-19 19:46:57 +00:00
skrll
023fed95bf
Move _POSIX_THREADS to the right place and define a few other symbolic
...
constants for the features we gained with the merge of the nathanw_sa
branch.
Ok'd by thorpej.
Closes my PR 19930.
2003-01-19 19:41:44 +00:00
matt
95b5cce5c6
Add getcontext(2) stub.
2003-01-19 19:32:39 +00:00
wiz
29192bf866
Fix typo.
2003-01-19 19:31:10 +00:00
thorpej
e81ee90ff4
Add <threadlib.h>.
2003-01-19 19:26:46 +00:00
thorpej
96bb0ae126
Use <threadlib.h>.
2003-01-19 19:25:05 +00:00
thorpej
ba54189cb1
Expose libc's thread stubs, which get magically turned into real pthread
...
calls when the pthread library is linked in. Simplifies making other
libraries (such as X's) thread-safe.
2003-01-19 19:24:39 +00:00
wiz
d44e858cbb
Remove another variable name.
2003-01-19 19:21:49 +00:00
jmmv
fe7d4299f5
Add EXIT STATUS section.
2003-01-19 19:15:38 +00:00
wiz
65d34efcf9
Drop trailing comma in SEE ALSO.
2003-01-19 19:15:36 +00:00
wiz
0163abbccb
Bx Open -> Ox.
2003-01-19 19:14:22 +00:00
matt
8c295614ea
Add the VAX versions of these.
2003-01-19 19:07:30 +00:00
martin
8124b6df6c
Link and initialize thread support for alpha and arm.
2003-01-19 18:50:21 +00:00
martin
01313c857c
Thread support for sparc and sparc64.
2003-01-19 18:33:25 +00:00
martin
d05cc42d06
Thread support for sparc and sparc64, not yet complete.
2003-01-19 18:32:39 +00:00
dsl
fa36c8783f
Ignore groups beyond _SC_NGROUPS_MAX (as man page)
...
Ensure kernel doesn't pick up random numbers (would happen if _SC_NGROUPS_MAX
> NGROUPS)
(change agreed by christos)
2003-01-19 18:26:16 +00:00
dsl
7e2ddd8ef0
Use kvm_getprocs2 so independant of kernel version
...
(change aggreed by christos)
2003-01-19 18:14:06 +00:00
pooka
5aef2cf2a4
add IANA-assigned subversion port number
2003-01-19 17:49:39 +00:00
thorpej
b97e4c2136
Merge the nathanw_sa branch.
2003-01-19 16:50:16 +00:00
thorpej
20ba6d6368
Regen to get correct RCS ID.
2003-01-19 16:49:12 +00:00
thorpej
39279e53b5
Merge the nathanw_sa branch.
2003-01-19 16:41:46 +00:00
thorpej
5819507df3
Merge the nathanw_sa branch.
2003-01-19 16:30:13 +00:00
christos
f242002868
put libpthread back. I don't think that it will cause ABI issues.
2003-01-19 16:05:46 +00:00
christos
1b36c15f8d
- constify the get functions
...
- remove argument variable names since they pollute the namespace
- add mock implementation of the missing stack functions
XXX: we need to do this right [i.e. actually get and set sizes and addresses]
but the current stack setup makes this a bit complicated.
2003-01-19 16:03:50 +00:00