/[rvvs89]/uvm/core/uvm.h


UCC Code Repository

Contents of /uvm/core/uvm.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 354 - (show annotations) (download)
Sun Feb 28 14:17:30 2010 UTC (11 years, 9 months ago) by rvvs89
File MIME type: text/plain
File size: 1681 byte(s)
Syncing to work on desktop.
1 /*
2 * File: uvm.h
3 * Author: Rufus Garton Smith
4 *
5 * Compile-time configuration settings for libuvm.
6 *
7 * $Id$
8 * Created on 20 February 2010, 6:32 PM
9 */
10
11 #ifndef _UVM_H
12 #define _UVM_H
13
14 #ifdef __cplusplus
15 //extern "C" {
16 #endif
17
18 /** Features */
19 /* Enables floating point types and operations */
20 #define ENABLE_FLOAT
21 /* Enables use of malloc, calloc, and free for dynamic memory allocation */
22 #define ENABLE_MALLOC
23 /* Prevents simultaneous access to non-atomic data that is required by the VM spec to be atomic */
24 //#define ENABLE_ENFORCED_ATOMICITY
25 /* Enables verification of class files, disabling this will improve class loading speed at a significant cost to security */
26 #define ENABLE_VERIFIER
27
28 /** Target assumptions */
29 /** Assumes integer overflow and underflow is handled on the target as specified by the VM spec */
30 #define ASSUME_DEFINED_OVERFLOW
31 /** Assumes the target represents integers in a big-endian byte order */
32 //#define ASSUME_BIGENDIAN
33 /** Assumes that 16-bit reads and writes do not require any particular alignment */
34 //#define ASSUME_UNALIGNED_16
35 /** Assumes that 32-bit reads and writes do not require any particular alignment */
36 //#define ASSUME_UNALIGNED_32
37 /** Assumes that 64-bit reads and writes do not require any particular alignment */
38 //#define ASSUME_UNALIGNED_64
39 /** Assumes that 8-bit reads and writes are atomic */
40 //#define ASSUME_ATOMIC_8
41 /** Assumes that 16-bit reads and writes are atomic */
42 //#define ASSUME_ATOMIC_16
43 /** Assumes that 32-bit reads and writes are atomic */
44 //#define ASSUME_ATOMIC_32
45 /** Assumes that 64-bit reads and writes are atomic */
46 //#define ASSUME_ATOMIC_64
47
48 #ifdef __cplusplus
49 //}
50 #endif
51
52 #endif /* _UVM_H */

Properties

Name Value
svn:keywords Id

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26