diff options
author | Amaan Cheval <amaan.cheval@gmail.com> | 2018-08-13 15:51:47 +0530 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-08-13 10:48:20 -0500 |
commit | ab971bf5e37a057432c267175ddf12d6799a2b35 (patch) | |
tree | ebc850151dee80f7bbd28ecac40987f34516cfaa /cpukit/score/cpu/x86_64/include/rtems/score/cpuimpl.h | |
parent | libtests/POSIX: Fix warnings and style. (diff) | |
download | rtems-ab971bf5e37a057432c267175ddf12d6799a2b35.tar.bz2 |
bsps/x86_64: Reorganize header files and compile-options
Updates #2898.
Diffstat (limited to 'cpukit/score/cpu/x86_64/include/rtems/score/cpuimpl.h')
-rw-r--r-- | cpukit/score/cpu/x86_64/include/rtems/score/cpuimpl.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/cpukit/score/cpu/x86_64/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/x86_64/include/rtems/score/cpuimpl.h index 722edeb00e..a3a40faf66 100644 --- a/cpukit/score/cpu/x86_64/include/rtems/score/cpuimpl.h +++ b/cpukit/score/cpu/x86_64/include/rtems/score/cpuimpl.h @@ -28,20 +28,6 @@ extern "C" { #endif -static inline uint8_t inport_byte(uint16_t port) -{ - uint8_t ret; - __asm__ volatile ( "inb %1, %0" - : "=a" (ret) - : "Nd" (port) ); - return ret; -} - -static inline void outport_byte(uint16_t port, uint8_t val) -{ - __asm__ volatile ( "outb %0, %1" : : "a" (val), "Nd" (port) ); -} - RTEMS_INLINE_ROUTINE void _CPU_Context_volatile_clobber( uintptr_t pattern ) { /* TODO */ @@ -68,6 +54,6 @@ RTEMS_INLINE_ROUTINE void _CPU_Instruction_no_operation( void ) } #endif -#endif /* ASM */ +#endif /* !ASM */ #endif /* _RTEMS_SCORE_CPUIMPL_H */ |