Changes

Jump to navigation Jump to search
346 bytes added ,  00:24, 26 February 2014
Line 201: Line 201:  
|  Resource Limit Category. (0 = APPLICATION, 1 = SYS_APPLET, 2 = LIB_APPLET, 3 = OTHER)
 
|  Resource Limit Category. (0 = APPLICATION, 1 = SYS_APPLET, 2 = LIB_APPLET, 3 = OTHER)
 
|}
 
|}
 +
 +
==== Flag0 ====
 +
This stores the ''System Mode'', ''Affinity Mask'' and ''Ideal Processor'' values in one byte. They are stored as follows:
 +
u8 Flag0 = (SystemMode << 4 | AffinityMask << 2 | IdealProcessor);
 +
And can be retrieved as follows:
 +
u8 SystemMode = (Flag0>>4)&0xF;
 +
u8 AffinityMask = (Flag0>>2)&0x3;
 +
u8 IdealProcessor = (Flag0>>0)&0x3;
    
==== Storage Info ====
 
==== Storage Info ====
839

edits

Navigation menu