1 /**************************************************************************
3 * BRIEF MODULE DESCRIPTION
4 * System Integrity register definition
6 * Copyright 2004 IDT Inc. (rischelp@idt.com)
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
13 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
14 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
15 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
16 * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
19 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
20 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 * You should have received a copy of the GNU General Public License along
25 * with this program; if not, write to the Free Software Foundation, Inc.,
26 * 675 Mass Ave, Cambridge, MA 02139, USA.
29 **************************************************************************
36 **************************************************************************
39 #ifndef __IDT_INTEG_H__
40 #define __IDT_INTEG_H__
44 INTEG0_PhysicalAddress
= 0x18030000,
45 INTEG_PhysicalAddress
= INTEG0_PhysicalAddress
, // Default
47 INTEG0_VirtualAddress
= 0xB8030000,
48 INTEG_VirtualAddress
= INTEG0_VirtualAddress
, // Default
51 // if you are looking for CEA, try rst.h
54 u32 filler
[0xc] ; // 0x30 bytes unused.
55 u32 errcs
; // sticky use ERRCS_
56 u32 wtcount
; // Watchdog timer count reg.
57 u32 wtcompare
; // Watchdog timer timeout value.
58 u32 wtc
; // Watchdog timer control. use WTC_
63 ERRCS_wto_b
= 0, // In INTEG_t -> errcs
64 ERRCS_wto_m
= 0x00000001,
65 ERRCS_wne_b
= 1, // In INTEG_t -> errcs
66 ERRCS_wne_m
= 0x00000002,
67 ERRCS_ucw_b
= 2, // In INTEG_t -> errcs
68 ERRCS_ucw_m
= 0x00000004,
69 ERRCS_ucr_b
= 3, // In INTEG_t -> errcs
70 ERRCS_ucr_m
= 0x00000008,
71 ERRCS_upw_b
= 4, // In INTEG_t -> errcs
72 ERRCS_upw_m
= 0x00000010,
73 ERRCS_upr_b
= 5, // In INTEG_t -> errcs
74 ERRCS_upr_m
= 0x00000020,
75 ERRCS_udw_b
= 6, // In INTEG_t -> errcs
76 ERRCS_udw_m
= 0x00000040,
77 ERRCS_udr_b
= 7, // In INTEG_t -> errcs
78 ERRCS_udr_m
= 0x00000080,
79 ERRCS_sae_b
= 8, // In INTEG_t -> errcs
80 ERRCS_sae_m
= 0x00000100,
81 ERRCS_wre_b
= 9, // In INTEG_t -> errcs
82 ERRCS_wre_m
= 0x00000200,
84 WTC_en_b
= 0, // In INTEG_t -> wtc
85 WTC_en_m
= 0x00000001,
86 WTC_to_b
= 1, // In INTEG_t -> wtc
87 WTC_to_m
= 0x00000002,
90 #endif // __IDT_INTEG_H__
This page took 0.05018 seconds and 5 git commands to generate.