[BACK]Return to pcb.h CVS log [TXT][DIR] Up to [local] / sys / arch / hppa64 / include

Annotation of sys/arch/hppa64/include/pcb.h, Revision 1.1

1.1     ! nbrk        1: /*     $OpenBSD: pcb.h,v 1.1 2005/04/01 10:40:48 mickey Exp $  */
        !             2:
        !             3: /*
        !             4:  * Copyright (c) 2005 Michael Shalayeff
        !             5:  * All rights reserved.
        !             6:  *
        !             7:  * Permission to use, copy, modify, and distribute this software for any
        !             8:  * purpose with or without fee is hereby granted, provided that the above
        !             9:  * copyright notice and this permission notice appear in all copies.
        !            10:  *
        !            11:  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
        !            12:  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
        !            13:  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
        !            14:  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
        !            15:  * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER IN
        !            16:  * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
        !            17:  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
        !            18:  */
        !            19:
        !            20: #ifndef _MACHINE_PCB_H_
        !            21: #define _MACHINE_PCB_H_
        !            22:
        !            23: #include <machine/reg.h>
        !            24:
        !            25: struct pcb {
        !            26:        u_int64_t pcb_fpregs[HPPA_NFPREGS+1];   /* not in the trapframe */
        !            27:        u_int64_t pcb_onfault;          /* SW copy fault handler */
        !            28:        vaddr_t pcb_uva;                /* KVA for U-area */
        !            29:        u_int64_t pcb_ksp;              /* kernel sp for ctxsw */
        !            30:        pa_space_t pcb_space;           /* copy pmap_space, for asm's sake */
        !            31:
        !            32: #if 0  /* imaginary part that is after user but in the same page */
        !            33:        u_int32_t pcb_pad[53+768];
        !            34:        u_int64_t pcb_frame[64];        /* the very end */
        !            35: #endif
        !            36: };
        !            37:
        !            38: struct md_coredump {
        !            39:        struct reg md_reg;
        !            40:        struct fpreg md_fpreg;
        !            41: };
        !            42:
        !            43:
        !            44: #endif /* _MACHINE_PCB_H_ */

CVSweb