Commit Graph

164754 Commits

Author SHA1 Message Date
joerg 870cffb0ab Add new IPI for saving CPU state explicitly, share high-level part of
ACPI wakeup code and teach it how to start the APs again. As a side
effect the CPU_START interface allows choosing between different
bootstrap codes more easily now.
2007-12-18 07:17:08 +00:00
garbled 49a3869ae1 Import the config documentation from FreeBSD into the smm. Rather than
name the directory "02.config" as it historically was, name it config, so
that if we ever want to update this book for the modern age, we can move
chapters around, delete them, etc, without mass confusion.
2007-12-18 03:35:51 +00:00
christos 512c2e7e60 merge conflicts 2007-12-18 02:35:25 +00:00
christos cd7947efb0 update to 4.7 2007-12-18 02:34:32 +00:00
christos 6e9e025b28 update for 4.7 2007-12-18 02:33:37 +00:00
christos 68066588aa bump for 4.7 2007-12-18 02:32:36 +00:00
oster 257eb7f26a Fix a 'use after free' issue with wedges and RAIDframe.
Problem reported and fix tested by Jeff Rizzo (Thanks!).
2007-12-18 01:09:46 +00:00
wiz ece8110f42 Fix typo. 2007-12-17 23:59:41 +00:00
apb 88718b259c Change O_NDELAY to the POSIX standard O_NONBLOCK. This should fix
a compile error when building as a host tool.
2007-12-17 23:04:37 +00:00
christos 08face766e Fix a (very old) file leak. From Anon Ymous 2007-12-17 22:06:00 +00:00
dsl 5c3e6d0c07 Regen for 'const' killing. 2007-12-17 22:05:41 +00:00
dsl 06bce1608a Remove all the 'const', they end up applying to the structure members
themselves, not where the 32bit pointers reference.
2007-12-17 22:04:32 +00:00
phx 86c26b70d7 xen did no longer build.
Temporarily reverted to 1.47. Will need some time to find a good solution.
2007-12-17 22:01:12 +00:00
dsl 4f69eadcae svr4_32_sys_creat64() and svr4_32_sys_creat() are equivalent, as are
open64 and open, so just have one set of entry points.
2007-12-17 21:58:34 +00:00
dsl 36fb6d9db7 Revert previous. 2007-12-17 21:48:23 +00:00
dsl a098759aae creat64 and open64 just called the creat/open function.
Change to do it here.
2007-12-17 21:39:17 +00:00
dsl 686e359d32 Regen without any 'const' members of the syscall argument structures. 2007-12-17 20:47:31 +00:00
dsl bf434e38c7 Remove all the 'const'. Although the fields might be 32bit pointers to
constant data, the 'const' applies to the field itself - which is stupid.
2007-12-17 20:45:29 +00:00
christos 848569aa46 from ftp.openbsd.org 2007-12-17 20:15:38 +00:00
garbled d8e4680b19 Fix a mistake in boot.c Forgot to remove reference to residual.h and add
reference to iplcb.h
2007-12-17 19:54:32 +00:00
christos 6d8587f061 from jmcneill: suspend and resume handlers for spic. 2007-12-17 19:51:09 +00:00
garbled 8797c0442b Add rs6000 to this file so it can be easily cross-built. 2007-12-17 19:23:44 +00:00
garbled d1d2109e89 Add some files that got missed in the initial import of port-rs6000. 2007-12-17 19:11:58 +00:00
garbled 68fe5b6f0a Import the rs6000 port into the tree.
This port of NetBSD is intended to run on MCA-based IBM RS/6000
machines.  The port so far has only been tested on a 7006-41T, which is a
601-based RS/6000.  The port also contains a limited set of code for the
7012-3XX machines, but support for those is a long way off still.

The port builds and generates a working kernel, however, it still lacks
bus_dma code for the MCA bus, so at present, only the com ports work,
though any other device (such as the printer/keyboard) located on the
ioplanar could probably be made to work.  Work will continue on this port
as I iron out the DMA code.

