diff --git a/sw/io.c b/sw/io.c deleted file mode 100644 index 685a771..0000000 --- a/sw/io.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int io_remap(int region) { - *(unsigned char*)IO_REMAP = region; - return (*(unsigned char*)IO_REMAP == region); -} diff --git a/sw/io.h b/sw/io.h deleted file mode 100644 index a5247b1..0000000 --- a/sw/io.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef _IO_H -#define IO_H - - -#define IO_REMAP 0x7fff - - -enum io_regions { - io_region_de10lite = 0, -}; - - -int io_remap(int region); - -#endif diff --git a/sw/main.c b/sw/main.c index 296b1c6..4940ce5 100644 --- a/sw/main.c +++ b/sw/main.c @@ -1,6 +1,5 @@ #include int main() { - io_remap(io_region_de10lite); return 0; }