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

Annotation of sys/arch/sh/include/kcore.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: kcore.h,v 1.1 2007/03/03 21:37:27 miod Exp $  */
                      2:
                      3: /*
                      4:  * Copyright (c) 2007 Miodrag Vallat.
                      5:  *
                      6:  * Permission to use, copy, modify, and distribute this software for any
                      7:  * purpose with or without fee is hereby granted, provided that the above
                      8:  * copyright notice, this permission notice, and the disclaimer below
                      9:  * 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 USE, DATA OR PROFITS, WHETHER IN AN
                     16:  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
                     17:  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
                     18:  */
                     19:
                     20: #ifndef        _SH_KCORE_H_
                     21: #define        _SH_KCORE_H_
                     22:
                     23: /* this should be >= VM_PHYSSEG_MAX from <machine/vmparam.h> */
                     24: #define        NPHYS_RAM_SEGS  8
                     25:
                     26: typedef struct cpu_kcore_hdr {
                     27:        paddr_t         kcore_kptp;
                     28:        unsigned int    kcore_nsegs;
                     29:        phys_ram_seg_t  kcore_segs[NPHYS_RAM_SEGS];
                     30: } cpu_kcore_hdr_t;
                     31:
                     32: #endif /* _SH_KCORE_H_ */

CVSweb