diff options
author | jkim <jkim@FreeBSD.org> | 2009-03-17 00:48:11 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2009-03-17 00:48:11 +0000 |
commit | 3eda4741daa9db3ec9fa89000bfbf69dd182e01e (patch) | |
tree | c75b77d8208c29993db8a02658e1f33e9e5339b8 /sys/amd64/include/apicvar.h | |
parent | 4e75ea04f545069138b54e1fee5b5c1236ba5b68 (diff) | |
download | FreeBSD-src-3eda4741daa9db3ec9fa89000bfbf69dd182e01e.zip FreeBSD-src-3eda4741daa9db3ec9fa89000bfbf69dd182e01e.tar.gz |
Initial suspend/resume support for amd64.
This code is heavily inspired by Takanori Watanabe's experimental SMP patch
for i386 and large portion was shamelessly cut and pasted from Peter Wemm's
AP boot code.
Diffstat (limited to 'sys/amd64/include/apicvar.h')
-rw-r--r-- | sys/amd64/include/apicvar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/apicvar.h b/sys/amd64/include/apicvar.h index ea971ec..3cc028d 100644 --- a/sys/amd64/include/apicvar.h +++ b/sys/amd64/include/apicvar.h @@ -130,6 +130,7 @@ #define IPI_IS_BITMAPED(x) ((x) <= IPI_BITMAP_LAST) #define IPI_STOP (APIC_IPI_INTS + 7) /* Stop CPU until restarted. */ +#define IPI_SUSPEND (APIC_IPI_INTS + 8) /* Suspend CPU until restarted. */ /* * The spurious interrupt can share the priority class with the IPIs since |