c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab/*
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * CDDL HEADER START
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab *
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * The contents of this file are subject to the terms of the
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * Common Development and Distribution License (the "License").
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * You may not use this file except in compliance with the License.
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab *
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * or http://www.opensolaris.org/os/licensing.
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * See the License for the specific language governing permissions
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * and limitations under the License.
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab *
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * When distributing Covered Code, include this CDDL HEADER in each
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * If applicable, add the following below this CDDL HEADER, with the
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * fields enclosed by brackets "[]" replaced with your own identifying
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * information: Portions Copyright [yyyy] [name of copyright owner]
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab *
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * CDDL HEADER END
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab/*
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab * Use is subject to license terms.
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore/*
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore * Copyright 2012 DEY Storage Systems, Inc. All rights reserved.
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab#include <struct_layout.h>
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_auxv_layout_t auxv_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 16, 0, 0 }, /* sizeof (auxv_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 0, 1 }, /* a_type */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 8, 0, 1 }, /* a_un.a_val */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 8, 0, 0 }, /* a_un.a_ptr */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 8, 0, 0 }, /* a_un.a_fcn */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_prgregset_layout_t prgregset_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 224, 0, 0 }, /* sizeof (prgregset_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 8, 28, 0 }, /* elt0 */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_lwpstatus_layout_t lwpstatus_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 1296, 0, 0 }, /* sizeof (lwpstatus_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 0, 0 }, /* pr_flags */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 4, 4, 0, 0 }, /* pr_lwpid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 2, 0, 0 }, /* pr_why */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 10, 2, 0, 0 }, /* pr_what */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 12, 2, 0, 0 }, /* pr_cursig */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 256, 0, 0 }, /* pr_info */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 272, 16, 0, 0 }, /* pr_lwppend */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 288, 16, 0, 0 }, /* pr_lwphold */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 304, 32, 0, 0 }, /* pr_action */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 336, 24, 0, 0 }, /* pr_altstack */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 360, 8, 0, 0 }, /* pr_oldcontext */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 368, 2, 0, 0 }, /* pr_syscall */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 370, 2, 0, 0 }, /* pr_nsysarg */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 372, 4, 0, 0 }, /* pr_errno */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 376, 8, 8, 0 }, /* pr_sysarg[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 440, 8, 0, 0 }, /* pr_rval1 */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 448, 8, 0, 0 }, /* pr_rval2 */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 456, 1, 8, 0 }, /* pr_clname[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 464, 16, 0, 0 }, /* pr_tstamp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 480, 16, 0, 0 }, /* pr_utime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 496, 16, 0, 0 }, /* pr_stime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 524, 4, 0, 0 }, /* pr_errpriv */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 528, 8, 0, 0 }, /* pr_ustack */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 536, 8, 0, 0 }, /* pr_instr */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 544, 224, 0, 0 }, /* pr_reg */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 768, 528, 0, 0 }, /* pr_fpreg */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_pstatus_layout_t pstatus_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 1680, 0, 0 }, /* sizeof (pstatus_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 0, 1 }, /* pr_flags */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 4, 4, 0, 1 }, /* pr_nlwp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 4, 0, 0 }, /* pr_pid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 12, 4, 0, 0 }, /* pr_ppid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 4, 0, 0 }, /* pr_pgid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 20, 4, 0, 0 }, /* pr_sid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 24, 4, 0, 1 }, /* pr_aslwpid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 28, 4, 0, 1 }, /* pr_agentid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 32, 16, 0, 0 }, /* pr_sigpend */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 48, 8, 0, 0 }, /* pr_brkbase */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 56, 8, 0, 0 }, /* pr_brksize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 64, 8, 0, 0 }, /* pr_stkbase */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 72, 8, 0, 0 }, /* pr_stksize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 80, 16, 0, 0 }, /* pr_utime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 96, 16, 0, 0 }, /* pr_stime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 112, 16, 0, 0 }, /* pr_cutime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 128, 16, 0, 0 }, /* pr_cstime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 144, 16, 0, 0 }, /* pr_sigtrace */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 160, 16, 0, 0 }, /* pr_flttrace */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 176, 64, 0, 0 }, /* pr_sysentry */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 240, 64, 0, 0 }, /* pr_sysexit */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 304, 1, 0, 0 }, /* pr_dmodel */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 308, 4, 0, 1 }, /* pr_taskid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 312, 4, 0, 1 }, /* pr_projid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 316, 4, 0, 1 }, /* pr_nzomb */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 320, 4, 0, 1 }, /* pr_zoneid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 384, 1296, 0, 0 }, /* pr_lwp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_prstatus_layout_t prstatus_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 824, 0, 0 }, /* sizeof (prstatus_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 0, 1 }, /* pr_flags */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 4, 2, 0, 1 }, /* pr_why */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 6, 2, 0, 1 }, /* pr_what */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 256, 0, 0 }, /* pr_info */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 264, 2, 0, 1 }, /* pr_cursig */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 266, 2, 0, 0 }, /* pr_nlwp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 268, 16, 0, 0 }, /* pr_sigpend */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 284, 16, 0, 0 }, /* pr_sighold */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 304, 24, 0, 0 }, /* pr_altstack */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 328, 32, 0, 0 }, /* pr_action */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 360, 4, 0, 0 }, /* pr_pid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 364, 4, 0, 0 }, /* pr_ppid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 368, 4, 0, 0 }, /* pr_pgrp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 372, 4, 0, 0 }, /* pr_sid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 376, 16, 0, 0 }, /* pr_utime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 392, 16, 0, 0 }, /* pr_stime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 408, 16, 0, 0 }, /* pr_cutime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 424, 16, 0, 0 }, /* pr_cstime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 440, 1, 8, 0 }, /* pr_clname[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 448, 2, 0, 1 }, /* pr_syscall */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 450, 2, 0, 1 }, /* pr_nsysarg */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 456, 8, 8, 1 }, /* pr_sysarg[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 520, 4, 0, 0 }, /* pr_who */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 524, 16, 0, 0 }, /* pr_lwppend */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 544, 8, 0, 0 }, /* pr_oldcontext */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 552, 8, 0, 0 }, /* pr_brkbase */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 560, 8, 0, 0 }, /* pr_brksize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 568, 8, 0, 0 }, /* pr_stkbase */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 576, 8, 0, 0 }, /* pr_stksize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 584, 2, 0, 1 }, /* pr_processor */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 586, 2, 0, 1 }, /* pr_bind */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 592, 8, 0, 1 }, /* pr_instr */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 600, 224, 0, 0 }, /* pr_reg */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_psinfo_layout_t psinfo_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 416, 0, 0 }, /* sizeof (psinfo_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 0, 1 }, /* pr_flag */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 4, 4, 0, 1 }, /* pr_nlwp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 4, 0, 0 }, /* pr_pid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 12, 4, 0, 0 }, /* pr_ppid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 4, 0, 0 }, /* pr_pgid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 20, 4, 0, 0 }, /* pr_sid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 24, 4, 0, 0 }, /* pr_uid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 28, 4, 0, 0 }, /* pr_euid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 32, 4, 0, 0 }, /* pr_gid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 36, 4, 0, 0 }, /* pr_egid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 40, 8, 0, 0 }, /* pr_addr */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 48, 8, 0, 0 }, /* pr_size */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 56, 8, 0, 0 }, /* pr_rssize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 72, 8, 0, 0 }, /* pr_ttydev */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 80, 2, 0, 0 }, /* pr_pctcpu */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 82, 2, 0, 0 }, /* pr_pctmem */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 88, 16, 0, 0 }, /* pr_start */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 104, 16, 0, 0 }, /* pr_time */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 120, 16, 0, 0 }, /* pr_ctime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 136, 1, 16, 0 }, /* pr_fname[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 152, 1, 80, 0 }, /* pr_psargs[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 232, 4, 0, 1 }, /* pr_wstat */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 236, 4, 0, 1 }, /* pr_argc */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 240, 8, 0, 0 }, /* pr_argv */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 248, 8, 0, 0 }, /* pr_envp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 256, 1, 0, 0 }, /* pr_dmodel */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 260, 4, 0, 0 }, /* pr_taskid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 264, 4, 0, 0 }, /* pr_projid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 268, 4, 0, 1 }, /* pr_nzomb */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 272, 4, 0, 0 }, /* pr_poolid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 276, 4, 0, 0 }, /* pr_zoneid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 280, 4, 0, 0 }, /* pr_contract */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 288, 128, 0, 0 }, /* pr_lwp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_prpsinfo_layout_t prpsinfo_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 328, 0, 0 }, /* sizeof (prpsinfo_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 1, 0, 0 }, /* pr_state */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 1, 1, 0, 0 }, /* pr_sname */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 2, 1, 0, 0 }, /* pr_zomb */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 3, 1, 0, 0 }, /* pr_nice */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 4, 4, 0, 0 }, /* pr_flag */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 4, 0, 0 }, /* pr_uid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 12, 4, 0, 0 }, /* pr_gid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 4, 0, 0 }, /* pr_pid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 20, 4, 0, 0 }, /* pr_ppid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 24, 4, 0, 0 }, /* pr_pgrp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 28, 4, 0, 0 }, /* pr_sid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 32, 8, 0, 0 }, /* pr_addr */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 40, 8, 0, 0 }, /* pr_size */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 48, 8, 0, 0 }, /* pr_rssize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 56, 8, 0, 0 }, /* pr_wchan */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 64, 16, 0, 0 }, /* pr_start */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 80, 16, 0, 0 }, /* pr_time */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 96, 4, 0, 1 }, /* pr_pri */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 100, 1, 0, 0 }, /* pr_oldpri */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 101, 1, 0, 0 }, /* pr_cpu */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 102, 2, 0, 0 }, /* pr_ottydev */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 104, 8, 0, 0 }, /* pr_lttydev */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 112, 1, 8, 0 }, /* pr_clname[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 120, 1, 16, 0 }, /* pr_fname[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 136, 1, 80, 0 }, /* pr_psargs[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 216, 2, 0, 1 }, /* pr_syscall */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 224, 16, 0, 0 }, /* pr_ctime */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 240, 8, 0, 0 }, /* pr_bysize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 248, 8, 0, 0 }, /* pr_byrssize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 256, 4, 0, 1 }, /* pr_argc */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 264, 8, 0, 0 }, /* pr_argv */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 272, 8, 0, 0 }, /* pr_envp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 280, 4, 0, 1 }, /* pr_wstat */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 284, 2, 0, 0 }, /* pr_pctcpu */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 286, 2, 0, 0 }, /* pr_pctmem */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 288, 4, 0, 0 }, /* pr_euid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 292, 4, 0, 0 }, /* pr_egid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 296, 4, 0, 0 }, /* pr_aslwpid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 300, 1, 0, 0 }, /* pr_dmodel */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_lwpsinfo_layout_t lwpsinfo_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 128, 0, 0 }, /* sizeof (lwpsinfo_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 0, 1 }, /* pr_flag */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 4, 4, 0, 0 }, /* pr_lwpid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 8, 0, 0 }, /* pr_addr */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 8, 0, 0 }, /* pr_wchan */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 24, 1, 0, 0 }, /* pr_stype */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 25, 1, 0, 0 }, /* pr_state */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 26, 1, 0, 0 }, /* pr_sname */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 27, 1, 0, 0 }, /* pr_nice */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 28, 2, 0, 0 }, /* pr_syscall */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 30, 1, 0, 0 }, /* pr_oldpri */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 31, 1, 0, 0 }, /* pr_cpu */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 32, 4, 0, 1 }, /* pr_pri */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 36, 2, 0, 0 }, /* pr_pctcpu */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 40, 16, 0, 0 }, /* pr_start */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 56, 16, 0, 0 }, /* pr_time */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 72, 1, 8, 0 }, /* pr_clname[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 80, 1, 16, 0 }, /* pr_name[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 96, 4, 0, 1 }, /* pr_onpro */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 100, 4, 0, 1 }, /* pr_bindpro */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 104, 4, 0, 1 }, /* pr_bindpset */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 108, 4, 0, 1 }, /* pr_lgrp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_prcred_layout_t prcred_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 32, 0, 0 }, /* sizeof (prcred_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 0, 0 }, /* pr_euid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 4, 4, 0, 0 }, /* pr_ruid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 4, 0, 0 }, /* pr_suid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 12, 4, 0, 0 }, /* pr_egid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 4, 0, 0 }, /* pr_rgid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 20, 4, 0, 0 }, /* pr_sgid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 24, 4, 0, 1 }, /* pr_ngroups */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 28, 4, 1, 0 }, /* pr_groups[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_prpriv_layout_t prpriv_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 16, 0, 0 }, /* sizeof (prpriv_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 0, 0 }, /* pr_nsets */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 4, 4, 0, 0 }, /* pr_setsize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 4, 0, 0 }, /* pr_infosize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 12, 4, 1, 0 }, /* pr_sets[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_priv_impl_info_layout_t priv_impl_info_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 28, 0, 0 }, /* sizeof (priv_impl_info_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 0, 0 }, /* priv_headersize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 4, 4, 0, 0 }, /* priv_flags */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 4, 0, 0 }, /* priv_nsets */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 12, 4, 0, 0 }, /* priv_setsize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 4, 0, 0 }, /* priv_max */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 20, 4, 0, 0 }, /* priv_infosize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 24, 4, 0, 0 }, /* priv_globalinfosize */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_fltset_layout_t fltset_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 16, 0, 0 }, /* sizeof (fltset_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 4, 0 }, /* word[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_siginfo_layout_t siginfo_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 256, 0, 0 }, /* sizeof (siginfo_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 0, 0 }, /* si_signo */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 4, 0, 0 }, /* si_errno */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 4, 4, 0, 1 }, /* si_code */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 32, 4, 0, 0 }, /* si_value.sival_int */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 32, 8, 0, 0 }, /* si_value.sival_ptr */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 4, 0, 0 }, /* si_pid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 24, 4, 0, 0 }, /* si_uid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 48, 4, 0, 0 }, /* si_ctid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 52, 4, 0, 0 }, /* si_zoneid */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 4, 0, 0 }, /* si_entity */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 8, 0, 0 }, /* si_addr */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 32, 4, 0, 0 }, /* si_status */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 24, 8, 0, 0 }, /* si_band */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_sigset_layout_t sigset_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 16, 0, 0 }, /* sizeof (sigset_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 4, 0 }, /* __sigbits[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_sigaction_layout_t sigaction_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 32, 0, 0 }, /* sizeof (struct sigaction) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 0, 0 }, /* sa_flags */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 8, 0, 0 }, /* sa_handler */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 8, 0, 0 }, /* sa_sigaction */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 16, 0, 0 }, /* sa_mask */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_stack_layout_t stack_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 24, 0, 0 }, /* sizeof (stack_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 8, 0, 0 }, /* ss_sp */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 8, 0, 0 }, /* ss_size */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 16, 4, 0, 0 }, /* ss_flags */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_sysset_layout_t sysset_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 64, 0, 0 }, /* sizeof (sysset_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 4, 16, 0 }, /* word[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_timestruc_layout_t timestruc_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 16, 0, 0 }, /* sizeof (timestruc_t) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 8, 0, 0 }, /* tv_sec */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 8, 8, 0, 0 }, /* tv_nsec */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_utsname_layout_t utsname_layout = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 1285, 0, 0 }, /* sizeof (struct utsname) */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 0, 1, 257, 0 }, /* sysname[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 257, 1, 257, 0 }, /* nodename[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 514, 1, 257, 0 }, /* release[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 771, 1, 257, 0 }, /* version[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab { 1028, 1, 257, 0 }, /* machine[] */
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amorestatic const sl_prfdinfo_layout_t prfdinfo_layout = {
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 0, 1088, 0, 0 }, /* sizeof (prfdinfo_t) */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 0, 4, 0, 0 }, /* pr_fd */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 4, 4, 0, 0 }, /* pr_mode */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 8, 4, 0, 0 }, /* pr_uid */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 12, 4, 0, 0 }, /* pr_gid */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 16, 4, 0, 0 }, /* pr_major */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 20, 4, 0, 0 }, /* pr_minor */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 24, 4, 0, 0 }, /* pr_rmajor */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 28, 4, 0, 0 }, /* pr_rminor */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 32, 8, 0, 0 }, /* pr_ino */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 40, 8, 0, 0 }, /* pr_offset */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 48, 8, 0, 0 }, /* pr_size */
894fa7ba71de90ec2b4a468b77d5d20d75299104Richard Lowe { 56, 4, 0, 0 }, /* pr_fileflags */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore { 60, 4, 0, 0 }, /* pr_fdflags */
894fa7ba71de90ec2b4a468b77d5d20d75299104Richard Lowe { 64, 1, 1024, 0 }, /* pr_path[] */
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
d2a70789f056fc6c9ce3ab047b52126d80b0e3daRichard Lowestatic const sl_prsecflags_layout_t prsecflags_layout = {
d2a70789f056fc6c9ce3ab047b52126d80b0e3daRichard Lowe { 0, 40, 0, 0 }, /* sizeof (prsecflags_t) */
d2a70789f056fc6c9ce3ab047b52126d80b0e3daRichard Lowe { 0, 4, 0, 0 }, /* pr_version */
d2a70789f056fc6c9ce3ab047b52126d80b0e3daRichard Lowe { 8, 8, 0, 0 }, /* pr_effective */
d2a70789f056fc6c9ce3ab047b52126d80b0e3daRichard Lowe { 16, 8, 0, 0 }, /* pr_inherit */
d2a70789f056fc6c9ce3ab047b52126d80b0e3daRichard Lowe { 24, 8, 0, 0 }, /* pr_lower */
d2a70789f056fc6c9ce3ab047b52126d80b0e3daRichard Lowe { 32, 8, 0, 0 }, /* pr_upper */
d2a70789f056fc6c9ce3ab047b52126d80b0e3daRichard Lowe};
d2a70789f056fc6c9ce3ab047b52126d80b0e3daRichard Lowe
d2a70789f056fc6c9ce3ab047b52126d80b0e3daRichard Lowe
894fa7ba71de90ec2b4a468b77d5d20d75299104Richard Lowe
894fa7ba71de90ec2b4a468b77d5d20d75299104Richard Lowe
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstatic const sl_arch_layout_t layout_amd64 = {
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &auxv_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &fltset_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &lwpsinfo_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &lwpstatus_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &prcred_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &priv_impl_info_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &prpriv_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &psinfo_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &pstatus_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &prgregset_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &prpsinfo_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &prstatus_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &sigaction_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &siginfo_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &sigset_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &stack_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &sysset_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &timestruc_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab &utsname_layout,
34bdffbf3e3c188027e767e631f717b10159316dGarrett D'Amore &prfdinfo_layout,
d2a70789f056fc6c9ce3ab047b52126d80b0e3daRichard Lowe &prsecflags_layout,
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab};
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abconst sl_arch_layout_t *
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87abstruct_layout_amd64(void)
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab{
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab return (&layout_amd64);
c6c9aed4d309e3d11be652b85e3bf8bb72f20c87ab}