diff options
author | jake <jake@FreeBSD.org> | 2001-09-03 22:58:05 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-09-03 22:58:05 +0000 |
commit | c0bffaa6e111e79b79a42d0c82157d0bef4beade (patch) | |
tree | 0654f64654414881398e03e55b55967975101438 /sys/sparc64/include/globaldata.h | |
parent | e6fc6fd6cdf1eed8ba1102758d7957a82d75b37f (diff) | |
download | FreeBSD-src-c0bffaa6e111e79b79a42d0c82157d0bef4beade.zip FreeBSD-src-c0bffaa6e111e79b79a42d0c82157d0bef4beade.tar.gz |
Move the alternate global register stack to struct globaldata.
Diffstat (limited to 'sys/sparc64/include/globaldata.h')
-rw-r--r-- | sys/sparc64/include/globaldata.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sparc64/include/globaldata.h b/sys/sparc64/include/globaldata.h index e13cbe3..69a7ab2 100644 --- a/sys/sparc64/include/globaldata.h +++ b/sys/sparc64/include/globaldata.h @@ -23,6 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * + * from: FreeBSD: src/sys/i386/include/globaldata.h,v 1.27 2001/04/27 * $FreeBSD$ */ @@ -33,6 +34,8 @@ #include <sys/queue.h> +#define ALT_STACK_SIZE 128 + /* * This structure maps out the global data that needs to be kept on a * per-cpu basis. genassym uses this to generate offsets for the assembler @@ -60,6 +63,9 @@ struct globaldata { struct intr_queue *gd_iq; struct intr_vector *gd_ivt; + /* Alternate global stack */ + u_long gd_alt_stack[ALT_STACK_SIZE]; + /* Watch point support. */ u_int gd_wp_insn; u_long gd_wp_pstate; |