Commit Graph

149861 Commits

Author SHA1 Message Date
jnemeth
3b961daf6c move 'PCI cryptographic devices' out of the middle of the Disk section 2006-08-21 10:50:00 +00:00
martin
5581630d1f Add <sys/lock.h> include for <sys/callback.h> 2006-08-21 09:06:06 +00:00
martin
b87950a9f6 Use %zu for size_t 2006-08-21 09:05:22 +00:00
ross
05fabc196c urk, wrong place, obviously 2006-08-21 07:08:45 +00:00
thorpej
d21620b264 Several changes to proplib:
- Arrays can now be externalized and internalized in the same way
  dictionaries can.
- Add new "externalize to file" and "internalize from file" functions
  to make reading a property list from a file and writing a property
  list to a file more convenient.
- Many assertions in the object implementations are gone.  Instead,
  calling an accessor for one object type with a different object type
  as an argument will return a suitable "invalid" value.
- prop_object_type() now returns a new PROP_TYPE_UNKNOWN value if called
  with a NULL object.
- Externalized property lists now contain a reference to the Apple XML
  plist DTD.
- Add a new prop_ingest(3) facility, which provides a convenient way to
  translate a dictionary into an arbitrary binary representation.
2006-08-21 04:13:28 +00:00
christos
e6c35f2090 2 fixes from Elad:
1. fix the symlink issue mentioned in:
   http://marc.theaimsgroup.com/?l=openbsd-tech&m=115513754417683&w=2
2. handle socket(2) versioning.
2006-08-21 01:35:11 +00:00
thorpej
5da5f197c5 Use "unsigned int" rather than "u_int" to be consistent with the rest
of file(1).
2006-08-20 19:49:31 +00:00
bjh21
72e11b654e Clean out some of the junk from this file, sepcifically definitions for
an Amiga DMA controller, and #if 0'ed WD33C93 definitions that are duplicated
in sbicreg.h.  uPD71071 definitions can stay for now, since they're not
actually useless even though they're unused.
2006-08-20 19:26:52 +00:00
thorpej
c1f7db8026 Also check for DIR.__dd_fd. tools/compat now builds on the WWDC developer
preview version of Mac OS X "Leopard".
2006-08-20 18:52:05 +00:00
riz
a06f7205fb Some cleanup in skc_attach():
- does not need splnet()
	- disestablish the interrupt and unmap bus space on failures.
2006-08-20 18:04:53 +00:00
riz
c250a823e7 Make this driver compile when SK_USEIOSPACE is defined - I have no
evidence that this is actually needed except for the existence of the
code itself, but if it's going to be here, it should compile.  Tested
briefly on my ASUS motherboard with built-in sk interface.
2006-08-20 16:03:30 +00:00
christos
9d18036adc PR/34241: Dave Sainty: Bound a memcpy to the sizeof the buffer where we
are trying to save the contents, instead of trying to copy what the lenght
of the acpi resource tells us.
2006-08-20 15:10:59 +00:00
christos
cba8e50f44 From Elad:
Attached diff short-circuits kauth_authorize_action() if the request
comes from the kernel (NOCRED or FSCRED).

okay matt@
2006-08-20 15:05:14 +00:00
yamt
f3d146fd88 vmf_to_prf: tweak code to avoid a "may be used uninitialized" warning.
pointed by Kurt Schreiner.
2006-08-20 13:14:03 +00:00
yamt
4e59653466 move kmem_kva_reclaim_callback out of #ifdef DEBUG.
fixes compilation problem in the case of !DEBUG.
pointed by Kurt Schreiner.
2006-08-20 13:08:11 +00:00
bjh21
f2d8dc9311 Add vidcvideo(4). 2006-08-20 12:48:47 +00:00
bjh21
8c1bc5670c Add some documentation of the vidcvideo driver, mostly covering screen-mode
selection.
2006-08-20 12:45:18 +00:00
blymn
50abf3c730 Add functions to the fileassoc interface to allow a "hint" to be provided
instead of performing an implicit VOP_GETATTR() when adding/looking up
fileassoc entries.
2006-08-20 10:38:23 +00:00
yamt
0406a06106 implement kva reclamation for kmem_alloc quantum cache. 2006-08-20 09:45:59 +00:00
yamt
fc12b34a0a kmem_init: use vmem quantum cache. XXX needs tune. 2006-08-20 09:44:06 +00:00
yamt
c8cdcde4de implement vmem quantum cache. 2006-08-20 09:43:08 +00:00
wiz
9bbf7e195e Adapt SYNOPSIS and bump date for previous. 2006-08-20 09:40:26 +00:00
yamt
3c433fc395 implement PR_NOALIGN. (allow unaligned pages)
to be used by vmem quantum cache.
2006-08-20 09:35:25 +00:00
skrll
b33c02bc86 Remove the _UCONTEXT_TO_SIGCONTEXT() and _SIGCONTEXT_TO_UCONTEXT() macros
as nothing uses them and they wouldn't work as _MCONTEXT_TO_SIGCONTEXT()
and _SIGCONTEXT_TO_MCONTEXT() got deleted a while ago.
2006-08-20 08:02:21 +00:00
plunky
066074b94f Make btdev default count explicit 2006-08-20 07:06:57 +00:00
wiz
09a207d68f New sentence, new line. Punctuation capitalization. 2006-08-20 00:30:02 +00:00
bjh21
6f40b05195 Datestamp the previous entry. 2006-08-19 23:08:02 +00:00
bjh21
2d622fdc89 acorn32: Correctly detect the display refresh rate being used under
RISC OS and look for a matching mode in a list of standard
		video modes.  This removes the requirement for compiling
		RISC OS monitor definitions into the kernel. [bjh21 20060820]
