Changeset 5b0cf63 in mainline
- Timestamp:
- 2018-01-25T13:42:08Z (8 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)
- Files:
-
- 86 edited
-
abi/include/abi/ipc/methods.h (modified) (1 diff)
-
abi/include/abi/proc/uarg.h (modified) (1 diff)
-
boot/arch/arm32/include/arch/arch.h (modified) (1 diff)
-
boot/arch/mips32/include/arch/arch.h (modified) (1 diff)
-
boot/arch/ppc32/include/arch/arch.h (modified) (1 diff)
-
boot/arch/riscv64/include/arch/mm.h (modified) (1 diff)
-
kernel/arch/amd64/include/arch/interrupt.h (modified) (1 diff)
-
kernel/arch/arm32/include/arch/elf.h (modified) (1 diff)
-
kernel/arch/arm32/include/arch/exception.h (modified) (1 diff)
-
kernel/arch/arm32/include/arch/mach/integratorcp/integratorcp.h (modified) (1 diff)
-
kernel/arch/arm32/include/arch/machine_func.h (modified) (1 diff)
-
kernel/arch/arm32/include/arch/types.h (modified) (1 diff)
-
kernel/arch/ia32/include/arch/interrupt.h (modified) (1 diff)
-
kernel/arch/ia32/include/arch/smp/smp.h (modified) (1 diff)
-
kernel/arch/mips32/include/arch/elf.h (modified) (1 diff)
-
kernel/arch/sparc64/include/arch/drivers/pci.h (modified) (1 diff)
-
kernel/arch/sparc64/include/arch/mm/cache_spec.h (modified) (1 diff)
-
kernel/arch/sparc64/include/arch/sun4v/md.h (modified) (1 diff)
-
kernel/doc/doxygroups.h (modified) (5 diffs)
-
kernel/genarch/include/genarch/ofw/ofw_tree.h (modified) (1 diff)
-
kernel/generic/include/adt/hash_table.h (modified) (2 diffs)
-
kernel/generic/include/align.h (modified) (1 diff)
-
kernel/generic/include/arch.h (modified) (1 diff)
-
kernel/generic/include/gsort.h (modified) (1 diff)
-
kernel/generic/include/ipc/sysipc_ops.h (modified) (6 diffs)
-
kernel/generic/include/mm/page.h (modified) (1 diff)
-
kernel/generic/include/stacktrace.h (modified) (1 diff)
-
kernel/generic/include/symtab.h (modified) (1 diff)
-
kernel/generic/include/synch/condvar.h (modified) (1 diff)
-
kernel/generic/include/synch/workqueue.h (modified) (1 diff)
-
kernel/generic/include/typedefs.h (modified) (1 diff)
-
uspace/app/bdsh/tok.h (modified) (1 diff)
-
uspace/drv/audio/hdaudio/spec/regs.h (modified) (1 diff)
-
uspace/drv/audio/sb16/dsp.h (modified) (1 diff)
-
uspace/drv/audio/sb16/mixer.h (modified) (1 diff)
-
uspace/drv/hid/atkbd/atkbd.h (modified) (1 diff)
-
uspace/lib/block/block.h (modified) (1 diff)
-
uspace/lib/c/arch/ia32/include/libarch/syscall.h (modified) (1 diff)
-
uspace/lib/c/include/adt/hash_table.h (modified) (2 diffs)
-
uspace/lib/c/include/async.h (modified) (1 diff)
-
uspace/lib/c/include/gsort.h (modified) (1 diff)
-
uspace/lib/c/include/ipc/ipc.h (modified) (1 diff)
-
uspace/lib/c/include/ipc/logger.h (modified) (1 diff)
-
uspace/lib/c/include/rtld/rtld_debug.h (modified) (1 diff)
-
uspace/lib/c/include/syscall.h (modified) (1 diff)
-
uspace/lib/c/include/time.h (modified) (1 diff)
-
uspace/lib/c/include/udebug.h (modified) (1 diff)
-
uspace/lib/c/include/vfs/inbox.h (modified) (1 diff)
-
uspace/lib/draw/surface.h (modified) (1 diff)
-
uspace/lib/drv/include/ahci_iface.h (modified) (1 diff)
-
uspace/lib/drv/include/audio_pcm_iface.h (modified) (1 diff)
-
uspace/lib/drv/include/ops/nic.h (modified) (1 diff)
-
uspace/lib/drv/include/ops/pio_window.h (modified) (1 diff)
-
uspace/lib/drv/include/usbhid_iface.h (modified) (1 diff)
-
uspace/lib/ext4/include/ext4/inode.h (modified) (1 diff)
-
uspace/lib/ext4/include/ext4/superblock.h (modified) (1 diff)
-
uspace/lib/fs/libfs.h (modified) (2 diffs)
-
uspace/lib/graph/graph.h (modified) (5 diffs)
-
uspace/lib/hound/include/hound/client.h (modified) (2 diffs)
-
uspace/lib/nic/include/nic_addr_db.h (modified) (1 diff)
-
uspace/lib/nic/include/nic_impl.h (modified) (1 diff)
-
uspace/lib/nic/include/nic_wol_virtues.h (modified) (1 diff)
-
uspace/lib/pcut/src/internal.h (modified) (2 diffs)
-
uspace/lib/posix/include/posix/float.h (modified) (1 diff)
-
uspace/lib/posix/include/posix/locale.h (modified) (1 diff)
-
uspace/lib/posix/include/posix/math.h (modified) (1 diff)
-
uspace/lib/posix/include/posix/pthread.h (modified) (1 diff)
-
uspace/lib/posix/include/posix/sys/mman.h (modified) (1 diff)
-
uspace/lib/softint/include/lltype.h (modified) (1 diff)
-
uspace/lib/usbhid/include/usb/hid/hiddescriptor.h (modified) (3 diffs)
-
uspace/lib/usbhid/include/usb/hid/hidparser.h (modified) (2 diffs)
-
uspace/lib/usbhid/include/usb/hid/hidpath.h (modified) (3 diffs)
-
uspace/lib/usbhid/include/usb/hid/hidreport.h (modified) (1 diff)
-
uspace/lib/usbhid/include/usb/hid/request.h (modified) (1 diff)
-
uspace/lib/usbhost/include/usb/host/usb_bus.h (modified) (1 diff)
-
uspace/srv/audio/hound/hound.h (modified) (2 diffs)
-
uspace/srv/audio/hound/hound_ctx.h (modified) (1 diff)
-
uspace/srv/bd/vbd/disk.h (modified) (1 diff)
-
uspace/srv/fs/exfat/exfat_bitmap.h (modified) (1 diff)
-
uspace/srv/fs/exfat/exfat_directory.h (modified) (2 diffs)
-
uspace/srv/fs/exfat/exfat_fat.h (modified) (1 diff)
-
uspace/srv/fs/fat/fat_directory.h (modified) (1 diff)
-
uspace/srv/fs/locfs/locfs.h (modified) (1 diff)
-
uspace/srv/hid/isdv4_tablet/isdv4.h (modified) (1 diff)
-
uspace/srv/hid/output/output.h (modified) (1 diff)
-
uspace/srv/hid/output/proto/vt100.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
abi/include/abi/ipc/methods.h
rc832ab15 r5b0cf63 108 108 * 109 109 * - ARG1 - source user page address 110 */ 110 */ 111 111 IPC_M_PAGE_IN, 112 112 -
abi/include/abi/proc/uarg.h
rc832ab15 r5b0cf63 44 44 size_t uspace_stack_size; 45 45 46 void (* uspace_thread_function)(void *);46 void (*uspace_thread_function)(void *); 47 47 void *uspace_thread_arg; 48 48 -
boot/arch/arm32/include/arch/arch.h
rc832ab15 r5b0cf63 55 55 56 56 #ifdef MACHINE_beagleboardxm 57 #define PA_OFFSET 057 #define PA_OFFSET 0 58 58 #elif defined MACHINE_beaglebone 59 #define PA_OFFSET 059 #define PA_OFFSET 0 60 60 #else 61 #define PA_OFFSET 0x8000000061 #define PA_OFFSET 0x80000000 62 62 #endif 63 63 64 64 #ifndef __ASM__ 65 #define PA2KA(addr) (((uintptr_t) (addr)) + PA_OFFSET)65 #define PA2KA(addr) (((uintptr_t) (addr)) + PA_OFFSET) 66 66 #else 67 #define PA2KA(addr) ((addr) + PA_OFFSET)67 #define PA2KA(addr) ((addr) + PA_OFFSET) 68 68 #endif 69 69 -
boot/arch/mips32/include/arch/arch.h
rc832ab15 r5b0cf63 56 56 57 57 #ifndef __ASM__ 58 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000)59 #define PA2KSEG(addr) (((uintptr_t) (addr)) + 0xa0000000)60 #define KA2PA(addr) (((uintptr_t) (addr)) - 0x80000000)61 #define KSEG2PA(addr) (((uintptr_t) (addr)) - 0xa0000000)58 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000) 59 #define PA2KSEG(addr) (((uintptr_t) (addr)) + 0xa0000000) 60 #define KA2PA(addr) (((uintptr_t) (addr)) - 0x80000000) 61 #define KSEG2PA(addr) (((uintptr_t) (addr)) - 0xa0000000) 62 62 #else 63 #define PA2KA(addr) ((addr) + 0x80000000)64 #define KSEG2PA(addr) ((addr) - 0xa0000000)63 #define PA2KA(addr) ((addr) + 0x80000000) 64 #define KSEG2PA(addr) ((addr) - 0xa0000000) 65 65 #endif 66 66 -
boot/arch/ppc32/include/arch/arch.h
rc832ab15 r5b0cf63 38 38 39 39 #ifndef __ASM__ 40 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000)40 #define PA2KA(addr) (((uintptr_t) (addr)) + 0x80000000) 41 41 #else 42 #define PA2KA(addr) ((addr) + 0x80000000)42 #define PA2KA(addr) ((addr) + 0x80000000) 43 43 #endif 44 44 -
boot/arch/riscv64/include/arch/mm.h
rc832ab15 r5b0cf63 34 34 35 35 #ifndef __ASM__ 36 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))37 #define PA2KA(x) (((uintptr_t) (x)) + UINT64_C(0xffff800000000000))36 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000)) 37 #define PA2KA(x) (((uintptr_t) (x)) + UINT64_C(0xffff800000000000)) 38 38 #else 39 #define KA2PA(x) ((x) - 0xffff800000000000)40 #define PA2KA(x) ((x) + 0xffff800000000000)39 #define KA2PA(x) ((x) - 0xffff800000000000) 40 #define PA2KA(x) ((x) + 0xffff800000000000) 41 41 #endif 42 42 -
kernel/arch/amd64/include/arch/interrupt.h
rc832ab15 r5b0cf63 83 83 #define VECTOR_SMP_CALL_IPI (IVT_FREEBASE + 3) 84 84 85 extern void (* disable_irqs_function)(uint16_t);86 extern void (* enable_irqs_function)(uint16_t);87 extern void (* eoi_function)(void);85 extern void (*disable_irqs_function)(uint16_t); 86 extern void (*enable_irqs_function)(uint16_t); 87 extern void (*eoi_function)(void); 88 88 extern const char *irqs_info; 89 89 -
kernel/arch/arm32/include/arch/elf.h
rc832ab15 r5b0cf63 40 40 41 41 #ifdef __BE__ 42 #define ELF_DATA_ENCODING ELFDATA2MSB42 #define ELF_DATA_ENCODING ELFDATA2MSB 43 43 #else 44 #define ELF_DATA_ENCODING ELFDATA2LSB44 #define ELF_DATA_ENCODING ELFDATA2LSB 45 45 #endif 46 46 -
kernel/arch/arm32/include/arch/exception.h
rc832ab15 r5b0cf63 45 45 46 46 #ifdef HIGH_EXCEPTION_VECTORS 47 #define EXC_BASE_ADDRESS 0xffff000047 #define EXC_BASE_ADDRESS 0xffff0000 48 48 #else 49 #define EXC_BASE_ADDRESS 0x049 #define EXC_BASE_ADDRESS 0x0 50 50 #endif 51 51 -
kernel/arch/arm32/include/arch/mach/integratorcp/integratorcp.h
rc832ab15 r5b0cf63 77 77 78 78 typedef struct { 79 uintptr_t uart;80 uintptr_t kbd_ctrl;81 uintptr_t kbd_stat;82 uintptr_t kbd_data;83 uintptr_t kbd_intstat;84 uintptr_t rtc;85 uintptr_t rtc1_load;86 uintptr_t rtc1_read;87 uintptr_t rtc1_ctl;88 uintptr_t rtc1_intrclr;89 uintptr_t rtc1_intrstat;90 uintptr_t rtc1_bgload;91 uintptr_t irqc;92 uintptr_t irqc_mask;93 uintptr_t irqc_unmask;94 uintptr_t vga;95 uintptr_t cmcr;96 uintptr_t sdramcr;79 uintptr_t uart; 80 uintptr_t kbd_ctrl; 81 uintptr_t kbd_stat; 82 uintptr_t kbd_data; 83 uintptr_t kbd_intstat; 84 uintptr_t rtc; 85 uintptr_t rtc1_load; 86 uintptr_t rtc1_read; 87 uintptr_t rtc1_ctl; 88 uintptr_t rtc1_intrclr; 89 uintptr_t rtc1_intrstat; 90 uintptr_t rtc1_bgload; 91 uintptr_t irqc; 92 uintptr_t irqc_mask; 93 uintptr_t irqc_unmask; 94 uintptr_t vga; 95 uintptr_t cmcr; 96 uintptr_t sdramcr; 97 97 } icp_hw_map_t; 98 98 -
kernel/arch/arm32/include/arch/machine_func.h
rc832ab15 r5b0cf63 108 108 extern size_t machine_get_irq_count(void); 109 109 110 extern const char * machine_get_platform_name(void);110 extern const char *machine_get_platform_name(void); 111 111 112 112 #endif -
kernel/arch/arm32/include/arch/types.h
rc832ab15 r5b0cf63 38 38 39 39 #ifndef DOXYGEN 40 #define ATTRIBUTE_PACKED __attribute__((packed))40 #define ATTRIBUTE_PACKED __attribute__((packed)) 41 41 #else 42 #define ATTRIBUTE_PACKED42 #define ATTRIBUTE_PACKED 43 43 #endif 44 44 -
kernel/arch/ia32/include/arch/interrupt.h
rc832ab15 r5b0cf63 85 85 #define VECTOR_SMP_CALL_IPI (IVT_FREEBASE + 3) 86 86 87 extern void (* disable_irqs_function)(uint16_t);88 extern void (* enable_irqs_function)(uint16_t);89 extern void (* eoi_function)(void);87 extern void (*disable_irqs_function)(uint16_t); 88 extern void (*enable_irqs_function)(uint16_t); 89 extern void (*eoi_function)(void); 90 90 extern const char *irqs_info; 91 91 -
kernel/arch/ia32/include/arch/smp/smp.h
rc832ab15 r5b0cf63 42 42 struct smp_config_operations { 43 43 /** Check whether a processor is enabled. */ 44 bool (* cpu_enabled)(size_t);44 bool (*cpu_enabled)(size_t); 45 45 46 46 /** Check whether a processor is BSP. */ -
kernel/arch/mips32/include/arch/elf.h
rc832ab15 r5b0cf63 39 39 40 40 #ifdef __BE__ 41 #define ELF_DATA_ENCODING ELFDATA2MSB41 #define ELF_DATA_ENCODING ELFDATA2MSB 42 42 #else 43 #define ELF_DATA_ENCODING ELFDATA2LSB43 #define ELF_DATA_ENCODING ELFDATA2LSB 44 44 #endif 45 45 -
kernel/arch/sparc64/include/arch/drivers/pci.h
rc832ab15 r5b0cf63 52 52 53 53 struct pci_operations { 54 void (* enable_interrupt)(pci_t *, int);55 void (* clear_interrupt)(pci_t *, int);54 void (*enable_interrupt)(pci_t *, int); 55 void (*clear_interrupt)(pci_t *, int); 56 56 }; 57 57 -
kernel/arch/sparc64/include/arch/mm/cache_spec.h
rc832ab15 r5b0cf63 47 47 48 48 #if defined (US) 49 #define DCACHE_SIZE (16 * 1024)49 #define DCACHE_SIZE (16 * 1024) 50 50 #elif defined (US3) 51 #define DCACHE_SIZE (64 * 1024)51 #define DCACHE_SIZE (64 * 1024) 52 52 #endif 53 53 -
kernel/arch/sparc64/include/arch/sun4v/md.h
rc832ab15 r5b0cf63 54 54 const char *md_get_node_name(md_node_t node); 55 55 bool md_get_integer_property(md_node_t node, const char *key, 56 uint64_t *result);56 uint64_t *result); 57 57 bool md_get_string_property(md_node_t node, const char *key, 58 const char **result);58 const char **result); 59 59 bool md_next_node(md_node_t *node, const char *name); 60 60 void md_init(void); -
kernel/doc/doxygroups.h
rc832ab15 r5b0cf63 117 117 * @ingroup mm 118 118 * @endcond 119 */ 119 */ 120 120 121 121 /** … … 193 193 * @ingroup ddi 194 194 * @endcond 195 */ 195 */ 196 196 197 197 /** … … 257 257 * @ingroup debug 258 258 * @endcond 259 */ 259 */ 260 260 261 261 /** … … 321 321 * @ingroup interrupt 322 322 * @endcond 323 */ 323 */ 324 324 325 325 /** … … 389 389 * @ingroup others 390 390 * @endcond 391 */ 391 */ 392 392 393 393 /** -
kernel/genarch/include/genarch/ofw/ofw_tree.h
rc832ab15 r5b0cf63 65 65 66 66 /* Walker for visiting OpenFirmware device tree nodes. */ 67 typedef bool (* ofw_tree_walker_t)(ofw_tree_node_t *, void *);67 typedef bool (*ofw_tree_walker_t)(ofw_tree_node_t *, void *); 68 68 69 69 extern void ofw_tree_init(ofw_tree_node_t *); -
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 hash_table_ops_t *);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 void *);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 (* 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);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 (* sort_cmp_t)(void *, void *, void *);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 (* request_preprocess)(call_t *, phone_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 (* request_forget)(call_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 (* request_process)(call_t *, answerbox_t *);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 (* answer_cleanup)(call_t *, ipc_data_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 (* answer_preprocess)(call_t *, ipc_data_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 (* answer_process)(call_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 (* 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);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 (* 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 *);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 uint32_t usec, int flags);67 uint32_t usec, int flags); 68 68 extern errno_t _condvar_wait_timeout_irq_spinlock(condvar_t *cv, 69 irq_spinlock_t *irq_lock, uint32_t usec, int flags);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 * workq_create(const char *);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 (* function)(void);45 typedef void (*function)(void); 46 46 47 47 typedef uint32_t container_id_t; -
uspace/app/bdsh/tok.h
rc832ab15 r5b0cf63 42 42 size_t byte_length; 43 43 size_t char_length; 44 token_type_t type;44 token_type_t type; 45 45 } token_t; 46 46 -
uspace/drv/audio/hdaudio/spec/regs.h
rc832ab15 r5b0cf63 64 64 /** Buffer Descriptor List Pointer - Lower */ 65 65 uint32_t bdpl; 66 /** Buffer Descriptor List Pointer - Upper */ 66 /** Buffer Descriptor List Pointer - Upper */ 67 67 uint32_t bdpu; 68 68 } hda_sdesc_regs_t; -
uspace/drv/audio/sb16/dsp.h
rc832ab15 r5b0cf63 82 82 errno_t sb_dsp_get_buffer_position(sb_dsp_t *dsp, size_t *size); 83 83 errno_t sb_dsp_test_format(sb_dsp_t *dsp, unsigned *channels, unsigned *rate, 84 pcm_sample_format_t *format);84 pcm_sample_format_t *format); 85 85 errno_t sb_dsp_get_buffer(sb_dsp_t *dsp, void **buffer, size_t *size); 86 86 errno_t sb_dsp_set_event_session(sb_dsp_t *dsp, async_sess_t *session); 87 async_sess_t * sb_dsp_get_event_session(sb_dsp_t *dsp);87 async_sess_t *sb_dsp_get_event_session(sb_dsp_t *dsp); 88 88 errno_t sb_dsp_release_buffer(sb_dsp_t *dsp); 89 89 errno_t sb_dsp_start_playback(sb_dsp_t *dsp, unsigned frames, -
uspace/drv/audio/sb16/mixer.h
rc832ab15 r5b0cf63 50 50 } sb_mixer_t; 51 51 52 const char * sb_mixer_type_str(sb_mixer_type_t type);52 const char *sb_mixer_type_str(sb_mixer_type_t type); 53 53 errno_t sb_mixer_init(sb_mixer_t *mixer, sb16_regs_t *regs, sb_mixer_type_t type); 54 54 int sb_mixer_get_control_item_count(const sb_mixer_t *mixer); -
uspace/drv/hid/atkbd/atkbd.h
rc832ab15 r5b0cf63 49 49 chardev_t *chardev; 50 50 /** Callback connection to client */ 51 async_sess_t *client_sess; 51 async_sess_t *client_sess; 52 52 /** Fibril retrieving and parsing data */ 53 53 fid_t polling_fibril; -
uspace/lib/block/block.h
rc832ab15 r5b0cf63 85 85 /** Link for placing the block into the free block list. */ 86 86 link_t free_link; 87 /** Link for placing the block into the block hash table. */ 87 /** Link for placing the block into the block hash table. */ 88 88 ht_link_t hash_link; 89 89 /** Buffer with the block data. */ -
uspace/lib/c/arch/ia32/include/libarch/syscall.h
rc832ab15 r5b0cf63 48 48 #define __syscall6 __syscall_slow 49 49 50 extern sysarg_t (* __syscall_fast_func)(const sysarg_t, const sysarg_t,50 extern sysarg_t (*__syscall_fast_func)(const sysarg_t, const sysarg_t, 51 51 const sysarg_t, const sysarg_t, const sysarg_t, const sysarg_t, 52 52 const syscall_t); -
uspace/lib/c/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 hash_table_ops_t *);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 void *);100 extern void hash_table_apply(hash_table_t *, bool (*)(ht_link_t *, void *), 101 void *); 102 102 103 103 -
uspace/lib/c/include/async.h
rc832ab15 r5b0cf63 34 34 35 35 #if ((defined(LIBC_IPC_H_)) && (!defined(LIBC_ASYNC_C_))) 36 #error Do not intermix low-level IPC interface and async framework36 #error Do not intermix low-level IPC interface and async framework 37 37 #endif 38 38 -
uspace/lib/c/include/gsort.h
rc832ab15 r5b0cf63 39 39 #include <stdbool.h> 40 40 41 typedef int (* sort_cmp_t)(void *, void *, void *);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 *); -
uspace/lib/c/include/ipc/ipc.h
rc832ab15 r5b0cf63 34 34 35 35 #if ((defined(LIBC_ASYNC_H_)) && (!defined(LIBC_ASYNC_C_))) 36 #error Do not intermix low-level IPC interface and async framework36 #error Do not intermix low-level IPC interface and async framework 37 37 #endif 38 38 -
uspace/lib/c/include/ipc/logger.h
rc832ab15 r5b0cf63 54 54 * Returns: error code 55 55 * Followed by: vfs_pass_handle() request. 56 */ 56 */ 57 57 LOGGER_CONTROL_SET_ROOT 58 58 } logger_control_request_t; -
uspace/lib/c/include/rtld/rtld_debug.h
rc832ab15 r5b0cf63 42 42 43 43 #ifdef RTLD_DEBUG 44 #define DPRINTF(format, ...) printf(format, ##__VA_ARGS__)44 #define DPRINTF(format, ...) printf(format, ##__VA_ARGS__) 45 45 #else 46 #define DPRINTF(format, ...) if (0) printf(format, ##__VA_ARGS__)46 #define DPRINTF(format, ...) if (0) printf(format, ##__VA_ARGS__) 47 47 #endif 48 48 -
uspace/lib/c/include/syscall.h
rc832ab15 r5b0cf63 41 41 42 42 #ifndef LIBARCH_SYSCALL_GENERIC 43 #error You cannot include this file directly43 #error You cannot include this file directly 44 44 #endif 45 45 -
uspace/lib/c/include/time.h
rc832ab15 r5b0cf63 31 31 */ 32 32 /** @file 33 */ 33 */ 34 34 35 35 #ifndef LIBC_TIME_H_ -
uspace/lib/c/include/udebug.h
rc832ab15 r5b0cf63 46 46 extern errno_t udebug_end(async_sess_t *); 47 47 extern errno_t udebug_set_evmask(async_sess_t *, udebug_evmask_t); 48 extern errno_t udebug_thread_read(async_sess_t *, void *, size_t , size_t *,48 extern errno_t udebug_thread_read(async_sess_t *, void *, size_t, size_t *, 49 49 size_t *); 50 50 extern errno_t udebug_name_read(async_sess_t *, void *, size_t, size_t *, -
uspace/lib/c/include/vfs/inbox.h
rc832ab15 r5b0cf63 29 29 /** @addtogroup libc 30 30 * @{ 31 */ 31 */ 32 32 33 33 /** -
uspace/lib/draw/surface.h
rc832ab15 r5b0cf63 60 60 extern void surface_get_damaged_region(surface_t *, surface_coord_t *, surface_coord_t *, 61 61 surface_coord_t *, surface_coord_t *); 62 extern void surface_add_damaged_region(surface_t *, surface_coord_t , surface_coord_t,63 surface_coord_t , surface_coord_t);62 extern void surface_add_damaged_region(surface_t *, surface_coord_t, surface_coord_t, 63 surface_coord_t, surface_coord_t); 64 64 extern void surface_reset_damaged_region(surface_t *); 65 65 -
uspace/lib/drv/include/ahci_iface.h
rc832ab15 r5b0cf63 41 41 #include <async.h> 42 42 43 extern async_sess_t *ahci_get_sess(devman_handle_t, char **);43 extern async_sess_t *ahci_get_sess(devman_handle_t, char **); 44 44 45 45 extern errno_t ahci_get_sata_device_name(async_sess_t *, size_t, char *); -
uspace/lib/drv/include/audio_pcm_iface.h
rc832ab15 r5b0cf63 120 120 errno_t (*release_buffer)(ddf_fun_t *); 121 121 errno_t (*set_event_session)(ddf_fun_t *, async_sess_t *); 122 async_sess_t * (*get_event_session)(ddf_fun_t *);122 async_sess_t *(*get_event_session)(ddf_fun_t *); 123 123 errno_t (*start_playback)(ddf_fun_t *, unsigned, 124 124 unsigned, unsigned, pcm_sample_format_t); -
uspace/lib/drv/include/ops/nic.h
rc832ab15 r5b0cf63 66 66 errno_t (*autoneg_restart)(ddf_fun_t *); 67 67 errno_t (*get_pause)(ddf_fun_t *, nic_result_t *, nic_result_t *, 68 uint16_t *);68 uint16_t *); 69 69 errno_t (*set_pause)(ddf_fun_t *, int, int, uint16_t); 70 70 -
uspace/lib/drv/include/ops/pio_window.h
rc832ab15 r5b0cf63 40 40 41 41 typedef struct { 42 pio_window_t *(* get_pio_window)(ddf_fun_t *);42 pio_window_t *(*get_pio_window)(ddf_fun_t *); 43 43 } pio_window_ops_t; 44 44 -
uspace/lib/drv/include/usbhid_iface.h
rc832ab15 r5b0cf63 81 81 * @return Error code. 82 82 */ 83 errno_t (*get_report_descriptor)(ddf_fun_t *fun, uint8_t *desc, 83 errno_t (*get_report_descriptor)(ddf_fun_t *fun, uint8_t *desc, 84 84 size_t size, size_t *act_size); 85 85 } usbhid_iface_t; -
uspace/lib/ext4/include/ext4/inode.h
rc832ab15 r5b0cf63 73 73 extern uint32_t ext4_inode_get_indirect_block(ext4_inode_t *, uint32_t); 74 74 extern void ext4_inode_set_indirect_block(ext4_inode_t *, uint32_t, uint32_t); 75 extern ext4_extent_header_t * ext4_inode_get_extent_header(ext4_inode_t *);75 extern ext4_extent_header_t *ext4_inode_get_extent_header(ext4_inode_t *); 76 76 extern bool ext4_inode_is_type(ext4_superblock_t *, ext4_inode_t *, uint32_t); 77 77 extern bool ext4_inode_has_flag(ext4_inode_t *, uint32_t); -
uspace/lib/ext4/include/ext4/superblock.h
rc832ab15 r5b0cf63 113 113 uint32_t); 114 114 115 extern const uint8_t * ext4_superblock_get_uuid(ext4_superblock_t *);115 extern const uint8_t *ext4_superblock_get_uuid(ext4_superblock_t *); 116 116 extern void ext4_superblock_set_uuid(ext4_superblock_t *, const uint8_t *); 117 extern const char * ext4_superblock_get_volume_name(ext4_superblock_t *);117 extern const char *ext4_superblock_get_volume_name(ext4_superblock_t *); 118 118 extern void ext4_superblock_set_volume_name(ext4_superblock_t *, const char *); 119 extern const char * ext4_superblock_get_last_mounted(ext4_superblock_t *);119 extern const char *ext4_superblock_get_last_mounted(ext4_superblock_t *); 120 120 extern void ext4_superblock_set_last_mounted(ext4_superblock_t *, const char *); 121 121 122 122 extern uint32_t ext4_superblock_get_last_orphan(ext4_superblock_t *); 123 123 extern void ext4_superblock_set_last_orphan(ext4_superblock_t *, uint32_t); 124 extern const uint32_t * ext4_superblock_get_hash_seed(ext4_superblock_t *);124 extern const uint32_t *ext4_superblock_get_hash_seed(ext4_superblock_t *); 125 125 extern void ext4_superblock_set_hash_seed(ext4_superblock_t *, 126 126 const uint32_t *); -
uspace/lib/fs/libfs.h
rc832ab15 r5b0cf63 43 43 44 44 typedef struct { 45 errno_t (* fsprobe)(service_id_t, vfs_fs_probe_info_t *);46 errno_t (* mounted)(service_id_t, const char *, fs_index_t *, aoff64_t *);47 errno_t (* unmounted)(service_id_t);48 errno_t (* read)(service_id_t, fs_index_t, aoff64_t, size_t *);49 errno_t (* write)(service_id_t, fs_index_t, aoff64_t, size_t *,45 errno_t (*fsprobe)(service_id_t, vfs_fs_probe_info_t *); 46 errno_t (*mounted)(service_id_t, const char *, fs_index_t *, aoff64_t *); 47 errno_t (*unmounted)(service_id_t); 48 errno_t (*read)(service_id_t, fs_index_t, aoff64_t, size_t *); 49 errno_t (*write)(service_id_t, fs_index_t, aoff64_t, size_t *, 50 50 aoff64_t *); 51 errno_t (* truncate)(service_id_t, fs_index_t, aoff64_t);52 errno_t (* close)(service_id_t, fs_index_t);53 errno_t (* destroy)(service_id_t, fs_index_t);54 errno_t (* sync)(service_id_t, fs_index_t);51 errno_t (*truncate)(service_id_t, fs_index_t, aoff64_t); 52 errno_t (*close)(service_id_t, fs_index_t); 53 errno_t (*destroy)(service_id_t, fs_index_t); 54 errno_t (*sync)(service_id_t, fs_index_t); 55 55 } vfs_out_ops_t; 56 56 … … 65 65 * argument holds the output argument. 66 66 */ 67 errno_t (* root_get)(fs_node_t **, service_id_t);68 errno_t (* match)(fs_node_t **, fs_node_t *, const char *);69 errno_t (* node_get)(fs_node_t **, service_id_t, fs_index_t);70 errno_t (* node_open)(fs_node_t *);71 errno_t (* node_put)(fs_node_t *);72 errno_t (* create)(fs_node_t **, service_id_t, int);73 errno_t (* destroy)(fs_node_t *);74 errno_t (* link)(fs_node_t *, fs_node_t *, const char *);75 errno_t (* unlink)(fs_node_t *, fs_node_t *, const char *);76 errno_t (* has_children)(bool *, fs_node_t *);67 errno_t (*root_get)(fs_node_t **, service_id_t); 68 errno_t (*match)(fs_node_t **, fs_node_t *, const char *); 69 errno_t (*node_get)(fs_node_t **, service_id_t, fs_index_t); 70 errno_t (*node_open)(fs_node_t *); 71 errno_t (*node_put)(fs_node_t *); 72 errno_t (*create)(fs_node_t **, service_id_t, int); 73 errno_t (*destroy)(fs_node_t *); 74 errno_t (*link)(fs_node_t *, fs_node_t *, const char *); 75 errno_t (*unlink)(fs_node_t *, fs_node_t *, const char *); 76 errno_t (*has_children)(bool *, fs_node_t *); 77 77 /* 78 78 * The second set of methods are usually mere getters that do not 79 79 * return an integer error code. 80 80 */ 81 fs_index_t (* index_get)(fs_node_t *);82 aoff64_t (* size_get)(fs_node_t *);83 unsigned int (* lnkcnt_get)(fs_node_t *);84 bool (* is_directory)(fs_node_t *);85 bool (* is_file)(fs_node_t *);86 service_id_t (* service_get)(fs_node_t *);87 errno_t (* size_block)(service_id_t, uint32_t *);88 errno_t (* total_block_count)(service_id_t, uint64_t *);89 errno_t (* free_block_count)(service_id_t, uint64_t *);81 fs_index_t (*index_get)(fs_node_t *); 82 aoff64_t (*size_get)(fs_node_t *); 83 unsigned int (*lnkcnt_get)(fs_node_t *); 84 bool (*is_directory)(fs_node_t *); 85 bool (*is_file)(fs_node_t *); 86 service_id_t (*service_get)(fs_node_t *); 87 errno_t (*size_block)(service_id_t, uint32_t *); 88 errno_t (*total_block_count)(service_id_t, uint64_t *); 89 errno_t (*free_block_count)(service_id_t, uint64_t *); 90 90 } libfs_ops_t; 91 91 -
uspace/lib/graph/graph.h
rc832ab15 r5b0cf63 54 54 * Device driver shall allocate any necessary internal structures 55 55 * specific for a claimed visualizer. */ 56 errno_t (* claim)(struct visualizer *vs);56 errno_t (*claim)(struct visualizer *vs); 57 57 58 58 /** … … 61 61 * the mode is set and if so it shall change its internal state 62 62 * accordingly (e.g. deallocate frame buffers). */ 63 errno_t (* yield)(struct visualizer *vs);63 errno_t (*yield)(struct visualizer *vs); 64 64 65 65 /** … … 72 72 * optimization), the pointer to the handle_damage operation can be 73 73 * changed at this point. */ 74 errno_t (* change_mode)(struct visualizer *vs, vslmode_t new_mode);74 errno_t (*change_mode)(struct visualizer *vs, vslmode_t new_mode); 75 75 76 76 /** … … 82 82 * shall be added to the coordinates and if necessary the result shall be 83 83 * wrapped around the edge of the backbuffer). */ 84 errno_t (* handle_damage)(struct visualizer *vs,84 errno_t (*handle_damage)(struct visualizer *vs, 85 85 sysarg_t x, sysarg_t y, sysarg_t width, sysarg_t height, 86 sysarg_t x_offset, sysarg_t y_offset);86 sysarg_t x_offset, sysarg_t y_offset); 87 87 88 88 /** … … 90 90 * case, device driver might enable power saving mode on the device 91 91 * corresponding to the visualizer. */ 92 errno_t (* suspend)(struct visualizer *vs);92 errno_t (*suspend)(struct visualizer *vs); 93 93 94 94 /** 95 95 * When upper layers detect activity on suspended visualizer, device 96 96 * driver shall disable power saving mode on the corresponding device. */ 97 errno_t (* wakeup)(struct visualizer *vs);97 errno_t (*wakeup)(struct visualizer *vs); 98 98 } visualizer_ops_t; 99 99 -
uspace/lib/hound/include/hound/client.h
rc832ab15 r5b0cf63 47 47 typedef struct hound_stream hound_stream_t; 48 48 49 hound_context_t * hound_context_create_playback(const char *name,49 hound_context_t *hound_context_create_playback(const char *name, 50 50 pcm_format_t format, size_t bsize); 51 hound_context_t * hound_context_create_capture(const char *name,51 hound_context_t *hound_context_create_capture(const char *name, 52 52 pcm_format_t format, size_t bsize); 53 53 void hound_context_destroy(hound_context_t *hound); … … 61 61 char ***names, size_t *count); 62 62 63 errno_t hound_context_connect_target(hound_context_t *hound, const char *target);64 errno_t hound_context_disconnect_target(hound_context_t *hound, const char *target);63 errno_t hound_context_connect_target(hound_context_t *hound, const char *target); 64 errno_t hound_context_disconnect_target(hound_context_t *hound, const char *target); 65 65 66 66 hound_stream_t *hound_stream_create(hound_context_t *hound, unsigned flags, -
uspace/lib/nic/include/nic_addr_db.h
rc832ab15 r5b0cf63 62 62 extern bool nic_addr_db_contains(const nic_addr_db_t *db, const uint8_t *addr); 63 63 extern void nic_addr_db_foreach(const nic_addr_db_t *db, 64 void (*func)(const uint8_t *, void *), void *arg);64 void (*func)(const uint8_t *, void *), void *arg); 65 65 66 66 #endif -
uspace/lib/nic/include/nic_impl.h
rc832ab15 r5b0cf63 82 82 83 83 extern void nic_default_handler_impl(ddf_fun_t *dev_fun, 84 ipc_callid_t callid, ipc_call_t *call);84 ipc_callid_t callid, ipc_call_t *call); 85 85 extern errno_t nic_open_impl(ddf_fun_t *fun); 86 86 extern void nic_close_impl(ddf_fun_t *fun); -
uspace/lib/nic/include/nic_wol_virtues.h
rc832ab15 r5b0cf63 78 78 extern errno_t nic_wol_virtues_verify(nic_wv_type_t, const void *, size_t); 79 79 extern errno_t nic_wol_virtues_list(const nic_wol_virtues_t *, nic_wv_type_t type, 80 size_t max_count, nic_wv_id_t *id_list, size_t *id_count);80 size_t max_count, nic_wv_id_t *id_list, size_t *id_count); 81 81 extern errno_t nic_wol_virtues_add(nic_wol_virtues_t *, nic_wol_virtue_t *); 82 82 extern nic_wol_virtue_t *nic_wol_virtues_remove(nic_wol_virtues_t *, 83 nic_wv_id_t);83 nic_wv_id_t); 84 84 extern const nic_wol_virtue_t *nic_wol_virtues_find(const nic_wol_virtues_t *, 85 nic_wv_id_t);85 nic_wv_id_t); 86 86 87 87 #endif -
uspace/lib/pcut/src/internal.h
rc832ab15 r5b0cf63 125 125 /** Test completed. */ 126 126 void (*test_done)(pcut_item_t *, int, const char *, const char *, 127 const char *);127 const char *); 128 128 }; 129 129 … … 135 135 void pcut_report_test_start(pcut_item_t *test); 136 136 void pcut_report_test_done(pcut_item_t *test, int outcome, 137 const char *error_message, const char *teardown_error_message,138 const char *extra_output);137 const char *error_message, const char *teardown_error_message, 138 const char *extra_output); 139 139 void pcut_report_test_done_unparsed(pcut_item_t *test, int outcome, 140 const char *unparsed_output, size_t unparsed_output_size);140 const char *unparsed_output, size_t unparsed_output_size); 141 141 void pcut_report_done(void); 142 142 -
uspace/lib/posix/include/posix/float.h
rc832ab15 r5b0cf63 41 41 /* define some standard C constants in terms of GCC built-ins */ 42 42 #ifdef __GNUC__ 43 #undef DBL_MANT_DIG44 #define DBL_MANT_DIG __DBL_MANT_DIG__45 #undef DBL_MIN_EXP46 #define DBL_MIN_EXP __DBL_MIN_EXP__47 #undef DBL_MAX_EXP48 #define DBL_MAX_EXP __DBL_MAX_EXP__49 #undef DBL_MAX50 #define DBL_MAX __DBL_MAX__51 #undef DBL_MAX_10_EXP52 #define DBL_MAX_10_EXP __DBL_MAX_10_EXP__53 #undef DBL_MIN_10_EXP54 #define DBL_MIN_10_EXP __DBL_MIN_10_EXP__55 #undef DBL_MIN56 #define DBL_MIN __DBL_MIN__57 #undef DBL_DIG58 #define DBL_DIG __DBL_DIG__59 #undef DBL_EPSILON60 #define DBL_EPSILON __DBL_EPSILON__61 #undef LDBL_EPSILON62 #define LDBL_EPSILON __LDBL_EPSILON__63 #undef FLT_RADIX64 #define FLT_RADIX __FLT_RADIX__65 #undef FLT_MIN66 #define FLT_MIN __FLT_MIN__67 #undef FLT_MAX68 #define FLT_MAX __FLT_MAX__69 #undef FLT_EPSILON70 #define FLT_EPSILON __FLT_EPSILON__71 #undef FLT_MANT_DIG72 #define FLT_MANT_DIG __FLT_MANT_DIG__73 #undef LDBL_MIN74 #define LDBL_MIN __LDBL_MIN__75 #undef LDBL_MAX76 #define LDBL_MAX __LDBL_MAX__77 #undef LDBL_MANT_DIG78 #define LDBL_MANT_DIG __LDBL_MANT_DIG__43 #undef DBL_MANT_DIG 44 #define DBL_MANT_DIG __DBL_MANT_DIG__ 45 #undef DBL_MIN_EXP 46 #define DBL_MIN_EXP __DBL_MIN_EXP__ 47 #undef DBL_MAX_EXP 48 #define DBL_MAX_EXP __DBL_MAX_EXP__ 49 #undef DBL_MAX 50 #define DBL_MAX __DBL_MAX__ 51 #undef DBL_MAX_10_EXP 52 #define DBL_MAX_10_EXP __DBL_MAX_10_EXP__ 53 #undef DBL_MIN_10_EXP 54 #define DBL_MIN_10_EXP __DBL_MIN_10_EXP__ 55 #undef DBL_MIN 56 #define DBL_MIN __DBL_MIN__ 57 #undef DBL_DIG 58 #define DBL_DIG __DBL_DIG__ 59 #undef DBL_EPSILON 60 #define DBL_EPSILON __DBL_EPSILON__ 61 #undef LDBL_EPSILON 62 #define LDBL_EPSILON __LDBL_EPSILON__ 63 #undef FLT_RADIX 64 #define FLT_RADIX __FLT_RADIX__ 65 #undef FLT_MIN 66 #define FLT_MIN __FLT_MIN__ 67 #undef FLT_MAX 68 #define FLT_MAX __FLT_MAX__ 69 #undef FLT_EPSILON 70 #define FLT_EPSILON __FLT_EPSILON__ 71 #undef FLT_MANT_DIG 72 #define FLT_MANT_DIG __FLT_MANT_DIG__ 73 #undef LDBL_MIN 74 #define LDBL_MIN __LDBL_MIN__ 75 #undef LDBL_MAX 76 #define LDBL_MAX __LDBL_MAX__ 77 #undef LDBL_MANT_DIG 78 #define LDBL_MANT_DIG __LDBL_MANT_DIG__ 79 79 #else 80 80 /* For something else than GCC, following definitions are provided. -
uspace/lib/posix/include/posix/locale.h
rc832ab15 r5b0cf63 39 39 40 40 #ifndef __locale_t_defined 41 #define __locale_t_defined42 typedef struct __posix_locale *locale_t;41 #define __locale_t_defined 42 typedef struct __posix_locale *locale_t; 43 43 #endif 44 44 -
uspace/lib/posix/include/posix/math.h
rc832ab15 r5b0cf63 43 43 44 44 #ifdef __GNUC__ 45 #define HUGE_VAL (__builtin_huge_val())45 #define HUGE_VAL (__builtin_huge_val()) 46 46 #endif 47 47 -
uspace/lib/posix/include/posix/pthread.h
rc832ab15 r5b0cf63 105 105 extern int pthread_setspecific(pthread_key_t, const void *); 106 106 extern int pthread_key_delete(pthread_key_t); 107 extern int pthread_key_create(pthread_key_t *, void (*)(void *));107 extern int pthread_key_create(pthread_key_t *, void (*)(void *)); 108 108 109 109 #endif -
uspace/lib/posix/include/posix/sys/mman.h
rc832ab15 r5b0cf63 56 56 #define PROT_EXEC AS_AREA_EXEC 57 57 58 extern void * 59 mmap(void *start, size_t length, int prot, int flags, int fd, 58 extern void *mmap(void *start, size_t length, int prot, int flags, int fd, 60 59 off_t offset); 61 60 extern int munmap(void *start, size_t length); -
uspace/lib/softint/include/lltype.h
rc832ab15 r5b0cf63 43 43 44 44 #ifdef __BE__ 45 #define LO 146 #define HI 045 #define LO 1 46 #define HI 0 47 47 #else 48 #define LO 049 #define HI 148 #define LO 0 49 #define HI 1 50 50 #endif 51 51 -
uspace/lib/usbhid/include/usb/hid/hiddescriptor.h
rc832ab15 r5b0cf63 44 44 45 45 errno_t usb_hid_parse_report_descriptor(usb_hid_report_t *report, 46 const uint8_t *data, size_t size);46 const uint8_t *data, size_t size); 47 47 48 48 void usb_hid_descriptor_print(usb_hid_report_t *report); … … 53 53 54 54 errno_t usb_hid_report_append_fields(usb_hid_report_t *report, 55 usb_hid_report_item_t *report_item);55 usb_hid_report_item_t *report_item); 56 56 57 usb_hid_report_description_t * usb_hid_report_find_description(58 const usb_hid_report_t *report, uint8_t report_id,59 usb_hid_report_type_t type);57 usb_hid_report_description_t *usb_hid_report_find_description( 58 const usb_hid_report_t *report, uint8_t report_id, 59 usb_hid_report_type_t type); 60 60 61 61 int usb_hid_report_parse_tag(uint8_t tag, uint8_t class, const uint8_t *data, 62 size_t item_size, usb_hid_report_item_t *report_item,63 usb_hid_report_path_t *usage_path);62 size_t item_size, usb_hid_report_item_t *report_item, 63 usb_hid_report_path_t *usage_path); 64 64 65 int usb_hid_report_parse_main_tag(uint8_t tag, const uint8_t *data, 66 size_t item_size, usb_hid_report_item_t *report_item,67 usb_hid_report_path_t *usage_path);65 int usb_hid_report_parse_main_tag(uint8_t tag, const uint8_t *data, 66 size_t item_size, usb_hid_report_item_t *report_item, 67 usb_hid_report_path_t *usage_path); 68 68 69 int usb_hid_report_parse_global_tag(uint8_t tag, const uint8_t *data, 70 size_t item_size, usb_hid_report_item_t *report_item,71 usb_hid_report_path_t *usage_path);69 int usb_hid_report_parse_global_tag(uint8_t tag, const uint8_t *data, 70 size_t item_size, usb_hid_report_item_t *report_item, 71 usb_hid_report_path_t *usage_path); 72 72 73 int usb_hid_report_parse_local_tag(uint8_t tag, const uint8_t *data, 74 size_t item_size, usb_hid_report_item_t *report_item,75 usb_hid_report_path_t *usage_path);73 int usb_hid_report_parse_local_tag(uint8_t tag, const uint8_t *data, 74 size_t item_size, usb_hid_report_item_t *report_item, 75 usb_hid_report_path_t *usage_path); 76 76 77 77 void usb_hid_descriptor_print_list(list_t *list); … … 80 80 81 81 usb_hid_report_item_t *usb_hid_report_item_clone( 82 const usb_hid_report_item_t *item);82 const usb_hid_report_item_t *item); 83 83 84 84 uint32_t usb_hid_report_tag_data_uint32(const uint8_t *data, size_t size); 85 85 86 usb_hid_report_path_t *usb_hid_report_path_try_insert(usb_hid_report_t *report,87 usb_hid_report_path_t *cmp_path);86 usb_hid_report_path_t *usb_hid_report_path_try_insert(usb_hid_report_t *report, 87 usb_hid_report_path_t *cmp_path); 88 88 89 89 -
uspace/lib/usbhid/include/usb/hid/hidparser.h
rc832ab15 r5b0cf63 48 48 */ 49 49 errno_t usb_hid_parse_report(const usb_hid_report_t *report, const uint8_t *data, 50 size_t size, uint8_t *report_id);50 size_t size, uint8_t *report_id); 51 51 52 52 /* 53 53 * Output report parser functions 54 54 */ 55 uint8_t *usb_hid_report_output(usb_hid_report_t *report, size_t *size, 56 uint8_t report_id);55 uint8_t *usb_hid_report_output(usb_hid_report_t *report, size_t *size, 56 uint8_t report_id); 57 57 58 58 void usb_hid_report_output_free(uint8_t *output); 59 59 60 60 size_t usb_hid_report_size(usb_hid_report_t *report, uint8_t report_id, 61 usb_hid_report_type_t type);61 usb_hid_report_type_t type); 62 62 63 63 size_t usb_hid_report_byte_size(usb_hid_report_t *report, uint8_t report_id, 64 usb_hid_report_type_t type);64 usb_hid_report_type_t type); 65 65 66 66 67 errno_t usb_hid_report_output_translate(usb_hid_report_t *report, 68 uint8_t report_id, uint8_t *buffer, size_t size);67 errno_t usb_hid_report_output_translate(usb_hid_report_t *report, 68 uint8_t report_id, uint8_t *buffer, size_t size); 69 69 70 70 … … 73 73 */ 74 74 usb_hid_report_field_t *usb_hid_report_get_sibling(usb_hid_report_t *report, 75 usb_hid_report_field_t *field, usb_hid_report_path_t *path,76 int flags, usb_hid_report_type_t type);75 usb_hid_report_field_t *field, usb_hid_report_path_t *path, 76 int flags, usb_hid_report_type_t type); 77 77 78 uint8_t usb_hid_get_next_report_id(usb_hid_report_t *report, 79 uint8_t report_id, usb_hid_report_type_t type);78 uint8_t usb_hid_get_next_report_id(usb_hid_report_t *report, 79 uint8_t report_id, usb_hid_report_type_t type); 80 80 81 81 #endif -
uspace/lib/usbhid/include/usb/hid/hidpath.h
rc832ab15 r5b0cf63 83 83 /** Usage page of report item. Zero when usage page can be changed. */ 84 84 uint32_t usage_page; 85 /** Usage of report item. Zero when usage can be changed. */ 85 /** Usage of report item. Zero when usage can be changed. */ 86 86 uint32_t usage; 87 87 … … 119 119 120 120 errno_t usb_hid_report_path_set_report_id(usb_hid_report_path_t *usage_path, 121 uint8_t report_id);121 uint8_t report_id); 122 122 123 errno_t usb_hid_report_path_append_item(usb_hid_report_path_t *usage_path, 124 int32_t usage_page, int32_t usage);123 errno_t usb_hid_report_path_append_item(usb_hid_report_path_t *usage_path, 124 int32_t usage_page, int32_t usage); 125 125 126 126 void usb_hid_report_remove_last_item(usb_hid_report_path_t *usage_path); … … 128 128 void usb_hid_report_null_last_item(usb_hid_report_path_t *usage_path); 129 129 130 void usb_hid_report_set_last_item(usb_hid_report_path_t *usage_path, 131 int32_t tag, int32_t data);130 void usb_hid_report_set_last_item(usb_hid_report_path_t *usage_path, 131 int32_t tag, int32_t data); 132 132 133 133 int usb_hid_report_compare_usage_path(usb_hid_report_path_t *report_path, 134 usb_hid_report_path_t *path, int flags);134 usb_hid_report_path_t *path, int flags); 135 135 136 136 usb_hid_report_path_t *usb_hid_report_path_clone( 137 usb_hid_report_path_t *usage_path);137 usb_hid_report_path_t *usage_path); 138 138 139 139 void usb_hid_print_usage_path(usb_hid_report_path_t *path); -
uspace/lib/usbhid/include/usb/hid/hidreport.h
rc832ab15 r5b0cf63 58 58 * usb_pipe_end_session() or usb_request_get_descriptor(). 59 59 */ 60 errno_t usb_hid_process_report_descriptor(usb_device_t *dev, 60 errno_t usb_hid_process_report_descriptor(usb_device_t *dev, 61 61 usb_hid_report_t *report, uint8_t **report_desc, size_t *report_size); 62 62 -
uspace/lib/usbhid/include/usb/hid/request.h
rc832ab15 r5b0cf63 47 47 usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size); 48 48 49 errno_t usbhid_req_set_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 49 errno_t usbhid_req_set_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 50 50 usb_hid_protocol_t protocol); 51 51 52 52 errno_t usbhid_req_set_idle(usb_pipe_t *ctrl_pipe, int iface_no, uint8_t duration); 53 53 54 errno_t usbhid_req_get_report(usb_pipe_t *ctrl_pipe, int iface_no, 55 usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size, 54 errno_t usbhid_req_get_report(usb_pipe_t *ctrl_pipe, int iface_no, 55 usb_hid_report_type_t type, uint8_t *buffer, size_t buf_size, 56 56 size_t *actual_size); 57 57 58 errno_t usbhid_req_get_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 58 errno_t usbhid_req_get_protocol(usb_pipe_t *ctrl_pipe, int iface_no, 59 59 usb_hid_protocol_t *protocol); 60 60 -
uspace/lib/usbhost/include/usb/host/usb_bus.h
rc832ab15 r5b0cf63 92 92 errno_t usb_bus_unregister_ep(usb_bus_t *instance, endpoint_t *ep); 93 93 94 endpoint_t * usb_bus_find_ep(usb_bus_t *instance,94 endpoint_t *usb_bus_find_ep(usb_bus_t *instance, 95 95 usb_address_t address, usb_endpoint_t ep, usb_direction_t direction); 96 96 -
uspace/srv/audio/hound/hound.h
rc832ab15 r5b0cf63 70 70 hound_ctx_t *hound_get_ctx_by_id(hound_t *hound, hound_context_id_t id); 71 71 72 errno_t hound_add_device(hound_t *hound, service_id_t id, const char *name);72 errno_t hound_add_device(hound_t *hound, service_id_t id, const char *name); 73 73 errno_t hound_add_source(hound_t *hound, audio_source_t *source); 74 74 errno_t hound_add_sink(hound_t *hound, audio_sink_t *sink); … … 79 79 errno_t hound_remove_source(hound_t *hound, audio_source_t *source); 80 80 errno_t hound_remove_sink(hound_t *hound, audio_sink_t *sink); 81 errno_t hound_connect(hound_t *hound, const char * source_name, const char*sink_name);82 errno_t hound_disconnect(hound_t *hound, const char * source_name, const char*sink_name);81 errno_t hound_connect(hound_t *hound, const char *source_name, const char *sink_name); 82 errno_t hound_disconnect(hound_t *hound, const char *source_name, const char *sink_name); 83 83 84 84 #endif -
uspace/srv/audio/hound/hound_ctx.h
rc832ab15 r5b0cf63 69 69 70 70 hound_ctx_stream_t *hound_ctx_create_stream(hound_ctx_t *ctx, int flags, 71 pcm_format_t format, size_t buffer_size);71 pcm_format_t format, size_t buffer_size); 72 72 void hound_ctx_destroy_stream(hound_ctx_stream_t *stream); 73 73 -
uspace/srv/bd/vbd/disk.h
rc832ab15 r5b0cf63 52 52 extern errno_t vbds_label_delete(service_id_t); 53 53 extern errno_t vbds_part_get_info(vbds_part_id_t, vbd_part_info_t *); 54 extern errno_t vbds_part_create(service_id_t, vbd_part_spec_t *, vbds_part_id_t *);54 extern errno_t vbds_part_create(service_id_t, vbd_part_spec_t *, vbds_part_id_t *); 55 55 extern errno_t vbds_part_delete(vbds_part_id_t); 56 56 extern errno_t vbds_suggest_ptype(service_id_t, label_pcnt_t, label_ptype_t *); -
uspace/srv/fs/exfat/exfat_bitmap.h
rc832ab15 r5b0cf63 42 42 struct exfat_bs; 43 43 44 extern errno_t exfat_bitmap_alloc_clusters(struct exfat_bs *, service_id_t, 44 extern errno_t exfat_bitmap_alloc_clusters(struct exfat_bs *, service_id_t, 45 45 exfat_cluster_t *, exfat_cluster_t); 46 extern errno_t exfat_bitmap_append_clusters(struct exfat_bs *, struct exfat_node *, 46 extern errno_t exfat_bitmap_append_clusters(struct exfat_bs *, struct exfat_node *, 47 47 exfat_cluster_t); 48 extern errno_t exfat_bitmap_free_clusters(struct exfat_bs *, struct exfat_node *, 48 extern errno_t exfat_bitmap_free_clusters(struct exfat_bs *, struct exfat_node *, 49 49 exfat_cluster_t); 50 extern errno_t exfat_bitmap_replicate_clusters(struct exfat_bs *, struct exfat_node *); 50 extern errno_t exfat_bitmap_replicate_clusters(struct exfat_bs *, struct exfat_node *); 51 51 52 52 extern errno_t exfat_bitmap_is_free(struct exfat_bs *, service_id_t, exfat_cluster_t); 53 53 extern errno_t exfat_bitmap_set_cluster(struct exfat_bs *, service_id_t, exfat_cluster_t); 54 extern errno_t exfat_bitmap_clear_cluster(struct exfat_bs *, service_id_t, 54 extern errno_t exfat_bitmap_clear_cluster(struct exfat_bs *, service_id_t, 55 55 exfat_cluster_t); 56 56 57 extern errno_t exfat_bitmap_set_clusters(struct exfat_bs *, service_id_t, 57 extern errno_t exfat_bitmap_set_clusters(struct exfat_bs *, service_id_t, 58 58 exfat_cluster_t, exfat_cluster_t); 59 extern errno_t exfat_bitmap_clear_clusters(struct exfat_bs *, service_id_t, 59 extern errno_t exfat_bitmap_clear_clusters(struct exfat_bs *, service_id_t, 60 60 exfat_cluster_t, exfat_cluster_t); 61 61 -
uspace/srv/fs/exfat/exfat_directory.h
rc832ab15 r5b0cf63 29 29 /** @addtogroup fs 30 30 * @{ 31 */ 31 */ 32 32 33 33 #ifndef EXFAT_EXFAT_DIRECTORY_H_ … … 66 66 extern errno_t exfat_directory_find(exfat_directory_t *, exfat_dentry_clsf_t, 67 67 exfat_dentry_t **); 68 extern errno_t exfat_directory_find_continue(exfat_directory_t *, 68 extern errno_t exfat_directory_find_continue(exfat_directory_t *, 69 69 exfat_dentry_clsf_t, exfat_dentry_t **); 70 70 -
uspace/srv/fs/exfat/exfat_fat.h
rc832ab15 r5b0cf63 61 61 exfat_cluster_walk((bs), (sid), (fc), NULL, (numc), (uint32_t) -1) 62 62 63 extern errno_t exfat_cluster_walk(struct exfat_bs *, service_id_t, 63 extern errno_t exfat_cluster_walk(struct exfat_bs *, service_id_t, 64 64 exfat_cluster_t, exfat_cluster_t *, uint32_t *, uint32_t); 65 65 extern errno_t exfat_block_get(block_t **, struct exfat_bs *, struct exfat_node *, -
uspace/srv/fs/fat/fat_directory.h
rc832ab15 r5b0cf63 29 29 /** @addtogroup fs 30 30 * @{ 31 */ 31 */ 32 32 33 33 #ifndef FAT_FAT_DIRECTORY_H_ -
uspace/srv/fs/locfs/locfs.h
rc832ab15 r5b0cf63 29 29 /** @addtogroup fs 30 30 * @{ 31 */ 31 */ 32 32 33 33 #ifndef LOCFS_LOCFS_H_ -
uspace/srv/hid/isdv4_tablet/isdv4.h
rc832ab15 r5b0cf63 74 74 75 75 typedef enum { 76 UNKNOWN, PRESS, RELEASE, PROXIMITY_IN, PROXIMITY_OUT, MOVE 76 UNKNOWN, 77 PRESS, 78 RELEASE, 79 PROXIMITY_IN, 80 PROXIMITY_OUT, 81 MOVE 77 82 } isdv4_event_type_t; 78 83 79 84 typedef enum { 80 STYLUS_TIP, STYLUS_ERASER, TOUCH 85 STYLUS_TIP, 86 STYLUS_ERASER, 87 TOUCH 81 88 } isdv4_source_type_t; 82 89 -
uspace/srv/hid/output/output.h
rc832ab15 r5b0cf63 42 42 43 43 typedef struct { 44 errno_t (* yield)(struct outdev *dev);45 errno_t (* claim)(struct outdev *dev);44 errno_t (*yield)(struct outdev *dev); 45 errno_t (*claim)(struct outdev *dev); 46 46 47 void (* get_dimensions)(struct outdev *dev, sysarg_t *cols,47 void (*get_dimensions)(struct outdev *dev, sysarg_t *cols, 48 48 sysarg_t *rows); 49 console_caps_t (* get_caps)(struct outdev *dev);49 console_caps_t (*get_caps)(struct outdev *dev); 50 50 51 void (* cursor_update)(struct outdev *dev, sysarg_t prev_col,51 void (*cursor_update)(struct outdev *dev, sysarg_t prev_col, 52 52 sysarg_t prev_row, sysarg_t col, sysarg_t row, bool visible); 53 void (* char_update)(struct outdev *dev, sysarg_t col, sysarg_t row);54 void (* flush)(struct outdev *dev);53 void (*char_update)(struct outdev *dev, sysarg_t col, sysarg_t row); 54 void (*flush)(struct outdev *dev); 55 55 } outdev_ops_t; 56 56 -
uspace/srv/hid/output/proto/vt100.h
rc832ab15 r5b0cf63 35 35 #include <io/charfield.h> 36 36 37 typedef void (* vt100_putchar_t)(wchar_t ch);38 typedef void (* vt100_control_puts_t)(const char *str);39 typedef void (* vt100_flush_t)(void);37 typedef void (*vt100_putchar_t)(wchar_t ch); 38 typedef void (*vt100_control_puts_t)(const char *str); 39 typedef void (*vt100_flush_t)(void); 40 40 41 41 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.
