forked from Imagelibrary/seL4
Device-generation: Add __ASSEMBLER__ guards
This commit is contained in:
committed by
Anna Lyons
parent
4895368ac5
commit
16f55f8e4b
@@ -772,6 +772,8 @@ HEADER_TEMPLATE = """
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
|
||||
static const kernel_frame_t BOOT_RODATA kernel_devices[] = {
|
||||
{% for reg in kernel %}{{ reg.get_macro_string() }}
|
||||
{ /* {{ ' '.join(sorted(reg.names)) }} */
|
||||
@@ -808,6 +810,8 @@ static const p_region_t BOOT_RODATA dev_p_regs[] = {
|
||||
{%- endfor %}
|
||||
};
|
||||
|
||||
#endif /* !__ASSEMBLER__ */
|
||||
|
||||
/* INTERRUPTS */
|
||||
{%- for irq in interrupts %}
|
||||
{%- if irq.macro %}
|
||||
|
||||
Reference in New Issue
Block a user