2006-08-19 23:06:11 +00:00
bjh21
d91f74bef1 Now that boot32 can pass in a useful frame rate, it's reasonable to use the
standard video mode list in our example kernels, rather that a somewhat
random subset.  So do that.
2006-08-19 23:01:23 +00:00
bjh21
da29c632f0 Add support to boot32 for passing a real vsync frequency to NetBSD.
Unfortunately, RISC OS doesn't seem to provide a sensible way to ask what
frame rate it's using so we resort to measuring it ourselves.
2006-08-19 22:44:57 +00:00
martin
e5b60f45a3 Do not install bootblocks twice. Suggested by Hubert Feyrer. 2006-08-19 22:41:27 +00:00
bjh21
a296cdc11f When looking for a screen mode at startup, skip any interlaced and
doublescan modes, since vidcvideo doesn't support them.
2006-08-19 22:38:42 +00:00
martin
914384b438 The "request" arg of ioctl(2) is unsigned long, not int!
Sign extended requests do not work on archs with sizeof(long) > sizeof(int).
2006-08-19 21:18:40 +00:00
dsl
db1e1cd15f Add a missing file, I think it something to do with simplified chinese. 2006-08-19 19:13:59 +00:00
macallan
1ab7fe6df2 fix a typo so we actually write sane values into the clipping registers 2006-08-19 17:57:13 +00:00
dsl
79c382f0db There is no need to compile machdep.c with -O2 anymore.
Fixed by changing the asm for lidt() in cpufunc.h
2006-08-19 17:50:56 +00:00
bjh21
63030cca90 If we can't find a screen mode matching the bootloader's frame rate, choose
the nearest one, rather than the first one with the same resolution.  This
is likely to be useful when the bootloader finally passes a valid frame rate.
For now, it just favours flickery over non-functional.
2006-08-19 16:57:06 +00:00
plunky
a643df2f21 Remove reference to btcontrol(8) and clarify mixer(4) 2006-08-19 16:37:26 +00:00
plunky
95d2b886d7 The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219.
While it can be made to compile, the paradigm is not quite right because
it attempts to contact the filesystem during autoconfig which sometimes
causes a panic. Even if that was fixed, there is another potential problem
in that the driver tries/sleeps/tries/sleeps and the sleep could
theoretically sleep past the rc.d/btconfig stage and the controller
would remain unconfigured.

So, I have prepared a different method for loading the firmware to
Broadcom BCM2033 chip based devices. A package 'sysutils/bcmfw' will load
the firmware files via a ugen(4) device interface.

This update removes the ubtbcmfw(4) driver and adds a table to the ubt(4)
driver so that it will not attach to Broadcom BCM2033 based devices before
the firmware was loaded.

This fixes kern/34219
2006-08-19 16:35:02 +00:00
dsl
a30325d38e de __P() 2006-08-19 16:27:57 +00:00
dsl
c8da0759cd Fix build of machdep.c with -Os and -O3 2006-08-19 16:06:39 +00:00
dsl
f648ce90ee Fix the amd64 INSTALL kernel (builds of machdep.c with -Os and -O3).
Load the idt with non-randmon data.
2006-08-19 16:04:41 +00:00
dsl
52361b12c9 Change the 'asm' pattern for lidt so that gcc4 knows it references memory
and doesn't optimise out the assignments to the descriptor memory area.
i386 kernels now build with -Os (and -O3) applied to machdep.c
2006-08-19 15:21:23 +00:00
yamt
8f01bd288f pool_init: in the case of PR_NOTOUCH, don't bump item size to
sizeof(struct pool_item).
2006-08-19 14:01:15 +00:00
bjh21
9dc302fec2 Arrange things so that if MONITOR isn't defined in the kernel configration,
we use the standard mode list from videomode.c rather than one generated
by makemodes.awk.  This is less useful than it might be since without a useful
frame rate from the bootloader we're likely to end up choosing a screen mode
that's either flickery or too fast for the monitor (or DRAM bandwidth).
2006-08-19 13:34:15 +00:00
tnozaki
4ba9b09748 remove *.mps entry that doesn't exists. 2006-08-19 11:13:18 +00:00
bjh21
72cec93787 The log2_bpp fields of the mode list generated by makemodes.awk weren't
used for anything.  Rearrange things so that it doesn't any more, and
just produces an array of struct videomode.  modedefs.c is looking
suspiciously much like videomode.c now.
2006-08-19 11:01:56 +00:00
tnozaki
2ad099c737 1. added iconv support of Chinese Simplefied encoding, GBK.
2. added Unicode mapping of 2byte GB18030 User Defined Area.
2006-08-19 10:58:40 +00:00
skrll
326bcc171a Add some sysctl knobs to bring us closer to the FreeBSD driver.
Also sysctl enable the debug message printing (if IWI_DEBUG) is defined.
2006-08-19 06:32:52 +00:00
macallan
ea7df82ebc fix some typos, add mmap() support for X
needs options RADEONFB_MMAP_BARS for now
2006-08-19 04:39:32 +00:00