freebsd-nq/sys
Mitsuru IWASAKI e3fd0bc1b2 Add SMP/i386 suspend/resume support.
Most part is merged from amd64.

- i386/acpica/acpi_wakecode.S
Replaced with amd64 code (from realmode to paging enabling code).

- i386/acpica/acpi_wakeup.c
Replaced with amd64 code (except for wakeup_pagetables stuff).

- i386/include/pcb.h
- i386/i386/genassym.c
Added PCB new members (CR0, CR2, CR4, DS, ED, FS, SS, GDT, IDT, LDT
and TR) needed for suspend/resume, not for context switch.

- i386/i386/swtch.s
Added suspendctx() and resumectx().
Note that savectx() was not changed and used for suspending (while
amd64 code uses it).
BSP and AP execute the same sequence, suspendctx(), acpi_wakecode()
and resumectx() for suspend/resume (in case of UP system also).

- i386/i386/apic_vector.s
Added cpususpend().

- i386/i386/mp_machdep.c
- i386/include/smp.h
Added cpususpend_handler().

- i386/include/apicvar.h
- kern/subr_smp.c
- sys/smp.h
Added IPI_SUSPEND and suspend_cpus().

- i386/i386/initcpu.c
- i386/i386/machdep.c
- i386/include/md_var.h
- pc98/pc98/machdep.c
Moved initializecpu() declarations to md_var.h.

MFC after:	3 days
2012-05-18 18:55:58 +00:00
..
amd64 Rename pmap_collect() to pmap_pv_reclaim() and rewrite it such that it no 2012-05-18 05:36:04 +00:00
arm Add localbus driver for Marvell's platforms. 2012-05-18 15:25:43 +00:00
boot Add architecture dependent code to support NAND Framework on Marvell SoCs. 2012-05-18 14:41:14 +00:00
bsm
cam Add two functions xpt_batch_start() and xpt_batch_done() to the CAM SIM KPI 2012-05-12 13:55:36 +00:00
cddl add a zfs spa_t change missed in r235329 2012-05-12 16:36:54 +00:00
compat - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
conf Import work done under project/nand (@235533) into head. 2012-05-17 10:11:18 +00:00
contrib Revert r234834 per luigi@ request. 2012-05-03 08:56:43 +00:00
crypto
ddb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
dev Fix for the r235558: interrupt output pipe is optional, so fix the driver 2012-05-17 22:04:17 +00:00
fs A problem with the NFSv4 server was reported by Andrew Leonard 2012-05-17 21:52:17 +00:00
gdb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
geom Prevent removing of the last active component from a mirror. 2012-05-18 09:22:21 +00:00
gnu/fs Remove unused thread argument to vrecycle(). 2012-04-23 14:10:34 +00:00
i386 Add SMP/i386 suspend/resume support. 2012-05-18 18:55:58 +00:00
ia64 Don't assume we have legacy PICs (i.e. 8259A in cascade) at the legacy 2012-05-04 23:16:29 +00:00
isa
kern Add SMP/i386 suspend/resume support. 2012-05-18 18:55:58 +00:00
kgssapi
libkern Remove second consts in r233288 in order to appease C++ compilers. 2012-03-26 18:22:04 +00:00
mips Remove duplicate config bits. 2012-05-12 19:43:22 +00:00
modules Import work done under project/nand (@235533) into head. 2012-05-17 10:11:18 +00:00
net Sync DLTs with the latest pcap version. 2012-05-14 05:10:41 +00:00
net80211 Update HWMP Proactive code and mesh route flags. 2012-05-01 16:18:38 +00:00
netatalk
netgraph Fix panic in ng_patch(4) caused by checksum flags being added to mbuf flags. 2012-04-22 17:00:52 +00:00
netinet Use a default for max_burst of 4 and l2var of 2. 2012-05-17 18:12:24 +00:00
netinet6 Missed to commit this in r235414. 2012-05-13 19:25:21 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs
nfsclient PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfsserver
nlm
ofed Revert r234834 per luigi@ request. 2012-05-03 08:56:43 +00:00
opencrypto
pc98 Add SMP/i386 suspend/resume support. 2012-05-18 18:55:58 +00:00
pci intpm: add ATI IXP400 pci id 2012-04-16 10:33:46 +00:00
powerpc Fix final bugs in memory barriers on PowerPC: 2012-05-04 16:00:22 +00:00
rpc
security Check vplabel for NULL before dereferencing it. Fixes a panic 2012-05-03 15:51:34 +00:00
sparc64 Fix mismerge in r235231. 2012-05-10 15:23:20 +00:00
sys Add SMP/i386 suspend/resume support. 2012-05-18 18:55:58 +00:00
teken
tools
ufs Add missing `continue' statement at end of case. 2012-05-18 15:20:21 +00:00
vm Do not double-reference the found vm object in cdev_pager_lookup(). 2012-05-18 10:23:47 +00:00
x86 Don't expose i386-only ptrace constants on amd64. This broke gdb with 2012-05-17 20:21:55 +00:00
xdr
xen
Makefile Add sys/ofed to the 'make cscope' target. 2012-03-20 18:05:15 +00:00