Commit Graph

136545 Commits

Author SHA1 Message Date
wiz
ea77769f24 Drop trailing space. 2005-05-17 13:51:34 +00:00
fvdl
bce752852d Translate linux errno in the syscall_fancy case as well. 2005-05-17 13:47:17 +00:00
grant
0f1a2ceee9 move to my now standard 3-clause BSD license (remove advertising clause) 2005-05-17 11:46:15 +00:00
martin
711712f3f3 Fix indentation. 2005-05-17 06:18:31 +00:00
christos
362a4a0bd5 Yes, it was a cool trick >20 years ago to use "0123456789abcdef"[a] to
implement, xtoa(), but I think defining the samestring 50 times is a bit
too much. Defined HEXDIGITS and hexdigits in subr_prf.c and use it...
2005-05-17 04:14:57 +00:00
bouyer
eaa19a67b8 Add a ata_queue_idle() function, which freeze a queue and tsleep() until the
controller is idle.
Change the powerhook function to call ata_queue_idle() on standby/suspend,
and ata_reset_channel() on resume (to wake up the disks and start from a
clean state).
Fix PR kern/30194 by Lubomir Sedlacik.
2005-05-16 21:43:33 +00:00
bouyer
d3f9123bd5 Fix some big-endian issues. stge(4) now works on sparc64 with hardware
checksums.
2005-05-16 21:35:32 +00:00
fvdl
046b9a57dc Implement clock_* POSIX functions. 2005-05-16 21:18:34 +00:00
fvdl
5acb6d8367 Regen. 2005-05-16 21:18:18 +00:00
fvdl
fe3dd48a91 Add clock_* POSIX functions. 2005-05-16 21:17:11 +00:00
wiz
98fcd5ac03 Fix capso in Dd argument. 2005-05-16 18:49:24 +00:00
martin
6230b25cf8 Make the raw keyboard code #ifdef WSDISPLAY_COMPAT_RAWKBD only. 2005-05-16 18:28:28 +00:00
martin
4b50e3295a Fix WSDISPLAY_COMPAT_RAWKBD. Also return keyboard types < 4 as SUN instead
of SUN5.
2005-05-16 16:23:57 +00:00
fvdl
e18d1a8ee1 Regen. 2005-05-16 16:03:58 +00:00
fvdl
711b0df630 Add *xattr functions (they all return EOPNOTSUPP). 2005-05-16 16:02:19 +00:00
fvdl
2d668e070c Include linux_sigevent.h (to be used later). 2005-05-16 16:00:31 +00:00
fvdl
33e6ca90d5 Add Linux sigevent definitions. 2005-05-16 15:56:41 +00:00
bouyer
78b08b48da Pad small packets with a static buffer at the end of the S/G list.
Avoids leaking kernel memory when small packets are transmitted.
Tested on a ibook G4.
2005-05-16 15:56:38 +00:00
bouyer
04f2acc1f3 Add another broken seagate device to the quirk list.
Problem reported by rudolf <netbsd at eq.cz> on netbsd-help@
2005-05-16 15:36:57 +00:00
macallan
8f8a7a4e38 forgot to include rasops_glue.h 2005-05-16 15:16:43 +00:00
macallan
9efeaffa68 Added:
- wscons support
- acceleration
- virtual consoles
- colour
- made cg3 emulation optional for native XFree driver
2005-05-16 14:43:23 +00:00
macallan
5d7cb1a721 Added support for virtual consoles, colour and some code to determine the
usable amount of VRAM for XFree86
2005-05-16 14:29:11 +00:00
lukem
78745cde09 Remove clause 3 from the UCB license. 2005-05-16 13:14:43 +00:00
lukem
9704a33c9a Remove clause 3 from the UCB license.
XXX: the separate TNF copyright block should be converted to a standard TNF one
2005-05-16 13:13:12 +00:00
yamt
4657218e21 arch/i386/i386/linux_trap.c -> arch/x86/x86/linux_trap.c 2005-05-16 12:05:50 +00:00
fvdl
5e91d058da Translate error numbers in the COMPAT_LINUX case. 2005-05-16 11:55:24 +00:00
lukem
a1273fe760 More whitespace consistency tweaks 2005-05-16 11:42:04 +00:00
lukem
248b38c348 Whitespace consistency fixes. 2005-05-16 11:40:16 +00:00
skrll
46884a1759 Re-run mknative after the fix to use the correct AS - sparc64 has
HAVE_AS_OFFSETABLE_LO10 defined now.

