Changeset 5b0cf63 in mainline for kernel/generic/include
- Timestamp:
- 2018-01-25T13:42:08Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ab3c4b
- Parents:
- c832ab15
- git-author:
- Jiri Svoboda <jiri@…> (2017-01-24 18:40:44)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-01-25 13:42:08)
- Location:
- kernel/generic/include
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/adt/hash_table.h
rc832ab15 r5b0cf63 84 84 member_to_inst((item), type, member) 85 85 86 extern bool hash_table_create(hash_table_t *, size_t, size_t, 87 86 extern bool hash_table_create(hash_table_t *, size_t, size_t, 87 hash_table_ops_t *); 88 88 extern void hash_table_destroy(hash_table_t *); 89 89 … … 98 98 extern size_t hash_table_remove(hash_table_t *, void *); 99 99 extern void hash_table_remove_item(hash_table_t *, ht_link_t *); 100 extern void hash_table_apply(hash_table_t *, bool (*)(ht_link_t *, void *), 101 100 extern void hash_table_apply(hash_table_t *, bool (*)(ht_link_t *, void *), 101 void *); 102 102 103 103 -
kernel/generic/include/align.h
rc832ab15 r5b0cf63 58 58 * @param s Address or size to be checked for alignment. 59 59 * @param a Size of alignment, must be a power of 2. 60 */ 60 */ 61 61 #define IS_ALIGNED(s, a) (ALIGN_UP((s), (a)) == (s)) 62 62 -
kernel/generic/include/arch.h
rc832ab15 r5b0cf63 80 80 81 81 typedef struct { 82 void (* 83 void (* 84 void (* 85 void (* 86 void (* 82 void (*pre_mm_init)(void); 83 void (*post_mm_init)(void); 84 void (*post_cpu_init)(void); 85 void (*pre_smp_init)(void); 86 void (*post_smp_init)(void); 87 87 } arch_ops_t; 88 88 -
kernel/generic/include/gsort.h
rc832ab15 r5b0cf63 39 39 #include <stddef.h> 40 40 41 typedef int (* 41 typedef int (*sort_cmp_t)(void *, void *, void *); 42 42 43 43 extern bool gsort(void *, size_t, size_t, sort_cmp_t, void *); -
kernel/generic/include/ipc/sysipc_ops.h
rc832ab15 r5b0cf63 90 90 * Invoked on: all calls 91 91 */ 92 errno_t (* 92 errno_t (*request_preprocess)(call_t *, phone_t *); 93 93 94 94 /** … … 101 101 * _ipc_answer_free_call() 102 102 * Invoked on: all forgotten calls 103 */ 104 errno_t (* 103 */ 104 errno_t (*request_forget)(call_t *); 105 105 106 106 /** … … 111 111 * Races with: request_forget() 112 112 * Invoked on: all calls delivered to the callee 113 */ 114 int (* 113 */ 114 int (*request_process)(call_t *, answerbox_t *); 115 115 116 116 /** … … 123 123 * Invoked on: all forgotten calls 124 124 */ 125 errno_t (* 125 errno_t (*answer_cleanup)(call_t *, ipc_data_t *); 126 126 127 127 /** … … 134 134 * Invoked on: all answered calls 135 135 */ 136 errno_t (* 136 errno_t (*answer_preprocess)(call_t *, ipc_data_t *); 137 137 138 138 /** … … 144 144 * Invoked on: all answered calls 145 145 */ 146 errno_t (* 146 errno_t (*answer_process)(call_t *); 147 147 } sysipc_ops_t; 148 148 -
kernel/generic/include/mm/page.h
rc832ab15 r5b0cf63 46 46 /** Operations to manipulate page mappings. */ 47 47 typedef struct { 48 void (* 49 void (* 50 bool (* 51 void (* 52 void (* 48 void (*mapping_insert)(as_t *, uintptr_t, uintptr_t, unsigned int); 49 void (*mapping_remove)(as_t *, uintptr_t); 50 bool (*mapping_find)(as_t *, uintptr_t, bool, pte_t *); 51 void (*mapping_update)(as_t *, uintptr_t, bool, pte_t *); 52 void (*mapping_make_global)(uintptr_t, size_t); 53 53 } page_mapping_operations_t; 54 54 -
kernel/generic/include/stacktrace.h
rc832ab15 r5b0cf63 49 49 50 50 typedef struct { 51 bool (* 52 bool (* 53 bool (* 54 bool (* 51 bool (*stack_trace_context_validate)(stack_trace_context_t *); 52 bool (*frame_pointer_prev)(stack_trace_context_t *, uintptr_t *); 53 bool (*return_address_get)(stack_trace_context_t *, uintptr_t *); 54 bool (*symbol_resolve)(uintptr_t, const char **, uintptr_t *); 55 55 } stack_trace_ops_t; 56 56 -
kernel/generic/include/symtab.h
rc832ab15 r5b0cf63 40 40 41 41 extern void symtab_print_search(const char *); 42 extern const char *symtab_hints_enum(const char *, const char **, void **);42 extern const char *symtab_hints_enum(const char *, const char **, void **); 43 43 44 44 #endif -
kernel/generic/include/synch/condvar.h
rc832ab15 r5b0cf63 65 65 int flags); 66 66 extern errno_t _condvar_wait_timeout_spinlock_impl(condvar_t *cv, spinlock_t *lock, 67 67 uint32_t usec, int flags); 68 68 extern errno_t _condvar_wait_timeout_irq_spinlock(condvar_t *cv, 69 69 irq_spinlock_t *irq_lock, uint32_t usec, int flags); 70 70 71 71 -
kernel/generic/include/synch/workqueue.h
rc832ab15 r5b0cf63 64 64 extern bool workq_global_enqueue(work_t *, work_func_t); 65 65 66 extern struct work_queue * 66 extern struct work_queue *workq_create(const char *); 67 67 extern void workq_destroy(struct work_queue *); 68 68 extern bool workq_init(struct work_queue *, const char *); -
kernel/generic/include/typedefs.h
rc832ab15 r5b0cf63 43 43 } atomic_t; 44 44 45 typedef void (* 45 typedef void (*function)(void); 46 46 47 47 typedef uint32_t container_id_t;
Note:
See TracChangeset
for help on using the changeset viewer.