source: trunk/hal/tsar_mips32/core/hal_kentry.h @ 275

Last change on this file since 275 was 121, checked in by alain, 5 years ago

Fix bugs in hal_remote, hal uspace, hal_special

File size: 2.3 KB
Line 
1/*
2 * hal_kentry.h - MIPS32 registers mnemonics
3 *
4 * Copyright (c) 2008,2009,2010,2011,2012 Ghassan Almaless
5 * Copyright (c) 2011,2012 UPMC Sorbonne Universites
6 *
7 * This file is part of ALMOS-kernel.
8 *
9 * ALMOS-kernel is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; version 2.0 of the License.
12 *
13 * ALMOS-kernel is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with ALMOS-kernel; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
23#ifndef _HAL_KENTRY_H_
24#define _HAL_KENTRY_H_
25
26/***************************************************************************************
27 * This file ... TODO
28 **************************************************************************************/
29
30#define      KSP          0
31#define      AT           1
32#define      V0           2
33#define      V1           3
34#define      A0           4
35#define      A1           5
36#define      A2           6
37#define      A3           7
38#define      T0           8
39#define      T1           9
40#define      T2           10
41#define      T3           11
42#define      T4           12
43#define      T5           13
44#define      T6           14
45#define      T7           15
46#define      T8           16
47#define      T9           17
48#define      S0           18
49#define      S1           19
50#define      S2           20
51#define      S3           21
52#define      S4           22
53#define      S5           23
54#define      S6           24
55#define      S7           25
56#define      S8           26
57#define      GP           27
58#define      RA           28
59#define      EPC          29
60#define      CR           30
61#define      SP           31
62#define      SR           32
63#define      LO           33
64#define      HI           34
65#define      TLS_K1       35
66#define      DP_EXT           36   // DATA PADDR EXTENSION
67#define      MMU_MD           37   // MMU MODE
68#define      REGS_NR      38
69
70#define CPU_IN_KERNEL 1
71
72#endif  /* _HAL_KENTRY_H_ */
Note: See TracBrowser for help on using the repository browser.