View Javadoc

1   package com.tapina.robe.swi.os;
2   
3   /***
4    * Created by IntelliJ IDEA.
5    * User: gareth
6    * Date: Sep 11, 2003
7    * Time: 6:18:38 PM
8    */
9   public final class PlatformFeatures {
10      public static final int CODE_SYNCHRONISATION_REQUIRED = 1;
11      public static final int INTERRUPTS_SKIPPED_DURING_TOGGLE = 2;
12      public static final int HARDWARE_VECTORS_REQUIRE_32BITS = 4;
13      public static final int PC_PLUS_8_STORED = 8;
14      public static final int DATA_ABORTS_USE_FULL_EARLY_TIMING = 16;
15  
16      private final int codeFeatures;
17  
18      public PlatformFeatures(int codeFeatures) {
19          this.codeFeatures = codeFeatures;
20      }
21  
22      public final int getCodeFeatures() {
23          return codeFeatures;
24      }
25  }