diff options
| author | Robert Mustacchi <rm@fingolfin.org> | 2020-10-22 15:56:51 -0700 |
|---|---|---|
| committer | Robert Mustacchi <rm@fingolfin.org> | 2020-11-17 08:52:10 -0800 |
| commit | 350ffdd54baf880f440ddf9697666e283894ded1 (patch) | |
| tree | 938d79d2ad158d809fa15d80774e56b68056a434 /usr/src/uts/common/sys/procfs.h | |
| parent | 7fdea60d55a95f0e46066fd021c4ef1b1321bafc (diff) | |
| download | illumos-joyent-350ffdd54baf880f440ddf9697666e283894ded1.tar.gz | |
13273 want upanic(2)
Reviewed by: C Fraire <cfraire@me.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Diffstat (limited to 'usr/src/uts/common/sys/procfs.h')
| -rw-r--r-- | usr/src/uts/common/sys/procfs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/procfs.h b/usr/src/uts/common/sys/procfs.h index ea485c09fd..00ba23594e 100644 --- a/usr/src/uts/common/sys/procfs.h +++ b/usr/src/uts/common/sys/procfs.h @@ -675,6 +675,21 @@ typedef struct prheader { (((unsigned)((flag)-1) < 32*sizeof (*(sp))/sizeof (uint32_t)) && \ (((uint32_t *)(sp))[((flag)-1)/32] & (1U<<(((flag)-1)%32)))) +/* + * Core file upanic NT_UPANIC structure. + */ +#define PRUPANIC_VERSION_1 1 +#define PRUPANIC_VERSION_CURRENT PRUPANIC_VERSION_1 +#define PRUPANIC_FLAG_MSG_VALID 0x01 +#define PRUPANIC_FLAG_MSG_ERROR 0x02 +#define PRUPANIC_FLAG_MSG_TRUNC 0x04 +#define PRUPANIC_BUFLEN 1024 +typedef struct prupanic { + uint32_t pru_version; + uint32_t pru_flags; + uint8_t pru_data[PRUPANIC_BUFLEN]; +} prupanic_t; + #if defined(_SYSCALL32) /* |
