![]() |
|
|||
File indexing completed on 2025-05-11 08:23:49
0001 /* 0002 * @file 0003 * @ingroup m68k_uC5282 0004 * @brief Implementations for interrupt mechanisms for Time Test 27 0005 */ 0006 0007 /* 0008 * Copyright (c) 2005 Eric Norum <eric@norum.ca> 0009 * 0010 * COPYRIGHT (c) 2005-2014. 0011 * On-Line Applications Research Corporation (OAR). 0012 * 0013 * The license and distribution terms for this file may be 0014 * found in the file LICENSE in this distribution or at 0015 * http://www.rtems.org/license/LICENSE. 0016 */ 0017 0018 #ifndef _RTEMS_TMTEST27 0019 #error "This is an RTEMS internal file you must not include directly." 0020 #endif 0021 0022 #ifndef __tm27_h 0023 #define __tm27_h 0024 0025 /* 0026 * Stuff for Time Test 27 0027 * Don't bother with hardware -- just use a software-interrupt 0028 */ 0029 0030 #define MUST_WAIT_FOR_INTERRUPT 0 0031 0032 #define TM27_USE_VECTOR_HANDLER 0033 0034 #define Install_tm27_vector( handler ) set_vector( (handler), 35, 1 ) 0035 0036 #define Cause_tm27_intr() asm volatile ("trap #3"); 0037 0038 #define Clear_tm27_intr() /* empty */ 0039 0040 #define Lower_tm27_intr() /* empty */ 0041 0042 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |