OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-ppc64/] [naca.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _NACA_H
2
#define _NACA_H
3
 
4
/*
5
 * c 2001 PPC 64 Team, IBM Corp
6
 *
7
 * This program is free software; you can redistribute it and/or
8
 * modify it under the terms of the GNU General Public License
9
 * as published by the Free Software Foundation; either version
10
 * 2 of the License, or (at your option) any later version.
11
 */
12
 
13
#include <asm/types.h>
14
#include <asm/systemcfg.h>
15
 
16
struct naca_struct {
17
        /*==================================================================
18
         * Cache line 1: 0x0000 - 0x007F
19
         * Kernel only data - undefined for user space
20
         *==================================================================
21
         */
22
        void *xItVpdAreas;              /* VPD Data                  0x00 */
23
        void *xRamDisk;                 /* iSeries ramdisk           0x08 */
24
        u64   xRamDiskSize;             /* In pages                  0x10 */
25
        struct paca_struct *paca;       /* Ptr to an array of pacas  0x18 */
26
        u64 debug_switch;               /* Debug print control       0x20 */
27
        u64 banner;                     /* Ptr to banner string      0x28 */
28
        u64 log;                        /* Ptr to log buffer         0x30 */
29
        u64 serialPortAddr;             /* Phy addr of serial port   0x38 */
30
        u64 interrupt_controller;       /* Type of int controller    0x40 */
31
        u64 slb_size;                   /* SLB size in entries       0x48 */
32
        u64 pftSize;                    /* Log 2 of page table size  0x50 */
33
        void *systemcfg;                /* Pointer to systemcfg data 0x58 */
34
        u32 dCacheL1LogLineSize;        /* L1 d-cache line size Log2 0x60 */
35
        u32 dCacheL1LinesPerPage;       /* L1 d-cache lines / page   0x64 */
36
        u32 iCacheL1LogLineSize;        /* L1 i-cache line size Log2 0x68 */
37
        u32 iCacheL1LinesPerPage;       /* L1 i-cache lines / page   0x6c */
38
        u64 smt_snooze_delay;           /* Delay (in usec) before    0x70 */
39
                                        /* entering ST mode               */
40
        u8  smt_state;                  /* 0 = SMT off               0x78 */
41
                                        /* 1 = SMT on                     */
42
                                        /* 2 = SMT dynamic                */
43
        u8  resv0[7];                   /* Reserved           0x79 - 0x7F */
44
};
45
 
46
extern struct naca_struct *naca;
47
 
48
#endif /* _NACA_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.