/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* Copyright (c) 2014, Joyent, Inc.
*/
#ifndef _PCORE_LINUX_H
#define _PCORE_LINUX_H
/*
* Note that these structures can end up in both a 32-bit and 64-bit libproc.
* Therefore, one should generally avoid using types whose size change between
* ILP32 and LP64 and instead use the correct fixed width type. eg. long should
* be int32_t and int64_t as appropriate to whether it's a 32-bit or 64-bit
* structure.
*/
#ifdef __cplusplus
extern "C" {
#endif
/* Process Information */
typedef struct lx_prpsinfo32 {
typedef struct lx_prpsinfo64 {
typedef struct lx_amd64_regs {
typedef struct lx_ia32_regs {
typedef struct lx_elf_siginfo {
typedef struct lx_elf_timeval32 {
typedef struct lx_elf_timeval64 {
/* Thread Information */
typedef struct lx_prstatus32 {
typedef struct lx_prstatus64 {
#ifdef __cplusplus
}
#endif
#endif /* _PCORE_LINUX_H */