summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/riscv/include/arch/io.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/arch/riscv/include/arch/io.h b/src/arch/riscv/include/arch/io.h
index 5bc10c0cd4..a19f4b5334 100644
--- a/src/arch/riscv/include/arch/io.h
+++ b/src/arch/riscv/include/arch/io.h
@@ -16,35 +16,6 @@
#include <stdint.h>
-static inline void outb(uint8_t value, uint16_t port)
-{
-}
-
-static inline void outw(uint16_t value, uint16_t port)
-{
-}
-
-static inline void outl(uint32_t value, uint16_t port)
-{
-}
-
-
-static inline uint8_t inb(uint16_t port)
-{
- return 0;
-}
-
-
-static inline uint16_t inw(uint16_t port)
-{
- return 0;
-}
-
-static inline uint32_t inl(uint16_t port)
-{
- return 0;
-}
-
static inline __attribute__((always_inline)) uint8_t read8(const volatile void *addr)
{
return *((volatile uint8_t *)(addr));