aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-05-24 18:46:29 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-05-24 18:46:29 -0700
commite3afbd7c24f8d64eae3eff09a2074b73fd195de5 (patch)
tree300aedc0aa4883b897301c67021193d696300c1b
parent113d00e652fe6486a0ff76d0fa00557840529d58 (diff)
downloadpk-e3afbd7c24f8d64eae3eff09a2074b73fd195de5.zip
pk-e3afbd7c24f8d64eae3eff09a2074b73fd195de5.tar.gz
pk-e3afbd7c24f8d64eae3eff09a2074b73fd195de5.tar.bz2
Remove debug printfs
-rw-r--r--machine/minit.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/machine/minit.c b/machine/minit.c
index 661a20a..f2bc0cf 100644
--- a/machine/minit.c
+++ b/machine/minit.c
@@ -108,17 +108,6 @@ static void hart_plic_init()
HLS()->plic_s_ie[i] = ULONG_MAX;
*HLS()->plic_m_thresh = 1;
*HLS()->plic_s_thresh = 0;
-
- int x;
- while ((x = HLS()->plic_s_thresh[1]))
- printm("%d\n", x);
- HLS()->plic_s_thresh[1] = 1;
- HLS()->plic_s_thresh[1] = 3;
- *((char*)plic_priorities + 0x805) = 1;
- while ((x = HLS()->plic_s_thresh[1])) {
- printm("%d\n", x);
- *HLS()->plic_s_thresh = 1;
- }
}
void init_first_hart()