|
Revision 468, 0.6 kB
(checked in by krobillard, 15 months ago)
|
|
Squashed commit of master.
|
| Line | |
|---|
| 1 | #ifndef URLANENV_H |
|---|
| 2 | #define URLANENV_H |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | #include "os.h" |
|---|
| 6 | #include "urlan.h" |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | #define UR_EMH_STEP 1 |
|---|
| 12 | #define UR_EMH_HALT 2 |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | struct UrlanEnv |
|---|
| 16 | { |
|---|
| 17 | |
|---|
| 18 | UGCArray bin; |
|---|
| 19 | UGCArray blocks; |
|---|
| 20 | UGCArray resources; |
|---|
| 21 | |
|---|
| 22 | uint16_t flags; |
|---|
| 23 | uint16_t dtCount; |
|---|
| 24 | UArray atoms; |
|---|
| 25 | UArray atomNames; |
|---|
| 26 | UArray devices; |
|---|
| 27 | UThread* threads; |
|---|
| 28 | UDatatype* customDT; |
|---|
| 29 | OSMutex mutex; |
|---|
| 30 | #ifdef UR_CONFIG_EMH |
|---|
| 31 | int (*monitor)(UThread*,int,UCell*,UCell*); |
|---|
| 32 | #endif |
|---|
| 33 | }; |
|---|
| 34 | |
|---|
| 35 | |
|---|
| 36 | #endif |
|---|