Don't commit the

	-#define _GLIBCPP_USE_WCHAR_T 1
	+/* #undef _GLIBCPP_USE_WCHAR_T */

changes as we still want wchar support, the configure script is over
senstive, and support for long double conversions will be added soon.
2005-05-16 11:16:18 +00:00
dogcow
f652e348df With the move of linux_trap.c from sys/arch/i386/i386/ to sys/arch/x86/x86,
it's no longer in .PATH; add $S/arch/x86/x86 inside the i386 .if.
2005-05-16 07:48:07 +00:00
christos
25a293877a Don't be pedantic about requiring things to be ordinary files. Handle
character special devices specially so that eg. nm /dev/ksyms works.
2005-05-16 03:24:44 +00:00
thorpej
a790d15184 Resolve some more conflicts. 2005-05-16 02:11:04 +00:00
peter
bae4325411 This function is in librt, not libc. 2005-05-16 00:45:24 +00:00
fvdl
631e44f47d Move linux_trap.c from sys/arch/i386/i386 to sys/arch/x86/x86, and share
it. Remove the amd64 linux_trap.c (which was just a stub with a printf
anyway).
2005-05-15 22:20:23 +00:00
fvdl
7d91366682 Fix up COMPAT_LINUX support for amd64. Still a work in progress, not
usable yet ("Hello World" runs, but many other things do not work).
2005-05-15 21:44:41 +00:00
fvdl
49395ac65e Make the arch_prctl system call use the saved %gs and %fs mechanism. 2005-05-15 21:43:08 +00:00
fvdl
2f9b8a3b68 Start at implementing USER_LDT. Doesn't compile yet (but it didn't previously
either).
2005-05-15 21:42:01 +00:00
fvdl
eeb59b85ad New definitions for LDT system call arguments, amd64 version. Compatible
with the Linux interface. As yet unused.
2005-05-15 21:39:56 +00:00
fvdl
69aa2aa9e8 Optionally include saving and restoring the 64bit %gs and %fs base register
values in the PCB. Do this in pmap_activate for now (XXX not a good place
for it, but a convenient one).
2005-05-15 21:37:46 +00:00
christos
4de0ea44a5 Replace the original fgetln with a simpler one that:
1. Works if the last line does not end up in \n
2. Does not scan the string multiple times.
3. Does not copy the string, but writes it directly in the buffer.
4. Handles out of memory conditions gracefully.
2005-05-15 21:31:26 +00:00
dsl
9abd2f5605 Split getnfsargs() out into its own file, it drags in 70kB of rpc code.
I might manage to write a version that doesn't pull in all the crud.
(Which will give a load of space in the install floppy images)
2005-05-15 21:18:34 +00:00
christos
8adc5f9efb add t_putws 2005-05-15 21:12:53 +00:00
christos
bac9dcf8ce bump libtermcap. 2005-05-15 21:11:59 +00:00
christos
cf3e6ebd2b add t_putws 2005-05-15 21:10:52 +00:00
thorpej
f2b0a44663 u_short -> uint16_t 2005-05-15 21:01:34 +00:00
dsl
54cc3da266 Make the arg to getnetconfigent const char * to match the man page (and
likely calling code).
2005-05-15 20:54:41 +00:00
martin
bc2f09f761 Add the assembler files. 2005-05-15 19:32:21 +00:00
dsl
d85801918d Set (and report) the new time (not the old one).
I broke it in rev 1.38, someone has finally noticed....
2005-05-15 18:39:39 +00:00
martin
de0502e591 Just ignore (and don't fail) FBIO{S,G}CURSOR. 2005-05-15 16:41:25 +00:00
yamt
176be94d27 add fgetwln. 2005-05-15 13:09:13 +00:00