diff options
author | Andreas Gunnarsson <andreas@cvs.openbsd.org> | 2004-06-25 17:27:02 +0000 |
---|---|---|
committer | Andreas Gunnarsson <andreas@cvs.openbsd.org> | 2004-06-25 17:27:02 +0000 |
commit | e7a05a23ee68d06836bb6b72fdca8a3512cae3d0 (patch) | |
tree | a3122fd61114e8d5d90eb2004b5211f6245ee34e /sys/arch/amd64/include/cpu.h | |
parent | 13fc92a79fdc61156f083e7caab5dfe8b28c87a3 (diff) |
'machine cpuinfo' and 'machine ddbcpu' in ddb for amd64
Diffstat (limited to 'sys/arch/amd64/include/cpu.h')
-rw-r--r-- | sys/arch/amd64/include/cpu.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h index 7c527d7d7cb..9f5d9958679 100644 --- a/sys/arch/amd64/include/cpu.h +++ b/sys/arch/amd64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.9 2004/06/25 11:03:28 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.10 2004/06/25 17:27:01 andreas Exp $ */ /* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */ /*- @@ -101,7 +101,6 @@ struct cpu_info { int ci_want_resched; int ci_astpending; - struct trapframe *ci_ddb_regs; struct x86_cache_info ci_cinfo[CAI_COUNT]; @@ -112,11 +111,16 @@ struct cpu_info { char *ci_gdt; + volatile int ci_ddb_paused; +#define CI_DDB_RUNNING 0 +#define CI_DDB_SHOULDSTOP 1 +#define CI_DDB_STOPPED 2 +#define CI_DDB_ENTERDDB 3 +#define CI_DDB_INDDB 4 + struct x86_64_tss ci_doubleflt_tss; - struct x86_64_tss ci_ddbipi_tss; char *ci_doubleflt_stack; - char *ci_ddbipi_stack; struct evcnt ci_ipi_events[X86_NIPI]; }; |