iwasaki
31eddd58e3
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
..
2011-04-29 21:36:45 +00:00
2011-08-18 22:51:30 +00:00
2011-05-24 13:22:40 +00:00
2011-06-16 22:00:59 +00:00
2012-03-11 19:38:49 +00:00
2012-02-17 23:47:16 +00:00
2011-03-06 22:59:30 +00:00
2012-01-22 11:01:36 +00:00
2011-11-21 01:26:10 +00:00
2012-05-02 14:25:39 +00:00
2012-05-15 01:30:25 +00:00
2012-03-13 10:21:08 +00:00
2012-04-20 15:32:36 +00:00
2012-02-10 14:55:47 +00:00
2011-12-17 15:50:45 +00:00
2011-09-16 13:58:51 +00:00
2012-03-10 18:56:16 +00:00
2011-12-05 10:34:52 +00:00
2012-02-21 01:05:12 +00:00
2012-04-11 14:08:09 +00:00
2011-11-07 06:44:47 +00:00
2011-09-16 13:58:51 +00:00
2011-11-07 15:43:11 +00:00
2012-03-26 09:34:17 +00:00
2012-03-08 19:41:05 +00:00
2012-04-02 19:35:36 +00:00
2011-11-07 06:44:47 +00:00
2011-12-01 07:19:13 +00:00
2012-02-27 21:10:10 +00:00
2012-02-21 01:05:12 +00:00
2011-04-13 11:28:46 +00:00
2011-05-31 21:22:44 +00:00
2012-03-09 22:30:54 +00:00
2012-03-06 11:05:50 +00:00
2011-04-12 08:13:18 +00:00
2012-05-11 23:43:32 +00:00
2012-01-02 12:12:10 +00:00
2012-04-20 15:32:36 +00:00
2012-04-12 14:49:25 +00:00
2012-03-28 20:58:30 +00:00
2011-11-07 06:44:47 +00:00
2011-09-16 13:58:51 +00:00
2012-03-01 19:58:34 +00:00
2011-07-17 23:05:24 +00:00
2011-09-16 13:58:51 +00:00
2012-03-28 20:58:30 +00:00
2011-12-24 01:32:01 +00:00
2012-03-28 20:58:30 +00:00
2011-11-07 15:43:11 +00:00
2012-04-23 20:56:05 +00:00
2012-01-08 18:48:36 +00:00
2012-04-17 14:31:02 +00:00
2012-04-17 14:31:02 +00:00
2012-01-22 20:25:00 +00:00
2011-12-11 21:02:01 +00:00
2012-03-28 20:58:30 +00:00
2012-03-27 15:07:43 +00:00
2012-01-28 14:00:21 +00:00
2012-04-12 10:48:43 +00:00
2011-12-04 21:27:41 +00:00
2012-03-28 20:58:30 +00:00
2012-05-15 01:30:25 +00:00
2012-03-22 04:52:51 +00:00
2012-03-03 08:19:18 +00:00
2012-04-17 13:44:40 +00:00
2012-05-15 01:30:25 +00:00
2011-09-16 13:58:51 +00:00
2012-05-03 20:00:30 +00:00
2012-04-14 23:53:31 +00:00
2012-01-05 19:00:36 +00:00
2011-06-07 02:50:14 +00:00
2012-02-21 01:05:12 +00:00
2012-02-21 01:05:12 +00:00
2011-07-10 00:53:04 +00:00
2011-03-01 13:28:27 +00:00
2011-11-21 01:26:10 +00:00
2011-09-16 13:58:51 +00:00
2011-07-17 23:05:24 +00:00
2012-05-15 10:58:17 +00:00
2012-05-15 01:30:25 +00:00
2012-04-17 14:54:00 +00:00
2012-03-13 20:27:48 +00:00
2011-12-03 15:41:37 +00:00
2012-04-11 20:57:41 +00:00
2011-11-07 15:43:11 +00:00
2012-04-13 04:22:42 +00:00
2012-01-23 16:31:46 +00:00
2012-01-02 12:12:10 +00:00
2012-04-12 17:43:59 +00:00
2011-11-15 20:11:03 +00:00
2011-12-11 21:02:01 +00:00
2012-02-01 14:34:52 +00:00
2012-02-06 06:03:16 +00:00
2012-03-19 00:36:32 +00:00
2011-03-23 16:38:29 +00:00
2011-11-07 06:44:47 +00:00
2011-10-16 14:16:46 +00:00
2011-11-07 15:43:11 +00:00
2011-11-07 15:43:11 +00:00
2011-11-19 14:10:16 +00:00
2011-08-19 08:29:10 +00:00
2012-01-26 16:35:09 +00:00
2012-05-15 01:30:25 +00:00
2012-05-18 18:55:58 +00:00
2011-11-16 19:06:55 +00:00
2012-04-12 10:48:43 +00:00
2011-09-15 08:42:06 +00:00
2012-04-20 15:32:36 +00:00
2012-05-15 01:30:25 +00:00
2012-03-22 04:52:51 +00:00
2012-04-06 06:53:58 +00:00
2012-03-12 11:56:57 +00:00
2012-03-04 14:55:37 +00:00
2012-04-16 21:22:02 +00:00
2011-09-16 13:58:51 +00:00
2012-02-23 11:50:23 +00:00
2011-08-16 20:07:47 +00:00
2011-11-21 01:26:10 +00:00
2011-11-21 01:26:10 +00:00
2011-11-21 01:26:10 +00:00
2011-09-16 13:58:51 +00:00
2011-09-16 13:58:51 +00:00
2012-02-19 00:28:49 +00:00
2012-02-06 18:15:46 +00:00
2012-01-02 12:12:10 +00:00
2011-06-26 18:26:20 +00:00
2011-09-16 13:58:51 +00:00
2012-02-21 01:05:12 +00:00
2012-02-26 20:56:49 +00:00
2011-02-25 10:11:01 +00:00
2012-02-23 17:47:19 +00:00
2012-02-21 01:05:12 +00:00
2012-04-23 14:10:34 +00:00
2011-09-16 13:58:51 +00:00
2012-04-01 18:22:48 +00:00
2011-12-13 00:38:50 +00:00
2012-04-03 18:38:00 +00:00
2012-03-15 14:13:38 +00:00
2012-02-29 21:38:31 +00:00
2011-09-16 13:58:51 +00:00
2012-02-05 04:49:31 +00:00
2012-05-15 09:55:15 +00:00
2012-03-03 01:06:54 +00:00
2012-02-08 15:07:19 +00:00
2012-05-16 10:44:09 +00:00
2012-02-21 01:05:12 +00:00
2011-09-13 21:01:26 +00:00
2012-01-01 18:45:59 +00:00
2012-04-20 06:50:44 +00:00
2012-02-21 01:05:12 +00:00
2012-04-23 14:10:34 +00:00
2012-04-20 10:08:30 +00:00
2012-03-08 20:27:20 +00:00
2012-02-29 21:38:31 +00:00