Changeset 7ac426e in mainline


Ignore:
Timestamp:
2008-06-03T14:57:21Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cd8ad52
Parents:
aac10f86
Message:

reflect changes in sources

Location:
kernel/generic/include
Files:
1 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/adt/avl.h

    raac10f86 r7ac426e  
    3737
    3838#include <arch/types.h>
     39#include <typedefs.h>
    3940
    4041/**
  • kernel/generic/include/adt/list.h

    raac10f86 r7ac426e  
    3737
    3838#include <arch/types.h>
     39#include <typedefs.h>
    3940
    4041/** Doubly linked list head and link type. */
  • kernel/generic/include/ddi/device.h

    raac10f86 r7ac426e  
    3636#define KERN_DEVICE_H_
    3737
     38#include <arch/types.h>
     39#include <typedefs.h>
     40
    3841extern devno_t device_assign_devno(void);
    3942
  • kernel/generic/include/interrupt.h

    raac10f86 r7ac426e  
    4141#include <proc/thread.h>
    4242#include <arch.h>
    43 #include <console/klog.h>
    4443#include <ddi/irq.h>
    4544
     
    5049        if (istate_from_uspace(istate)) { \
    5150                task_t *task = TASK; \
    52                 klog_printf("Task %llu killed 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__); \
    5453                task_kill(task->taskid); \
    5554                thread_exit(); \
  • kernel/generic/include/proc/task.h

    raac10f86 r7ac426e  
    117117extern task_t *task_create(as_t *as, char *name);
    118118extern void task_destroy(task_t *t);
    119 extern task_t *task_run_program(void *program_addr, char *name);
    120119extern task_t *task_find_by_id(task_id_t id);
    121120extern int task_kill(task_id_t id);
     
    134133
    135134extern unative_t sys_task_get_id(task_id_t *uspace_task_id);
     135extern unative_t sys_task_spawn(void *image, size_t size);
    136136
    137137#endif
  • kernel/generic/include/proc/thread.h

    raac10f86 r7ac426e  
    249249extern bool thread_exists(thread_t *t);
    250250
     251extern thread_t *thread_create_program(void *program_addr, char *name);
     252
    251253/** Fpu context slab cache. */
    252254extern slab_cache_t *fpu_context_slab;
  • kernel/generic/include/stackarg.h

    raac10f86 r7ac426e  
    5353
    5454#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))))
    5656
    57 #define va_copy(dst,src)       dst=src
     57#define va_copy(dst, src) dst = src
    5858#define va_end(ap)
    5959
  • kernel/generic/include/synch/spinlock.h

    raac10f86 r7ac426e  
    111111        if ((pname)++ > (value)) {                                      \
    112112                (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",                    \
    115115                    #pname, (value), CPU->id, __func__, __LINE__);      \
    116116        }
  • kernel/generic/include/syscall/syscall.h

    raac10f86 r7ac426e  
    3939        SYS_IO = 0,
    4040        SYS_TLS_SET = 1, /* Hardcoded in AMD64, IA32 uspace - fibril.S */
     41       
    4142        SYS_THREAD_CREATE,
    4243        SYS_THREAD_EXIT,
    4344        SYS_THREAD_GET_ID,
     45       
    4446        SYS_TASK_GET_ID,
     47        SYS_TASK_SPAWN,
     48       
    4549        SYS_FUTEX_SLEEP,
    4650        SYS_FUTEX_WAKEUP,
     51       
    4752        SYS_AS_AREA_CREATE,
    4853        SYS_AS_AREA_RESIZE,
    4954        SYS_AS_AREA_DESTROY,
     55       
    5056        SYS_IPC_CALL_SYNC_FAST,
    5157        SYS_IPC_CALL_SYNC_SLOW,
     
    5965        SYS_IPC_REGISTER_IRQ,
    6066        SYS_IPC_UNREGISTER_IRQ,
     67       
    6168        SYS_CAP_GRANT,
    6269        SYS_CAP_REVOKE,
     70       
    6371        SYS_PHYSMEM_MAP,
    6472        SYS_IOSPACE_ENABLE,
    6573        SYS_PREEMPT_CONTROL,
     74       
    6675        SYS_SYSINFO_VALID,
    6776        SYS_SYSINFO_VALUE,
     77       
    6878        SYS_DEBUG_ENABLE_CONSOLE,
    6979        SYSCALL_END
Note: See TracChangeset for help on using the changeset viewer.