blob: f4e172377a105965cf1f29ae8de63533f93cdbe4 [file] [log] [blame]
/*
* Copyright 2018, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(DATA61_BSD)
*/
#pragma once
#include <utils/attribute.h>
#define UD_INSTRUCTION_SIZE 4
static inline void ALWAYS_INLINE utils_undefined_instruction(void) {
asm volatile (".word 0x00000000");
}