Commit Graph

94396 Commits

Author SHA1 Message Date
thorpej aa1563948c * arm_byte_to_page() -> arm_btop()
* arm_page_to_byte() -> arm_ptob()
2002-03-24 03:37:18 +00:00
sommerfeld 44ede71657 Add acpi_eval_struct, to evaluate a complex data structure.
#if 0-out a half-fixed acpi_eval_string() and #if 0 the only call to it.
(Previous code referenced an uninitialized local variable and couldn't
have possibly worked).
2002-03-24 03:32:14 +00:00
thorpej 48d8c5fdd9 Remove some redundant tests in pmap_enter(). 2002-03-24 03:25:10 +00:00
kristerw f3dbc98b85 Handle patches in which diff(1) has added lines saying
"\ No newline at end of file"
2002-03-24 01:56:20 +00:00
jdolecek 0b5e2aba9a Fix problem with assumption non-socket == vnode in F_{G,S}ETOWN different way
(revisions 1.47 & 1.48 effectively backed off):
* for all but vnodes, just fallback to sys_fcntl(); assumming
  state of support for F_SETOWN/F_GETOWN and even hardcoding it here is
  not right (e.g. rev. 1.47 had this incorrect for DTYPE_PIPE)
* fallback to sys_fcntl() also for vnodes which don't represent tty
* don't need to use FILE_{,UN}USE() here, the code won't block while
  using the pointer
* add/fix some comments
2002-03-24 00:32:34 +00:00
lukem 2a593e4ce5 remove now-unnecessary files 2002-03-24 00:16:05 +00:00
sommerfeld 1803fb93a9 Add -q flag, for use with -w and -f, which suppresses output after a set. 2002-03-24 00:11:00 +00:00
itohy 78b5427b7e Add wait-for-ready code between setting MCE and changing data format,
which is required by OPL3-SA2 (YMF711) chip.
Fixes PR kern/14819.
2002-03-23 23:40:32 +00:00
shin a378ffa3a9 fix pasto. 2002-03-23 23:39:57 +00:00
christos 8a47c9318b make sure this compiles cleanly and works. 2002-03-23 23:39:18 +00:00
heinz 503cf59ccc some typos 2002-03-23 22:36:45 +00:00
heinz 07dc707915 typo 2002-03-23 22:31:36 +00:00
enami 3a7e0fa1da Don't pass NULL to warn() etc. Instead, use "<stdin>" to warn about stdin. 2002-03-23 21:36:08 +00:00
enami 3d5c5b3128 Actually skip the first byte of invalid byte sequence. 2002-03-23 21:32:21 +00:00
enami b56ea8bdbe One more; Don't put space before function call op. 2002-03-23 21:29:38 +00:00
reinoud 2b488a7d9f Big rototil of the vidcvideo code to cleanup illogical structures and to
incorporate write back support for processors not having a write through
cache.

The current fb_devconfig structure now really holds the device's
configuration and the softc really only holds the attachment information.
This used to be mixed giving rise to weird stuctures and cross references.

The number of vertical syncs before the video memory writeback is triggered
is configurable ... default is to wait for 5 Vsync .. aprox minumum 10
times a second, but more likely in the order of 12,5 times a second. When
printing is in progress no write back is performed... only after the
waiting time. The reasoning behind this is that as long as the screen is
printed too the cache will be purged of dirty data anyway due to the
processing and new screen memory useage.
2002-03-23 21:27:41 +00:00
enami 8e6517a8e3 - Remove unnecessary cast.
- Other misc. KNF changes.
2002-03-23 21:27:14 +00:00
enami 47df7c188e Fix whitespace usage. 2002-03-23 21:20:21 +00:00
enami d84a397c7f Don't include same file twice. Sort includes alphabetically.
Don't place sys/*.h and *.h mixed.
2002-03-23 21:10:40 +00:00
ross 70d3133ec0 Fix minor syntax warnings. 2002-03-23 20:13:35 +00:00
thorpej 2488d00e5f KERNEL_SPACE_START -> KERNEL_BASE 2002-03-23 19:38:30 +00:00
thorpej e80bfdc1a3 Garbage-collect the "pagehook" stuff. 2002-03-23 19:21:58 +00:00
thorpej 4b6638c0b5 pmap_bootstrap(): Correct arithmetic on pte when advancing past
the newly-allocated msgbuf.  (Note, it happened to work before
because nothing used pte afterwards, but in the event something
is added that does, pte should be correct.)
2002-03-23 18:39:46 +00:00
ragge 300bbc803f Check unit number when booting from rl disks. 2002-03-23 18:13:04 +00:00
ragge f3082cc970 Call rlreset() per controller, not per disk.
Be more informative about the state of the disk (locked, unloaded etc...)
Send NULL as proc pointer to bus_dma_load if B_PHYS is not set.
Break out softc's from rl.c to rlvar.h for inclusion elsewhere.
2002-03-23 18:12:09 +00:00
reinoud 2d2df858f7 Fix up typos. 2002-03-23 18:10:24 +00:00
bouyer 7cf2fe5876 Don't need <sys/exec.h> either. 2002-03-23 17:44:52 +00:00
christos 16a78920a2 moved tmftcheck(3) down one level, and add a regression test for vis(3) 2002-03-23 17:42:20 +00:00
christos b7cef1a057 Add VIS_HTTPSTYLE and strunvisx (From FreeBSD) 2002-03-23 17:39:05 +00:00
christos e20c30d794 - Add VIS_HTTPSTYLE from FreeBSD.
- svis, strsvis, strsvisx were not reversible, because they did not encode
  \\ unless it was passed in the extras array.
