/lk-master/lib/acpi_lite/include/lib/acpi_lite/ |
A D | structs.h | 35 static_assert(sizeof(struct acpi_rsdp) == 36, ""); 54 static_assert(sizeof(struct acpi_sdt_header) == 36, ""); 68 static_assert(sizeof(struct acpi_rsdt_xsdt) == 36, ""); 80 static_assert(sizeof(struct acpi_generic_address) == 12, ""); 100 static_assert(sizeof(struct acpi_madt_table) == 44, ""); 122 static_assert(sizeof(struct acpi_hpet_table) == 56, ""); 133 static_assert(sizeof(struct acpi_srat_table) == 48, ""); 239 static_assert(sizeof(struct acpi_dbg2_table) == 44, ""); 255 static_assert(sizeof(struct acpi_dbg2_device) == 22, ""); 277 static_assert(sizeof(struct acpi_mcfg_table) == 44, ""); [all …]
|
/lk-master/arch/riscv/include/arch/riscv/ |
A D | iframe.h | 55 static_assert(sizeof(struct riscv_short_iframe) % 16 == 0, ""); 56 static_assert(sizeof(struct riscv_short_iframe) == RISCV_IFRAME_LEN, ""); 58 static_assert(offsetof(struct riscv_short_iframe, epc) == RISCV_IFRAME_EPC, ""); 59 static_assert(offsetof(struct riscv_short_iframe, status) == RISCV_IFRAME_STATUS, ""); 60 static_assert(offsetof(struct riscv_short_iframe, ra) == RISCV_IFRAME_RA, ""); 61 static_assert(offsetof(struct riscv_short_iframe, a0) == RISCV_IFRAME_A_BASE, ""); 62 static_assert(offsetof(struct riscv_short_iframe, t0) == RISCV_IFRAME_T_BASE, ""); 63 static_assert(offsetof(struct riscv_short_iframe, gp) == RISCV_IFRAME_GP, ""); 64 static_assert(offsetof(struct riscv_short_iframe, sp) == RISCV_IFRAME_SP, "");
|
/lk-master/external/platform/pico/rp2_common/hardware_clocks/ |
A D | clocks.c | 352 static_assert(CLOCKS_CLK_GPOUT0_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1 == (CLOCKS_CLK_GPOUT0_CTRL_AUXSRC_VA… 353 static_assert(CLOCKS_CLK_GPOUT1_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1 == (CLOCKS_CLK_GPOUT1_CTRL_AUXSRC_VA… 354 static_assert(CLOCKS_CLK_GPOUT2_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1 == (CLOCKS_CLK_GPOUT2_CTRL_AUXSRC_VA… 355 static_assert(CLOCKS_CLK_GPOUT3_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1 == (CLOCKS_CLK_GPOUT3_CTRL_AUXSRC_VA… 356 static_assert(CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1 == (CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE… 357 static_assert(CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1 == (CLOCKS_CLK_SYS_CTRL_AUXSRC_VALUE… 358 static_assert(CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1 == (CLOCKS_CLK_PERI_CTRL_AUXSRC_VALU… 359 static_assert(CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1 == (CLOCKS_CLK_USB_CTRL_AUXSRC_VALUE… 360 static_assert(CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1 == (CLOCKS_CLK_ADC_CTRL_AUXSRC_VALUE… 361 static_assert(CLOCKS_CLK_RTC_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1 == (CLOCKS_CLK_RTC_CTRL_AUXSRC_VALUE…
|
/lk-master/external/platform/pico/rp2_common/hardware_dma/ |
A D | dma.c | 16 static_assert(__builtin_offsetof(dma_hw_t, ch[0].ctrl_trig) == DMA_CH0_CTRL_TRIG_OFFSET, "hw mismat… 17 static_assert(__builtin_offsetof(dma_hw_t, ch[1].ctrl_trig) == DMA_CH1_CTRL_TRIG_OFFSET, "hw mismat… 19 static_assert(NUM_DMA_CHANNELS <= 16, "");
|
/lk-master/external/platform/pico/common/boot_picoboot/include/boot/ |
A D | picoboot.h | 113 static_assert(32 == sizeof(struct picoboot_cmd), "picoboot_cmd must be 32 bytes big"); 123 static_assert(16 == sizeof(struct picoboot_cmd_status), "picoboot_cmd_status must be 16 bytes big");
|
/lk-master/lib/libc/include/ |
A D | assert.h | 77 #if !defined(__cplusplus) && !defined(static_assert) 78 #define static_assert(e, msg) _Static_assert(e, msg) macro
|
/lk-master/external/platform/pico/rp2_common/hardware_base/include/hardware/ |
A D | address_mapped.h | 51 #define check_hw_layout(type, member, offset) static_assert(offsetof(type, member) == (offset), "hw… 52 #define check_hw_size(type, size) static_assert(sizeof(type) == (size), "hw size mismatch")
|
/lk-master/external/platform/pico/rp2040/hardware_structs/include/hardware/structs/ |
A D | usb.h | 81 static_assert(sizeof(usb_device_dpram_t) == USB_DPRAM_MAX, ""); 110 static_assert(sizeof(usb_host_dpram_t) == USB_DPRAM_MAX, "");
|
/lk-master/external/platform/pico/rp2_common/pico_unique_id/ |
A D | unique_id.c | 10 static_assert(PICO_UNIQUE_BOARD_ID_SIZE_BYTES == FLASH_UNIQUE_ID_SIZE_BYTES, "Board ID size must ma…
|
/lk-master/external/platform/pico/common/pico_sync/ |
A D | critical_section.c | 10 static_assert(sizeof(critical_section_t) == 8, "");
|
A D | mutex.c | 11 static_assert(sizeof(mutex_t) == 8, "");
|
/lk-master/external/platform/nrfx/mdk/ |
A D | compiler_abstraction.h | 145 #define NRF_STATIC_ASSERT(cond, msg) static_assert(cond, msg) 217 #define NRF_STATIC_ASSERT(cond, msg) static_assert(cond, msg)
|
/lk-master/external/platform/pico/common/boot_uf2/include/boot/ |
A D | uf2.h | 44 static_assert(sizeof(struct uf2_block) == 512, "uf2_block not sector sized");
|
/lk-master/external/platform/pico/rp2_common/hardware_sync/ |
A D | sync.c | 10 static_assert(PICO_SPINLOCK_ID_STRIPED_LAST >= PICO_SPINLOCK_ID_STRIPED_FIRST, "");
|
/lk-master/external/platform/pico/rp2_common/hardware_interp/ |
A D | interp.c | 15 static_assert(NUM_DMA_CHANNELS <= 16, "");
|
/lk-master/external/platform/pico/rp2_common/pico_stdio_usb/ |
A D | stdio_usb.c | 16 static_assert(PICO_STDIO_USB_LOW_PRIORITY_IRQ > RTC_IRQ, ""); // note RTC_IRQ is currently the last…
|
/lk-master/external/platform/pico/rp2_common/pico_platform/include/pico/ |
A D | platform.h | 106 #define __check_type_compatible(type_a, type_b) static_assert(__builtin_types_compatible_p(type_a, …
|
/lk-master/external/platform/pico/rp2_common/hardware_divider/include/hardware/ |
A D | divider.h | 79 static_assert(SIO_DIV_CSR_READY_BITS == 1, ""); in hw_divider_wait_ready()
|
/lk-master/external/platform/pico/rp2_common/hardware_pio/ |
A D | pio.c | 20 static_assert(NUM_PIO_STATE_MACHINES * NUM_PIOS <= 8, ""); 59 static_assert(PIO_INSTRUCTION_COUNT <= 32, "");
|
/lk-master/external/platform/pico/rp2_common/hardware_irq/ |
A D | irq.c | 69 static_assert(PICO_MAX_SHARED_IRQ_HANDLERS >= 1 && PICO_MAX_SHARED_IRQ_HANDLERS < 0x7f, ""); 163 static_assert(sizeof(struct irq_handler_chain_slot) == 12, ""); in slot_diff()
|
/lk-master/external/platform/pico/rp2_common/hardware_flash/ |
A D | flash.c | 168 static_assert(FLASH_UNIQUE_ID_SIZE_BYTES == FLASH_RUID_DATA_BYTES, "");
|
/lk-master/external/platform/pico/rp2_common/hardware_timer/ |
A D | timer.c | 18 static_assert(NUM_TIMERS <= 4, "");
|
/lk-master/external/platform/pico/rp2_common/pico_multicore/ |
A D | multicore.c | 157 static_assert(SIO_IRQ_PROC1 == SIO_IRQ_PROC0 + 1, "");
|
/lk-master/top/include/lk/ |
A D | compiler.h | 104 #define STATIC_ASSERT(e) static_assert(e, #e)
|
/lk-master/arch/riscv/ |
A D | mmu.cpp | 103 static_assert(kernel_end_index >= kernel_start_index && kernel_end_index < RISCV_MMU_PT_ENTRIES, ""… 104 static_assert(kernel_end_index - kernel_start_index + 1 == RISCV_MMU_KERNEL_PT_ENTRIES, "");
|