source: branches/arm/lisp-kernel/x86-constants.h @ 13923

Last change on this file since 13923 was 13629, checked in by gb, 10 years ago

Propagate kernel changes from trunk to this branch.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1/*
2   Copyright (C) 2005-2009 Clozure Associates
3   This file is part of Clozure CL. 
4
5   Clozure CL is licensed under the terms of the Lisp Lesser GNU Public
6   License , known as the LLGPL and distributed with Clozure CL as the
7   file "LICENSE".  The LLGPL consists of a preamble and the LGPL,
8   which is distributed with Clozure CL as the file "LGPL".  Where these
9   conflict, the preamble takes precedence. 
10
11   Clozure CL is referenced in the preamble as the "LIBRARY."
12
13   The LLGPL is also available online at
14   http://opensource.franz.com/preamble.html
15*/
16
17#include "constants.h"
18
19
20/* FP exception mask bits */
21#define MXCSR_IM_BIT (7)        /* invalid masked when set*/
22#define MXCSR_DM_BIT (8)        /* denormals masked when set*
23#define MXCSR_ZM_BIT (9)        /* divide-by-zero masked when set */
24#define MXCSR_OM_BIT (10)       /* overflow masked when set */
25#define MXCSR_UM_BIT (11)       /* underflow masked when set */
26#define MXCSR_PM_BIT (12)       /* precision masked when set */
27
28/* Bits in the xFLAGS register */
29#define X86_CARRY_FLAG_BIT (0)
30#define X86_PARITY_FLAG_BIT (2)
31#define X86_AUX_CARRY_FLAG_BIT (4)
32#define X86_ZERO_FLAG_BIT (6)
33#define X86_SIGN_FLAG_BIT (7)
34#define X86_DIRECTION_FLAG_BIT (10)
35#define X86_OVERFLOW_FLAG_BIT (11)
36
37#define STATIC_BASE_ADDRESS 0x00012000
38
39
40
Note: See TracBrowser for help on using the repository browser.