- Fix documentation to match the proper signature of the functions.
2002-03-23 17:38:27 +00:00
bouyer 4498b37c8b We don't need <sys/exec_aout.h> here. 2002-03-23 17:18:42 +00:00
kent a37082a494 whitespace and folding fix. 2002-03-23 17:17:10 +00:00
bouyer d3dc2d9871 Use fixed-type in ecoff structures, so that elf2ecoff will produce proper
32bit ecoff when used on LP64 host.
2002-03-23 17:13:45 +00:00
bouyer 33176a1255 Add byte-swapping calls where appropriate, so that this can be used as
cross-tool on opposite endian host.
2002-03-23 17:11:45 +00:00
reinoud fe2473fafd Fix typo. 2002-03-23 17:10:13 +00:00
shiba 438f1acec7 Switch to the new common ramdisk build infrastructure.
Reviewed by briggs,fredb
2002-03-23 16:38:50 +00:00
kent 541b66ade5 Decrease UAUDIO_NFRAMES: 20 -> 10
This change eliminates noise of 6ch audio.
2002-03-23 16:23:20 +00:00
darrenr 726f1074d8 If someone is poll'ing to write to bpf, assume that it can always be done
and include POLLOUT and POLLWRNORM in the returned events flag set.
Derived from FreeBSD.
2002-03-23 15:55:21 +00:00
taca e6937b841b Change devinfo definition and make devname initialization correctly.
Those changes are referring with uplcom.c.

I've checked with SUNTAC U-Cable type P1 that it responed to AT commands.
2002-03-23 15:38:22 +00:00
christos 3c2d0dbff9 correct placement for FILE_UNUSE [from Izumi Tsutsui] 2002-03-23 15:36:15 +00:00
simonb adc0cdfea7 Allow selection of a big- or little-endian kernel by uncommenting the
std.malta.eb or std.malta.el config include file in the kernel config
file.  From the sbmips and evbsh3 ports.
2002-03-23 14:51:28 +00:00
simonb 2184ed8531 Convert evbmips to use mips/mips/bus_space_alignstride_chipdep.c. 2002-03-23 14:33:35 +00:00
simonb de2d1df3a9 Remove the comment that says this is for PCI busses only. 2002-03-23 14:20:41 +00:00
simonb 8e5ab10b05 Add generic chipset memory and I/O "bus" functions for mips, based on
algor/pci/pci_alignstride_bus_{io,mem}_chipdep.c.
2002-03-23 14:19:18 +00:00
enami c504305f1b Make this file compiles again. 2002-03-23 13:43:04 +00:00
jdolecek 09e5dcae39 rename EXEC_ELF_CATCHALL to EXEC_ELF_NOTELESS
document COMPAT_11 or COMPAT_12 imply EXEC_ELF_NOTELESS
2002-03-23 09:56:58 +00:00
jdolecek 943f2b4f8a make COMPAT_11 or COMPAT_12 imply EXEC_ELF_NOTELESSS
use #if for the execsw entries, to allow 'options EXEC_ELF_NOTELESS=0'
  to override this

This addresses kern/13520 and kern/14409 by Matthew Green.
2002-03-23 09:50:54 +00:00
wiz 18fb4eb38a Note Leadtek VC100. 2002-03-23 09:47:21 +00:00
jdolecek 083f26646d rename EXEC_ELF_CATCHALL to EXEC_ELF_NOTELESS 2002-03-23 09:40:55 +00:00
jdolecek d437ea659d child_process(): if the input_data didn't contain any '%', the pointer
ended up _after_ the final '\0', so the code past though there are some
data to be passed to the spawned command, causing child process
crash under some circumstances; adjust input_data in this case to avoid this

XXX this is already fixed in cron 4.0-b1 (though slighly differently)
2002-03-23 09:38:02 +00:00