Test hexdump in start.c
This commit is contained in:
parent
795cf84a07
commit
cc24fb66eb
1 changed files with 7 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "badrand.h"
|
||||
#include <badrand.h>
|
||||
#include <hexdump.h>
|
||||
#include <assert.h>
|
||||
#include <banner.h>
|
||||
#include <buddy.h>
|
||||
|
|
@ -79,6 +80,11 @@ void start() {
|
|||
|
||||
buddy_free(mem);
|
||||
}
|
||||
{
|
||||
char buffer[128];
|
||||
badrand_buf(buffer, 128);
|
||||
hexdump(buffer, 128);
|
||||
}
|
||||
|
||||
kprintf("To exit qemu, press CTRL+a followed by x\n");
|
||||
spin_unlock(&sl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue