Home
last modified time | relevance | path

Searched refs:STATIC_ASSERT (Results 1 – 23 of 23) sorted by relevance

/lk-master/platform/cc13xx/include/platform/
A Dti-rf.h309 STATIC_ASSERT(sizeof(rf_queue_t) == 8);
310 STATIC_ASSERT(sizeof(rf_queue_entry_t) == 12);
311 STATIC_ASSERT(sizeof(rf_op_basic_t) == 14);
312 STATIC_ASSERT(sizeof(rf_op_radio_setup_t) == 24);
313 STATIC_ASSERT(sizeof(rf_op_fs_t) == 24);
314 STATIC_ASSERT(sizeof(rf_op_fs_power_t) == 20);
315 STATIC_ASSERT(sizeof(rf_op_sync_rat_t) == 20);
316 STATIC_ASSERT(sizeof(rf_op_count_t) == 16);
317 STATIC_ASSERT(sizeof(rf_op_pattern_check_t) == 32);
318 STATIC_ASSERT(sizeof(rf_op_fw_info_t) == 10);
A Dti-rf-prop.h150 STATIC_ASSERT(sizeof(rf_op_prop_tx_t) == 24);
151 STATIC_ASSERT(sizeof(rf_op_prop_tx_adv_t) == 32);
152 STATIC_ASSERT(sizeof(rf_op_prop_rx_t) == 36);
154 STATIC_ASSERT(sizeof(rf_prop_output_t) == 12);
/lk-master/kernel/include/kernel/
A Dvm.h59 STATIC_ASSERT(__offsetof(struct mmu_initial_mapping, phys) == __MMU_INITIAL_MAPPING_PHYS_OFFSET);
60 STATIC_ASSERT(__offsetof(struct mmu_initial_mapping, virt) == __MMU_INITIAL_MAPPING_VIRT_OFFSET);
61 STATIC_ASSERT(__offsetof(struct mmu_initial_mapping, size) == __MMU_INITIAL_MAPPING_SIZE_OFFSET);
62 STATIC_ASSERT(__offsetof(struct mmu_initial_mapping, flags) == __MMU_INITIAL_MAPPING_FLAGS_OFFSET);
63 STATIC_ASSERT(sizeof(struct mmu_initial_mapping) == __MMU_INITIAL_MAPPING_SIZE);
88 STATIC_ASSERT(KERNEL_ASPACE_BASE + (KERNEL_ASPACE_SIZE - 1) > KERNEL_ASPACE_BASE);
102 STATIC_ASSERT(USER_ASPACE_BASE + (USER_ASPACE_SIZE - 1) > USER_ASPACE_BASE);
A Dthread.h213 STATIC_ASSERT((e) < MAX_TLS_ENTRY); \
/lk-master/top/include/lk/
A Dcompiler.h104 #define STATIC_ASSERT(e) static_assert(e, #e) macro
106 #define STATIC_ASSERT(e) _Static_assert(e, #e) macro
109 #define STATIC_ASSERT(e) extern char (*ct_assert(void)) [sizeof(char[1 - 2*!(e)])] macro
/lk-master/target/dartuinoP0/include/target/display/
A DLS013B7DH03.h19 STATIC_ASSERT((MLCD_WIDTH & 0x3) == 0);
A DLS013B7DH06.h19 STATIC_ASSERT(((MLCD_WIDTH * 3) & 0x3) == 0);
A DLS027B7DH01.h19 STATIC_ASSERT((MLCD_WIDTH & 0x3) == 0);
/lk-master/dev/virtio/
A Dvirtio_priv.h41 STATIC_ASSERT(sizeof(struct virtio_mmio_config) == 0x100);
/lk-master/platform/lpc15xx/
A Ddebug.c25 STATIC_ASSERT(DEBUG_UART == LPC_USART0);
/lk-master/platform/stellaris/
A Ddebug.c62 STATIC_ASSERT(DEBUG_UART == UART0_BASE); in stellaris_debug_early_init()
/lk-master/external/platform/nrfx/templates/
A Dnrfx_glue.h79 #define NRFX_STATIC_ASSERT(expression) STATIC_ASSERT(expression)
/lk-master/arch/arm64/
A Dfpu.c31 STATIC_ASSERT(sizeof(fpstate->regs) == 16 * 32); in arm64_fpu_load_state()
A Dmmu.c23 STATIC_ASSERT(((long)KERNEL_BASE >> MMU_KERNEL_SIZE_SHIFT) == -1);
24 STATIC_ASSERT(((long)KERNEL_ASPACE_BASE >> MMU_KERNEL_SIZE_SHIFT) == -1);
25 STATIC_ASSERT(MMU_KERNEL_SIZE_SHIFT <= 48);
26 STATIC_ASSERT(MMU_KERNEL_SIZE_SHIFT >= 25);
/lk-master/platform/zynq/
A Dplatform.c26 STATIC_ASSERT(SDRAM_SIZE != 0);
205 STATIC_ASSERT(IS_ALIGNED(SDRAM_BASE, MB));
206 STATIC_ASSERT(IS_ALIGNED(SDRAM_SIZE, MB));
/lk-master/arch/mips/include/arch/
A Dmips.h83 STATIC_ASSERT(sizeof(struct mips_iframe) == 88);
/lk-master/arch/mips/
A Darch.c50 STATIC_ASSERT(VECTORED_OFFSET_SHIFT == 32); in arch_early_init()
/lk-master/dev/virtio/block/
A Dvirtio-block.c39 STATIC_ASSERT(sizeof(struct virtio_blk_config) == 24);
46 STATIC_ASSERT(sizeof(struct virtio_blk_req) == 16);
/lk-master/dev/virtio/net/
A Dvirtio-net.c31 STATIC_ASSERT(sizeof(struct virtio_net_config) == 10);
42 STATIC_ASSERT(sizeof(struct virtio_net_hdr) == 12);
/lk-master/platform/zynq/include/platform/
A Dzynq.h348 STATIC_ASSERT(offsetof(struct slcr_regs, SCL) == 0x0);
349 STATIC_ASSERT(offsetof(struct slcr_regs, DDRIOB_DCI_STATUS) == 0xb74);
/lk-master/lib/fs/spifs/
A Dspifs.c497 STATIC_ASSERT(sizeof(toc_header_t) == SPIFS_ENTRY_LENGTH); in spifs_format()
498 STATIC_ASSERT(sizeof(toc_file_t) == SPIFS_ENTRY_LENGTH); in spifs_format()
499 STATIC_ASSERT(sizeof(toc_footer_t) == SPIFS_ENTRY_LENGTH); in spifs_format()
/lk-master/lib/heap/cmpctmalloc/
A Dcmpctmalloc.c43 STATIC_ASSERT(IS_PAGE_ALIGNED(HEAP_GROW_SIZE));
52 STATIC_ASSERT(HEAP_GROW_SIZE <= (1u << HEAP_ALLOC_VIRTUAL_BITS));
/lk-master/kernel/
A Dthread.c57 STATIC_ASSERT(NUM_PRIORITIES <= sizeof(run_queue_bitmap) * 8);
567 STATIC_ASSERT((THREAD_STACK_PADDING_SIZE % sizeof(uint32_t)) == 0); in thread_resched()

Completed in 50 milliseconds