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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [powerpc/] [ppcn_60x/] [nvram/] [stk11c68.h] - Blame information for rev 389

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
2
 *  COPYRIGHT (c) 1998 by Radstone Technology
3
 *
4
 *
5
 * THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY
6
 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
7
 * IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
8
 * AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU.
9
 *
10
 * You are hereby granted permission to use, copy, modify, and distribute
11
 * this file, provided that this notice, plus the above copyright notice
12
 * and disclaimer, appears in all copies. Radstone Technology will provide
13
 * no support for this code.
14
 *
15
 */
16
 
17
/*
18
 * Definitions for the stk11C68 NvRAM
19
 */
20
 
21
#ifndef _STK11C68_H
22
#define _STK11C68_H
23
 
24
#include "prepnvr.h"
25
 
26
/*
27
 * STK11C68 definitions
28
 */
29
#define STK11C68_NVSIZE 8192
30
#define STK11C68_GESIZE (STK11C68_NVSIZE-CONFSIZE-OSAREASIZE-sizeof(HEADER))
31
#define STK11C68_BASE (PSTK11C68_NVRAM_MAP)((unsigned8 *)PCI_MEM_BASE+0x00800000)
32
 
33
/*
34
 * STK11C88 definitions
35
 */
36
#define STK11C88_NVSIZE 0x8000-sizeof(MK48T18_CMOS_MAP)
37
 
38
/* Here is the whole map of the STK11C68 NVRAM */
39
typedef struct _STK11C68_NVRAM_MAP {
40
        HEADER          Header;
41
        unsigned8       GEArea[STK11C68_GESIZE];
42
        unsigned8       OSArea[OSAREASIZE];
43
        unsigned8       ConfigArea[CONFSIZE];
44
} STK11C68_NVRAM_MAP, *PSTK11C68_NVRAM_MAP;
45
 
46
#endif /* _STK11C68_H */

powered by: WebSVN 2.1.0

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