Changeset 7ac426e in mainline
- Timestamp:
- 2008-06-03T14:57:21Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cd8ad52
- Parents:
- aac10f86
- Location:
- kernel/generic/include
- Files:
-
- 1 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/adt/avl.h
raac10f86 r7ac426e 37 37 38 38 #include <arch/types.h> 39 #include <typedefs.h> 39 40 40 41 /** -
kernel/generic/include/adt/list.h
raac10f86 r7ac426e 37 37 38 38 #include <arch/types.h> 39 #include <typedefs.h> 39 40 40 41 /** Doubly linked list head and link type. */ -
kernel/generic/include/ddi/device.h
raac10f86 r7ac426e 36 36 #define KERN_DEVICE_H_ 37 37 38 #include <arch/types.h> 39 #include <typedefs.h> 40 38 41 extern devno_t device_assign_devno(void); 39 42 -
kernel/generic/include/interrupt.h
raac10f86 r7ac426e 41 41 #include <proc/thread.h> 42 42 #include <arch.h> 43 #include <console/klog.h>44 43 #include <ddi/irq.h> 45 44 … … 50 49 if (istate_from_uspace(istate)) { \ 51 50 task_t *task = TASK; \ 52 klog_printf("Task %llukilled due to an exception at %p.", task->taskid, istate_get_pc(istate)); \53 klog_printf(" " cmd, ##__VA_ARGS__); \51 printf("Task %" PRIu64 " killed due to an exception at %p.", task->taskid, istate_get_pc(istate)); \ 52 printf(" " cmd, ##__VA_ARGS__); \ 54 53 task_kill(task->taskid); \ 55 54 thread_exit(); \ -
kernel/generic/include/proc/task.h
raac10f86 r7ac426e 117 117 extern task_t *task_create(as_t *as, char *name); 118 118 extern void task_destroy(task_t *t); 119 extern task_t *task_run_program(void *program_addr, char *name);120 119 extern task_t *task_find_by_id(task_id_t id); 121 120 extern int task_kill(task_id_t id); … … 134 133 135 134 extern unative_t sys_task_get_id(task_id_t *uspace_task_id); 135 extern unative_t sys_task_spawn(void *image, size_t size); 136 136 137 137 #endif -
kernel/generic/include/proc/thread.h
raac10f86 r7ac426e 249 249 extern bool thread_exists(thread_t *t); 250 250 251 extern thread_t *thread_create_program(void *program_addr, char *name); 252 251 253 /** Fpu context slab cache. */ 252 254 extern slab_cache_t *fpu_context_slab; -
kernel/generic/include/stackarg.h
raac10f86 r7ac426e 53 53 54 54 #define va_arg(ap, type) \ 55 (*((type *)((ap).last + ((ap).pos += sizeof(type)) - sizeof(type))))55 (*((type *)((ap).last + ((ap).pos += sizeof(type)) - sizeof(type)))) 56 56 57 #define va_copy(dst, src) dst=src57 #define va_copy(dst, src) dst = src 58 58 #define va_end(ap) 59 59 -
kernel/generic/include/synch/spinlock.h
raac10f86 r7ac426e 111 111 if ((pname)++ > (value)) { \ 112 112 (pname) = 0; \ 113 printf("Deadlock probe %s: exceeded threshold % d\n", \114 "cpu% d: function=%s, line=%d\n", \113 printf("Deadlock probe %s: exceeded threshold %u\n", \ 114 "cpu%u: function=%s, line=%u\n", \ 115 115 #pname, (value), CPU->id, __func__, __LINE__); \ 116 116 } -
kernel/generic/include/syscall/syscall.h
raac10f86 r7ac426e 39 39 SYS_IO = 0, 40 40 SYS_TLS_SET = 1, /* Hardcoded in AMD64, IA32 uspace - fibril.S */ 41 41 42 SYS_THREAD_CREATE, 42 43 SYS_THREAD_EXIT, 43 44 SYS_THREAD_GET_ID, 45 44 46 SYS_TASK_GET_ID, 47 SYS_TASK_SPAWN, 48 45 49 SYS_FUTEX_SLEEP, 46 50 SYS_FUTEX_WAKEUP, 51 47 52 SYS_AS_AREA_CREATE, 48 53 SYS_AS_AREA_RESIZE, 49 54 SYS_AS_AREA_DESTROY, 55 50 56 SYS_IPC_CALL_SYNC_FAST, 51 57 SYS_IPC_CALL_SYNC_SLOW, … … 59 65 SYS_IPC_REGISTER_IRQ, 60 66 SYS_IPC_UNREGISTER_IRQ, 67 61 68 SYS_CAP_GRANT, 62 69 SYS_CAP_REVOKE, 70 63 71 SYS_PHYSMEM_MAP, 64 72 SYS_IOSPACE_ENABLE, 65 73 SYS_PREEMPT_CONTROL, 74 66 75 SYS_SYSINFO_VALID, 67 76 SYS_SYSINFO_VALUE, 77 68 78 SYS_DEBUG_ENABLE_CONSOLE, 69 79 SYSCALL_END
Note:
See TracChangeset
for help on using the changeset viewer.