source: vendor/emx/current/src/os2/reg.h

Last change on this file was 18, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.4 KB
Line 
1/* reg.h -- Register numbers
2 Copyright (c) 1992-1995 by Eberhard Mattes
3
4This file is part of emx.
5
6emx is free software; you can redistribute it and/or modify it
7under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11emx is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with emx; see the file COPYING. If not, write to
18the Free Software Foundation, 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA.
20
21As special exception, emx.dll can be distributed without source code
22unless it has been changed. If you modify emx.dll, this exception
23no longer applies and you must remove this paragraph from all source
24files for emx.dll. */
25
26
27/* This header contains the macros of <sys/reg.h> prepended with
28 "R_" to avoid conflicts with the members of uDB_t. */
29
30#define R_GS 0
31#define R_FS 1
32#define R_ES 2
33#define R_DS 3
34#define R_EDI 4
35#define R_ESI 5
36#define R_EBP 6
37#define R_ESP 7
38#define R_EBX 8
39#define R_EDX 9
40#define R_ECX 10
41#define R_EAX 11
42#define R_EIP 14
43#define R_CS 15
44#define R_EFL 16
45#define R_UESP 17
46#define R_SS 18
Note: See TracBrowser for help on using the repository browser.