- Timestamp:
- 2005-07-15T21:57:30Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b4a4c5e3
- Parents:
- e41c47e
- Location:
- include
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
include/mm/page.h
re41c47e r76cec1e 43 43 #define PAGE_EXEC_SHIFT 5 44 44 45 #define PAGE_NOT_CACHEABLE 46 #define PAGE_CACHEABLE 45 #define PAGE_NOT_CACHEABLE (0<<PAGE_CACHEABLE_SHIFT) 46 #define PAGE_CACHEABLE (1<<PAGE_CACHEABLE_SHIFT) 47 47 48 #define PAGE_PRESENT 49 #define PAGE_NOT_PRESENT 48 #define PAGE_PRESENT (0<<PAGE_PRESENT_SHIFT) 49 #define PAGE_NOT_PRESENT (1<<PAGE_PRESENT_SHIFT) 50 50 51 #define PAGE_USER 52 #define PAGE_KERNEL 51 #define PAGE_USER (1<<PAGE_USER_SHIFT) 52 #define PAGE_KERNEL (0<<PAGE_USER_SHIFT) 53 53 54 54 #define PAGE_READ (1<<PAGE_READ_SHIFT) -
include/proc/thread.h
re41c47e r76cec1e 74 74 context_t saved_context; 75 75 context_t sleep_timeout_context; 76 fpu_context_t saved_fpu_context; 77 int fpu_context_exists; 78 int fpu_context_engaged; /* Defined only if thread doesn't run. It means that fpu context is in CPU 79 that last time executes this thread. This disables migration */ 80 81 76 fpu_context_t saved_fpu_context; 77 int fpu_context_exists; 78 79 /* 80 * Defined only if thread doesn't run. 81 * It means that fpu context is in CPU that last time executes this thread. 82 * This disables migration 83 */ 84 int fpu_context_engaged; 85 82 86 waitq_t *sleep_queue; 83 87 timeout_t sleep_timeout; -
include/stackarg.h
re41c47e r76cec1e 51 51 52 52 #define va_end(ap) 53 53 54 54 55 55 #endif -
include/synch/semaphore.h
re41c47e r76cec1e 37 37 struct semaphore 38 38 { 39 39 waitq_t wq; 40 40 }; 41 41 -
include/synch/waitq.h
re41c47e r76cec1e 40 40 41 41 struct waitq { 42 43 44 42 spinlock_t lock; 43 int missed_wakeups; 44 link_t head; 45 45 }; 46 46 -
include/time/timeout.h
re41c47e r76cec1e 35 35 #include <list.h> 36 36 37 #define us2ticks(us) 37 #define us2ticks(us) ((__u64)(((__u32) (us)/(1000000/HZ)))) 38 38 39 39 typedef void (* timeout_handler)(void *arg);
Note:
See TracChangeset
for help on using the changeset viewer.