Browse Source

Remove debug printfs

pull/22/head
Andrew Waterman 10 years ago
parent
commit
e3afbd7c24
  1. 11
      machine/minit.c

11
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()

Loading…
Cancel
Save