69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden * This file and its contents are supplied under the terms of the
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden * Common Development and Distribution License ("CDDL"), version 1.0.
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden * You may only use this file in accordance with the terms of version
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden * 1.0 of the CDDL.
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden * A full copy of the text of the CDDL should have accompanied this
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden * source. A copy of the CDDL is also available via the Internet at
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden * Copyright (c) 2013 by Delphix. All rights reserved.
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden * The kernel has its own definition of exit which has a different signature
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden * than the user space definition. This seems to be the standard way to deal
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden/* mdb versions of kernel structures used for ctf read calls */
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden/* Used to construct a linked list of prmap_ts */
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden/* Fields common to psinfo_t and pstatus_t */
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden/* AVL walk callback structures */
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden * These are the ISA-dependent functions that need to be
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden * implemented for ::gcore.
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Sidenextern uintptr_t gcore_prgetstackbase(mdb_proc_t *);
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Sidenextern int gcore_prfetchinstr(mdb_klwp_t *, ulong_t *);
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Sidenextern void gcore_getgregs(mdb_klwp_t *, gregset_t);
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Sidenextern int gcore_prgetrvals(mdb_klwp_t *, long *, long *);
69a119caa6570c7077699161b7c28b6ee9f8b0f4Christopher Siden#endif /* _MDB_GCORE_H */