|
| 1 | +/**************************************************************************** |
| 2 | + * arch/tricore/include/tc397/irq.h |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: Apache-2.0 |
| 5 | + * |
| 6 | + * Licensed to the Apache Software Foundation (ASF) under one or more |
| 7 | + * contributor license agreements. See the NOTICE file distributed with |
| 8 | + * this work for additional information regarding copyright ownership. The |
| 9 | + * ASF licenses this file to you under the Apache License, Version 2.0 (the |
| 10 | + * "License"); you may not use this file except in compliance with the |
| 11 | + * License. You may obtain a copy of the License at |
| 12 | + * |
| 13 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | + * |
| 15 | + * Unless required by applicable law or agreed to in writing, software |
| 16 | + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 17 | + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 18 | + * License for the specific language governing permissions and limitations |
| 19 | + * under the License. |
| 20 | + * |
| 21 | + ****************************************************************************/ |
| 22 | + |
| 23 | +/* This file should never be included directly but, rather, |
| 24 | + * only indirectly through nuttx/irq.h |
| 25 | + */ |
| 26 | + |
| 27 | +#ifndef __ARCH_TRICORE_INCLUDE_TC397_IRQ_H |
| 28 | +#define __ARCH_TRICORE_INCLUDE_TC397_IRQ_H |
| 29 | + |
| 30 | +/**************************************************************************** |
| 31 | + * Included Files |
| 32 | + ****************************************************************************/ |
| 33 | + |
| 34 | +/**************************************************************************** |
| 35 | + * Pre-processor Prototypes |
| 36 | + ****************************************************************************/ |
| 37 | + |
| 38 | +/**************************************************************************** |
| 39 | + * Public Types |
| 40 | + ****************************************************************************/ |
| 41 | + |
| 42 | +/**************************************************************************** |
| 43 | + * Inline functions |
| 44 | + ****************************************************************************/ |
| 45 | + |
| 46 | +/**************************************************************************** |
| 47 | + * Public Data |
| 48 | + ****************************************************************************/ |
| 49 | + |
| 50 | +/**************************************************************************** |
| 51 | + * Public Function Prototypes |
| 52 | + ****************************************************************************/ |
| 53 | + |
| 54 | +#ifndef __ASSEMBLY__ |
| 55 | +#ifdef __cplusplus |
| 56 | +#define EXTERN extern "C" |
| 57 | +extern "C" |
| 58 | +{ |
| 59 | +#else |
| 60 | +#define EXTERN extern |
| 61 | +#endif |
| 62 | + |
| 63 | +#undef EXTERN |
| 64 | +#ifdef __cplusplus |
| 65 | +} |
| 66 | +#endif |
| 67 | +#endif |
| 68 | + |
| 69 | +#endif /* __ARCH_TRICORE_INCLUDE_TC397_IRQ_H */ |
0 commit comments