aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-12-30 23:23:11 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-12-30 23:23:11 +0100
commit7efc53fe9a593eab08400c18e6b0def30c17e684 (patch)
treec525413335ba4008d16aaf51150698171624bbf3
parent142439f7240bf796dba4ed4e570c6df0a33997b1 (diff)
downloadrpi-MMU-example-7efc53fe9a593eab08400c18e6b0def30c17e684.tar.gz
rpi-MMU-example-7efc53fe9a593eab08400c18e6b0def30c17e684.zip
don't mark used values as unused
-rw-r--r--loader_stage2.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/loader_stage2.c b/loader_stage2.c
index e05de51..15d2003 100644
--- a/loader_stage2.c
+++ b/loader_stage2.c
@@ -8,11 +8,6 @@ void *const kernel_load_addr = ((void*) 0x8000);
void _stage2_main(uint32_t r0, uint32_t r1, uint32_t atags)
{
- // Declare as unused
- (void) r0;
- (void) r1;
- (void) atags;
-
uart_init();
// get kernel size via uart (little endian)