Changeset 8e7c9fe in mainline for uspace/lib/c/include
- Timestamp:
- 2014-09-12T03:45:25Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c53b58e
- Parents:
- 3eb0c85 (diff), 105d8d6 (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. - Location:
- uspace/lib/c/include
- Files:
-
- 2 added
- 1 deleted
- 24 edited
- 6 moved
-
adt/list.h (modified) (1 diff)
-
async.h (modified) (3 diffs)
-
bd.h (modified) (1 diff)
-
bd_srv.h (modified) (1 diff)
-
ddi.h (modified) (3 diffs)
-
device/led_dev.h (added)
-
fibril.h (modified) (1 diff)
-
fibril_synch.h (modified) (3 diffs)
-
inet/iplink.h (modified) (2 diffs)
-
inet/iplink_srv.h (modified) (2 diffs)
-
io/chardev.h (moved) (moved from uspace/drv/char/xtkbd/chardev.h ) (1 diff)
-
io/chardev_srv.h (added)
-
io/input.h (modified) (2 diffs)
-
io/pixelmap.h (modified) (3 diffs)
-
ipc/bd.h (modified) (1 diff)
-
ipc/chardev.h (moved) (moved from kernel/arch/mips64/include/arch/cpu.h ) (2 diffs)
-
ipc/common.h (modified) (1 diff)
-
ipc/dev_iface.h (modified) (2 diffs)
-
ipc/event.h (moved) (moved from uspace/lib/c/include/event.h ) (1 diff)
-
ipc/input.h (modified) (1 diff)
-
ipc/ipc.h (modified) (1 diff)
-
ipc/iplink.h (modified) (2 diffs)
-
ipc/irc.h (modified) (1 diff)
-
ipc/irq.h (moved) (moved from kernel/arch/mips64/include/arch/mm/asid.h ) (3 diffs)
-
irc.h (moved) (moved from uspace/lib/drv/include/graph_iface.h ) (2 diffs)
-
loader/loader.h (modified) (1 diff)
-
math.h (deleted)
-
stacktrace.h (modified) (1 diff)
-
stddef.h (modified) (1 diff)
-
stdio.h (modified) (1 diff)
-
str.h (modified) (2 diffs)
-
task.h (modified) (2 diffs)
-
types/task.h (moved) (moved from kernel/arch/mips64/include/arch/proc/task.h ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/adt/list.h
r3eb0c85 r8e7c9fe 39 39 #include <assert.h> 40 40 #include <stdbool.h> 41 #include < unistd.h>41 #include <stddef.h> 42 42 43 43 /** Doubly linked list link. */ -
uspace/lib/c/include/async.h
r3eb0c85 r8e7c9fe 45 45 #include <atomic.h> 46 46 #include <stdbool.h> 47 #include <task.h> 47 #include <abi/proc/task.h> 48 #include <abi/ddi/irq.h> 49 #include <abi/ipc/event.h> 48 50 49 51 typedef ipc_callid_t aid_t; … … 62 64 typedef void (*async_client_conn_t)(ipc_callid_t, ipc_call_t *, void *); 63 65 64 /** Interrupt handler */ 65 typedef void (*async_interrupt_handler_t)(ipc_callid_t, ipc_call_t *); 66 /** Notification handler */ 67 typedef void (*async_notification_handler_t)(ipc_callid_t, ipc_call_t *, 68 void *); 66 69 67 70 /** Exchange management style … … 155 158 156 159 extern void async_set_client_connection(async_client_conn_t); 157 extern void async_set_interrupt_received(async_interrupt_handler_t); 158 extern void async_set_interrupt_handler_stack_size(size_t); 160 extern void async_set_notification_handler_stack_size(size_t); 161 162 extern int async_irq_subscribe(int, int, async_notification_handler_t, void *, 163 const irq_code_t *); 164 extern int async_irq_unsubscribe(int, int); 165 166 extern int async_event_subscribe(event_type_t, async_notification_handler_t, 167 void *); 168 extern int async_event_task_subscribe(event_task_type_t, 169 async_notification_handler_t, void *); 170 extern int async_event_unsubscribe(event_type_t); 171 extern int async_event_task_unsubscribe(event_task_type_t); 172 extern int async_event_unmask(event_type_t); 173 extern int async_event_task_unmask(event_task_type_t); 159 174 160 175 /* -
uspace/lib/c/include/bd.h
r3eb0c85 r8e7c9fe 48 48 extern int bd_read_toc(bd_t *, uint8_t, void *, size_t); 49 49 extern int bd_write_blocks(bd_t *, aoff64_t, size_t, const void *, size_t); 50 extern int bd_sync_cache(bd_t *, aoff64_t, size_t); 50 51 extern int bd_get_block_size(bd_t *, size_t *); 51 52 extern int bd_get_num_blocks(bd_t *, aoff64_t *); -
uspace/lib/c/include/bd_srv.h
r3eb0c85 r8e7c9fe 62 62 int (*read_blocks)(bd_srv_t *, aoff64_t, size_t, void *, size_t); 63 63 int (*read_toc)(bd_srv_t *, uint8_t, void *, size_t); 64 int (*sync_cache)(bd_srv_t *, aoff64_t, size_t); 64 65 int (*write_blocks)(bd_srv_t *, aoff64_t, size_t, const void *, size_t); 65 66 int (*get_block_size)(bd_srv_t *, size_t *); -
uspace/lib/c/include/ddi.h
r3eb0c85 r8e7c9fe 51 51 52 52 extern int physmem_map(uintptr_t, size_t, unsigned int, void **); 53 extern int physmem_unmap(void *); 53 54 54 55 extern int dmamem_map(void *, size_t, unsigned int, unsigned int, uintptr_t *); … … 61 62 extern int pio_enable_resource(pio_window_t *, hw_resource_t *, void **); 62 63 extern int pio_enable(void *, size_t, void **); 64 extern int pio_disable(void *, size_t); 63 65 64 66 typedef void (*trace_fnc)(const volatile void *place, uint32_t val, … … 130 132 } 131 133 132 extern int irq_register(int, int, int, const irq_code_t *);133 extern int irq_unregister(int, int);134 135 134 #endif 136 135 -
uspace/lib/c/include/fibril.h
r3eb0c85 r8e7c9fe 67 67 typedef struct fibril { 68 68 link_t link; 69 link_t all_link; 69 70 context_t ctx; 70 71 void *stack; -
uspace/lib/c/include/fibril_synch.h
r3eb0c85 r8e7c9fe 116 116 /** Timer has fired and has not been cleared since */ 117 117 fts_fired, 118 /** Timer is being destroyed */ 119 fts_cleanup 118 /** Timer fibril is requested to terminate */ 119 fts_cleanup, 120 /** Timer fibril acknowledged termination */ 121 fts_clean 120 122 } fibril_timer_state_t; 121 123 … … 129 131 typedef struct { 130 132 fibril_mutex_t lock; 133 fibril_mutex_t *lockp; 131 134 fibril_condvar_t cv; 132 135 fid_t fibril; 133 136 fibril_timer_state_t state; 137 bool handler_running; 134 138 135 139 suseconds_t delay; … … 160 164 extern void fibril_condvar_broadcast(fibril_condvar_t *); 161 165 162 extern fibril_timer_t *fibril_timer_create( void);166 extern fibril_timer_t *fibril_timer_create(fibril_mutex_t *); 163 167 extern void fibril_timer_destroy(fibril_timer_t *); 164 168 extern void fibril_timer_set(fibril_timer_t *, suseconds_t, fibril_timer_fun_t, 165 169 void *); 170 extern void fibril_timer_set_locked(fibril_timer_t *, suseconds_t, 171 fibril_timer_fun_t, void *); 166 172 extern fibril_timer_state_t fibril_timer_clear(fibril_timer_t *); 173 extern fibril_timer_state_t fibril_timer_clear_locked(fibril_timer_t *); 167 174 168 175 #endif -
uspace/lib/c/include/inet/iplink.h
r3eb0c85 r8e7c9fe 78 78 typedef struct iplink_ev_ops { 79 79 int (*recv)(iplink_t *, iplink_recv_sdu_t *, ip_ver_t); 80 int (*change_addr)(iplink_t *, addr48_t); 80 81 } iplink_ev_ops_t; 81 82 … … 88 89 extern int iplink_get_mtu(iplink_t *, size_t *); 89 90 extern int iplink_get_mac48(iplink_t *, addr48_t *); 91 extern int iplink_set_mac48(iplink_t *, addr48_t); 90 92 91 93 #endif -
uspace/lib/c/include/inet/iplink_srv.h
r3eb0c85 r8e7c9fe 59 59 int (*get_mtu)(iplink_srv_t *, size_t *); 60 60 int (*get_mac48)(iplink_srv_t *, addr48_t *); 61 int (*set_mac48)(iplink_srv_t *, addr48_t *); 61 62 int (*addr_add)(iplink_srv_t *, inet_addr_t *); 62 63 int (*addr_remove)(iplink_srv_t *, inet_addr_t *); … … 67 68 extern int iplink_conn(ipc_callid_t, ipc_call_t *, void *); 68 69 extern int iplink_ev_recv(iplink_srv_t *, iplink_recv_sdu_t *, ip_ver_t); 70 extern int iplink_ev_change_addr(iplink_srv_t *, addr48_t *); 69 71 70 72 #endif -
uspace/lib/c/include/io/chardev.h
r3eb0c85 r8e7c9fe 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 /** @addtogroup drvkbd28 /** @addtogroup libc 29 29 * @{ 30 30 */ 31 /** @file32 * @brief ps/2 mouse driver.33 */34 31 35 #ifndef _CHARDEV_H_36 #define _CHARDEV_H_32 #ifndef LIBC_IO_CHARDEV_H_ 33 #define LIBC_IO_CHARDEV_H_ 37 34 38 35 #include <libarch/types.h> -
uspace/lib/c/include/io/input.h
r3eb0c85 r8e7c9fe 49 49 50 50 typedef struct input_ev_ops { 51 int (*active)(input_t *); 52 int (*deactive)(input_t *); 51 53 int (*key)(input_t *, kbd_event_type_t, keycode_t, keymod_t, wchar_t); 52 54 int (*move)(input_t *, int, int); … … 57 59 extern int input_open(async_sess_t *, input_ev_ops_t *, void *, input_t **); 58 60 extern void input_close(input_t *); 59 extern int input_yield(input_t *); 60 extern int input_reclaim(input_t *); 61 extern int input_activate(input_t *); 61 62 62 63 #endif -
uspace/lib/c/include/io/pixelmap.h
r3eb0c85 r8e7c9fe 1 1 /* 2 2 * Copyright (c) 2011 Petr Koupy 3 * Copyright (c) 2014 Martin Sucha 3 4 * All rights reserved. 4 5 * … … 40 41 #include <unistd.h> 41 42 #include <io/pixel.h> 43 44 /* Defines how a pixel outside of pixmap rectangle shall be treated */ 45 typedef enum { 46 /* Pixels outside of a pixmap are PIXEL(0, 0, 0, 0) */ 47 PIXELMAP_EXTEND_TRANSPARENT_BLACK = 0, 48 49 /* The pixmap is repeated infinetely */ 50 PIXELMAP_EXTEND_TILE, 51 52 /* If outside of a pixmap, return closest pixel from the edge */ 53 PIXELMAP_EXTEND_SIDES, 54 55 /* If outside of a pixmap, return closest pixel from the edge, 56 * with alpha = 0 57 */ 58 PIXELMAP_EXTEND_TRANSPARENT_SIDES 59 } pixelmap_extend_t; 42 60 43 61 typedef struct { … … 86 104 } 87 105 106 static inline pixel_t pixelmap_get_extended_pixel(pixelmap_t *pixmap, 107 native_t x, native_t y, pixelmap_extend_t extend) 108 { 109 bool transparent = false; 110 if (extend == PIXELMAP_EXTEND_TILE) { 111 x %= pixmap->width; 112 y %= pixmap->height; 113 } 114 else if (extend == PIXELMAP_EXTEND_SIDES || 115 extend == PIXELMAP_EXTEND_TRANSPARENT_SIDES) { 116 bool transparent_outside = 117 (extend == PIXELMAP_EXTEND_TRANSPARENT_SIDES); 118 if (x < 0) { 119 x = 0; 120 transparent = transparent_outside; 121 } 122 else if (((sysarg_t) x) >= pixmap->width) { 123 x = pixmap->width - 1; 124 transparent = transparent_outside; 125 } 126 127 if (y < 0) { 128 y = 0; 129 transparent = transparent_outside; 130 } 131 else if (((sysarg_t) y) >= pixmap->height) { 132 y = pixmap->height - 1; 133 transparent = transparent_outside; 134 } 135 } 136 137 if (x < 0 || ((sysarg_t) x) >= pixmap->width || 138 y < 0 || ((sysarg_t) y) >= pixmap->height) 139 return PIXEL(0, 0, 0, 0); 140 141 pixel_t pixel = pixelmap_get_pixel(pixmap, x, y); 142 143 if (transparent) 144 pixel = PIXEL(0, RED(pixel), GREEN(pixel), BLUE(pixel)); 145 146 return pixel; 147 } 148 149 88 150 #endif 89 151 -
uspace/lib/c/include/ipc/bd.h
r3eb0c85 r8e7c9fe 42 42 BD_GET_NUM_BLOCKS, 43 43 BD_READ_BLOCKS, 44 BD_SYNC_CACHE, 44 45 BD_WRITE_BLOCKS, 45 46 BD_READ_TOC -
uspace/lib/c/include/ipc/chardev.h
r3eb0c85 r8e7c9fe 1 1 /* 2 * Copyright (c) 20 03-2004 Jakub Jermar2 * Copyright (c) 2014 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup mips6429 /** @addtogroup libcipc 30 30 * @{ 31 31 */ 32 32 /** @file 33 * @brief Character device interface. 33 34 */ 34 35 35 #ifndef KERN_mips64_CPU_H_36 #define KERN_mips64_CPU_H_36 #ifndef LIBC_IPC_CHARDEV_H_ 37 #define LIBC_IPC_CHARDEV_H_ 37 38 38 #include <typedefs.h> 39 #include <arch/asm.h> 39 #include <ipc/common.h> 40 40 41 typedef struct{42 uint32_t imp_num;43 uint32_t rev_num;44 } c pu_arch_t;41 typedef enum { 42 CHARDEV_READ = IPC_FIRST_USER_METHOD, 43 CHARDEV_WRITE 44 } chardev_request_t; 45 45 46 46 #endif -
uspace/lib/c/include/ipc/common.h
r3eb0c85 r8e7c9fe 39 39 #include <abi/ipc/ipc.h> 40 40 #include <atomic.h> 41 #include < task.h>41 #include <abi/proc/task.h> 42 42 43 43 #define IPC_FLAG_BLOCKING 0x01 -
uspace/lib/c/include/ipc/dev_iface.h
r3eb0c85 r8e7c9fe 41 41 CHAR_DEV_IFACE, 42 42 43 /** Graphic device interface */44 GRAPH_DEV_IFACE,45 46 43 /** Audio device mixer interface */ 47 44 AUDIO_MIXER_IFACE, … … 64 61 /** Interface provided by Real Time Clock devices */ 65 62 CLOCK_DEV_IFACE, 63 64 /** Interface provided by LED devices */ 65 LED_DEV_IFACE, 66 66 67 67 /** Interface provided by battery powered devices */ -
uspace/lib/c/include/ipc/event.h
r3eb0c85 r8e7c9fe 33 33 */ 34 34 35 #ifndef LIBC_ EVENT_H_36 #define LIBC_ EVENT_H_35 #ifndef LIBC_IPC_EVENT_H_ 36 #define LIBC_IPC_EVENT_H_ 37 37 38 38 #include <abi/ipc/event.h> 39 39 #include <libarch/types.h> 40 40 41 extern int event_subscribe(event_type_t, sysarg_t); 42 extern int event_task_subscribe(event_task_type_t, sysarg_t); 43 extern int event_unmask(event_type_t); 44 extern int event_task_unmask(event_task_type_t); 41 extern int ipc_event_subscribe(event_type_t, sysarg_t); 42 extern int ipc_event_task_subscribe(event_task_type_t, sysarg_t); 43 extern int ipc_event_unsubscribe(event_type_t); 44 extern int ipc_event_task_unsubscribe(event_task_type_t); 45 extern int ipc_event_unmask(event_type_t); 46 extern int ipc_event_task_unmask(event_task_type_t); 45 47 46 48 #endif -
uspace/lib/c/include/ipc/input.h
r3eb0c85 r8e7c9fe 39 39 40 40 typedef enum { 41 INPUT_YIELD = IPC_FIRST_USER_METHOD, 42 INPUT_RECLAIM 41 INPUT_ACTIVATE = IPC_FIRST_USER_METHOD 43 42 } input_request_t; 44 43 45 44 typedef enum { 46 INPUT_EVENT_KEY = IPC_FIRST_USER_METHOD, 45 INPUT_EVENT_ACTIVE = IPC_FIRST_USER_METHOD, 46 INPUT_EVENT_DEACTIVE, 47 INPUT_EVENT_KEY, 47 48 INPUT_EVENT_MOVE, 48 49 INPUT_EVENT_ABS_MOVE, -
uspace/lib/c/include/ipc/ipc.h
r3eb0c85 r8e7c9fe 44 44 #include <abi/ipc/methods.h> 45 45 #include <abi/synch.h> 46 #include < task.h>46 #include <abi/proc/task.h> 47 47 48 48 typedef void (*ipc_async_callback_t)(void *, int, ipc_call_t *); -
uspace/lib/c/include/ipc/iplink.h
r3eb0c85 r8e7c9fe 41 41 IPLINK_GET_MTU = IPC_FIRST_USER_METHOD, 42 42 IPLINK_GET_MAC48, 43 IPLINK_SET_MAC48, 43 44 IPLINK_SEND, 44 45 IPLINK_SEND6, … … 48 49 49 50 typedef enum { 50 IPLINK_EV_RECV = IPC_FIRST_USER_METHOD 51 IPLINK_EV_RECV = IPC_FIRST_USER_METHOD, 52 IPLINK_EV_CHANGE_ADDR, 51 53 } iplink_event_t; 52 54 -
uspace/lib/c/include/ipc/irc.h
r3eb0c85 r8e7c9fe 33 33 */ 34 34 35 #ifndef LIBC_I RC_H_36 #define LIBC_I RC_H_35 #ifndef LIBC_IPC_IRC_H_ 36 #define LIBC_IPC_IRC_H_ 37 37 38 38 #include <ipc/common.h> -
uspace/lib/c/include/ipc/irq.h
r3eb0c85 r8e7c9fe 1 1 /* 2 * Copyright (c) 20 05Martin Decky2 * Copyright (c) 2014 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup mips64mm29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef KERN_mips64_ASID_H_36 #define KERN_mips64_ASID_H_35 #ifndef LIBC_IPC_IRQ_H_ 36 #define LIBC_IPC_IRQ_H_ 37 37 38 #include <typedefs.h> 38 #include <sys/types.h> 39 #include <abi/ddi/irq.h> 39 40 40 #define ASID_MAX_ARCH 255 /* 2^8 - 1 */ 41 42 typedef uint8_t asid_t; 41 extern int ipc_irq_subscribe(int, int, sysarg_t, const irq_code_t *); 42 extern int ipc_irq_unsubscribe(int, int); 43 43 44 44 #endif -
uspace/lib/c/include/irc.h
r3eb0c85 r8e7c9fe 1 1 /* 2 * Copyright (c) 201 1 Petr Koupy2 * Copyright (c) 2014 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 33 33 */ 34 34 35 #ifndef LIBC_ DEVICE_GRAPH_DEV_H_36 #define LIBC_ DEVICE_GRAPH_DEV_H_35 #ifndef LIBC_IRC_H_ 36 #define LIBC_IRC_H_ 37 37 38 #include <async.h> 39 40 extern int graph_dev_connect(async_sess_t *); 38 extern int irc_enable_interrupt(int); 39 extern int irc_disable_interrupt(int); 41 40 42 41 #endif -
uspace/lib/c/include/loader/loader.h
r3eb0c85 r8e7c9fe 37 37 #define LIBC_LOADER_H_ 38 38 39 #include < task.h>39 #include <abi/proc/task.h> 40 40 41 41 /** Forward declararion */ -
uspace/lib/c/include/stacktrace.h
r3eb0c85 r8e7c9fe 41 41 42 42 typedef struct { 43 int (*read_uintptr)(void *, uintptr_t, uintptr_t *); 44 } stacktrace_ops_t; 45 46 typedef struct { 43 47 void *op_arg; 44 int (*read_uintptr)(void *, uintptr_t, uintptr_t *);48 stacktrace_ops_t *ops; 45 49 } stacktrace_t; 46 50 47 51 extern void stacktrace_print(void); 48 52 extern void stacktrace_print_fp_pc(uintptr_t, uintptr_t); 53 extern void stacktrace_print_generic(stacktrace_ops_t *, void *, uintptr_t, 54 uintptr_t); 49 55 50 56 /* -
uspace/lib/c/include/stddef.h
r3eb0c85 r8e7c9fe 38 38 #include <sys/types.h> 39 39 40 #ifndef NULL 41 #define NULL ((void *) 0) 42 #endif 43 44 40 45 #endif 41 46 -
uspace/lib/c/include/stdio.h
r3eb0c85 r8e7c9fe 120 120 extern int snprintf(char *, size_t , const char *, ...) 121 121 PRINTF_ATTRIBUTE(3, 4); 122 extern int vasprintf(char **, const char *, va_list); 122 123 extern int asprintf(char **, const char *, ...) 123 124 PRINTF_ATTRIBUTE(2, 3); -
uspace/lib/c/include/str.h
r3eb0c85 r8e7c9fe 109 109 extern char *str_ndup(const char *, size_t max_size); 110 110 111 extern char *str_tok(char *, const char *, char **); 112 111 113 extern int str_uint8_t(const char *, const char **, unsigned int, bool, 112 114 uint8_t *); … … 132 134 extern unsigned long strtoul(const char *, char **, int); 133 135 134 extern char * strtok_r(char *, const char *, char **);135 extern char * strtok(char *, const char *);136 137 136 #endif 138 137 -
uspace/lib/c/include/task.h
r3eb0c85 r8e7c9fe 39 39 #include <abi/proc/task.h> 40 40 #include <stdarg.h> 41 #include <async.h> 42 #include <types/task.h> 41 43 42 typedef enum { 43 TASK_EXIT_NORMAL, 44 TASK_EXIT_UNEXPECTED 45 } task_exit_t; 44 typedef struct { 45 ipc_call_t result; 46 aid_t aid; 47 } task_wait_t; 48 49 struct _TASK; 50 typedef struct _TASK task_t; 46 51 47 52 extern task_id_t task_get_id(void); … … 49 54 extern int task_kill(task_id_t); 50 55 51 extern int task_spawnv(task_id_t *, const char *path, const char *const []); 52 extern int task_spawnvf(task_id_t *, const char *path, const char *const [], 53 int *const []); 54 extern int task_spawn(task_id_t *, const char *path, int, va_list ap); 55 extern int task_spawnl(task_id_t *, const char *path, ...); 56 extern int task_spawnv(task_id_t *, task_wait_t *, const char *path, 57 const char *const []); 58 extern int task_spawnvf(task_id_t *, task_wait_t *, const char *path, 59 const char *const [], int *const []); 60 extern int task_spawn(task_id_t *, task_wait_t *, const char *path, int, 61 va_list ap); 62 extern int task_spawnl(task_id_t *, task_wait_t *, const char *path, ...); 56 63 57 extern int task_wait(task_id_t id, task_exit_t *, int *); 64 extern int task_setup_wait(task_id_t, task_wait_t *); 65 extern void task_cancel_wait(task_wait_t *); 66 extern int task_wait(task_wait_t *, task_exit_t *, int *); 67 extern int task_wait_task_id(task_id_t, task_exit_t *, int *); 58 68 extern int task_retval(int); 59 69 -
uspace/lib/c/include/types/task.h
r3eb0c85 r8e7c9fe 27 27 */ 28 28 29 /** @addtogroup mips64proc29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef KERN_mips64_TASK_H_36 #define KERN_mips64_TASK_H_35 #ifndef LIBC_TYPES_TASK_H_ 36 #define LIBC_TYPES_TASK_H_ 37 37 38 typedef struct { 39 } task_arch_t; 40 41 #define task_create_arch(task) 42 #define task_destroy_arch(task) 38 typedef enum { 39 TASK_EXIT_NORMAL, 40 TASK_EXIT_UNEXPECTED 41 } task_exit_t; 43 42 44 43 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
