Changeset 925a21e in mainline for abi/include/sysinfo.h
- Timestamp:
- 2011-09-24T14:20:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5bf76c1
- Parents:
- 867e2555 (diff), 1ab4aca (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
abi/include/sysinfo.h
r867e2555 r925a21e 34 34 */ 35 35 36 #ifndef KERN_ABI_H_ 37 #define KERN_ABI_H_ 36 #ifndef ABI_SYSINFO_H_ 37 #define ABI_SYSINFO_H_ 38 39 #include <abi/proc/task.h> 40 #include <abi/proc/thread.h> 38 41 39 42 /** Number of load components */ … … 44 47 #define EXC_NAME_BUFLEN 20 45 48 46 /** Thread states */ 49 /** Item value type 50 * 51 */ 47 52 typedef enum { 48 /** It is an error, if thread is found in this state. */ 49 Invalid, 50 /** State of a thread that is currently executing on some CPU. */ 51 Running, 52 /** Thread in this state is waiting for an event. */ 53 Sleeping, 54 /** State of threads in a run queue. */ 55 Ready, 56 /** Threads are in this state before they are first readied. */ 57 Entering, 58 /** After a thread calls thread_exit(), it is put into Exiting state. */ 59 Exiting, 60 /** Threads that were not detached but exited are Lingering. */ 61 Lingering 62 } state_t; 53 SYSINFO_VAL_UNDEFINED = 0, /**< Undefined value */ 54 SYSINFO_VAL_VAL = 1, /**< Constant numeric value */ 55 SYSINFO_VAL_DATA = 2, /**< Constant binary data */ 56 SYSINFO_VAL_FUNCTION_VAL = 3, /**< Generated numeric value */ 57 SYSINFO_VAL_FUNCTION_DATA = 4 /**< Generated binary data */ 58 } sysinfo_item_val_type_t; 63 59 64 60 /** Statistics about a single CPU
Note:
See TracChangeset
for help on using the changeset viewer.