This port was made possible by a generous gonation of hardware by Kevin
Bowling, who also provided much of the documentation for the port.
2007-12-17 19:09:01 +00:00
apb 68039cfd90 This is a host tool; include nbtool_config.h 2007-12-17 18:18:21 +00:00
njoly c7d62a5250 Fix linux32_sys_wait4 by doing its own jobw instead off calling
linux_sys_wait4. It worked except when child resources were requested,
because 32/64 bits struct rusage differs in size ...

While here, update linux32_sys_waitpid to use linux32_sys_wait4 with a
NULL rusage.
2007-12-17 18:10:37 +00:00
rumble a2d448e894 s/prop_array_t;/prop_array_t array;/ 2007-12-17 17:52:37 +00:00
riz 344b2782f7 Add drvctl(4) 2007-12-17 16:45:12 +00:00
yamt a5f2bdb11c nfs_create: try GUARDED if EXCLUSIVE is NOTSUPP. 2007-12-17 16:04:31 +00:00
macallan 852515ae5f deal with a bug in the Sun Raptor's firmware which reports
linebytes == width even in 32bit colour
2007-12-17 15:38:31 +00:00
jmcneill dd0320ef8b Fix comment before AcpiOsGetTimer, no functional change. 2007-12-17 15:02:31 +00:00
joerg c33da35bfe Belatedly add a note about acpiec changes from the jmcneill-pm merge. 2007-12-17 14:38:40 +00:00
joerg 599a3a8e85 Revert, fixed differently. 2007-12-17 14:11:53 +00:00
joerg 1dfe814354 Don't call acpi_md_sleep_init on Xen, it doesn't support ACPI sleep
anyway.
2007-12-17 14:11:12 +00:00
joerg 60a3119281 Alias UTF-8 to utf8 for symmetry with latin1. 2007-12-17 14:06:57 +00:00
joerg dffe4b9c05 Use GENERIC for installation as well, just add the ramdisk hooks. 2007-12-17 13:48:18 +00:00
joerg cc25cbe9b0 Don't hardcode limits for the floppy number on amd64. Just let it use as
many floppies as necessary.
2007-12-17 13:47:29 +00:00
jmcneill edbb745595 Note ACPI-CA updated and the addition of pmf. 2007-12-17 13:09:11 +00:00
tsutsui 4e3d8b015c Handle a quirk of newer MCP6x chips on reading MAC address.
Fix from Richy Kim in PR kern/36576.
2007-12-17 12:41:06 +00:00
agc bb94308fd7 Pre-define HAVE_CONFIG_H for the portable autoconf-ed version as well. 2007-12-17 12:29:05 +00:00
tsutsui 8cdfb3fc02 Fix from YAMAGUCHI Takahiro in PR kern/30023:
Pass correct EEPROM address in fxp_write_eeprom().
2007-12-17 12:18:31 +00:00
agc 1e49aaff48 clean up a dependency on a file which has been removed 2007-12-17 12:05:35 +00:00
jnemeth 2e2f0a7f1e usr/include/sys/pmf.h as it is no longer installed, so mark it obsolete
XXX lines should not be removed from this file
2007-12-17 07:53:41 +00:00
dyoung d475558145 Cosmetic: wrap some lines. Join some lines. struct device * ->
device_t.  Use device_t accessor functions.
2007-12-17 05:05:03 +00:00
riz 1d7c0bc27f Add drvctl(4) 2007-12-17 04:36:16 +00:00
riz ed16d9b321 Create drvctl as part of 'all'. 2007-12-17 04:29:50 +00:00
jnemeth 5e804d8ae6 add usr/include/sys/pmf.h 2007-12-17 00:46:10 +00:00
drochner 25d7d279f8 don't include <sys/pmf.h> for userland programs, saves some recompilation
if internals are changed
2007-12-16 23:24:21 +00:00
jmcneill f13c9086d0 acpi_pci_link_route_interrupt: if we're going to return a valid IRQ, we
need to fill in irq, pol, and trig arguments.
2007-12-16 23:11:08 +00:00
dyoung 48b8e42d80 Fix a bug I introduced to rtw_chan2txpower() the other night.
Fix a bug in device detachment: change a break statement to a
/*FALLTHROUGH*/ in rtw_detach().
2007-12-16 21:39:33 +00:00