history 5.67 KiB
OpenSBI v1.0
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : riscv-virtio,qemu
Platform Features : medeleg
Platform HART Count : 2
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 10000000Hz
Platform Console Device : uart8250
Platform HSM Device : ---
Platform Reboot Device : sifive_test
Platform Shutdown Device : sifive_test
Firmware Base : 0x80000000
Firmware Size : 260 KB
Runtime SBI Version : 0.3
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*,1*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01 : 0x0000000080000000-0x000000008007ffff ()
Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000080200000
Domain0 Next Arg1 : 0x0000000087000000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART ISA : rv64imafdcsuh
Boot HART Features : scounteren,mcounteren,time
Boot HART PMP Count : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 54
Boot HART MHPM Count : 0
Boot HART MIDELEG : 0x0000000000001666
Boot HART MEDELEG : 0x0000000000f0b509
========== START test_exit ==========
exit OK.
========== END test_exit ==========
========== START test_sleep ==========
sleep success.
========== END test_sleep ==========
========== START test_getpid ==========
getpid success.
pid = 1279
========== END test_getpid ==========
========== START test_getppid ==========
getppid success. ppid : 1
========== END test_getppid ==========
========== START test_gettimeofday ==========
gettimeofday success.
start:4190675, end:4196127
interval: 5452
========== END test_gettimeofday ==========
========== START test_times ==========
mytimes success
{tms_utime:5838, tms_stime:173915, tms_cutime:0, tms_cstime:0}
========== END test_times ==========
========== START test_clone ==========
Child says successfully!
clone process successfully.
pid:2558
7172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
========== END test_clone ========== ========== START test_uname ========== Uname: LuckyOS riscv64 0.1 0.1 riscv64-qemu-virt ========== END test_uname ========== ========== START test_wait ========== This is child process wait child success. wstatus: 0 ========== END test_wait ========== ========== START test_fork ========== child process. parent process. wstatus:0 ========== END test_fork ========== ========== START test_yield ========== I am child process: 4350. iteration 0. I am child process: 4860. iteration 2. I am child process: 4605. iteration 1. I am child process: 4350. iteration 0. I am child process: 4860. iteration 2. I am child process: 4605. iteration 1. I am child process: 4350. iteration 0. I am child process: 4860. iteration 2. I am child process: 4605. iteration 1. I am child process: 4350. iteration 0. I am child process: 4860. iteration 2. I am child process: 4605. iteration 1. I am child process: 4350. iteration 0. I am child process: 4860. iteration 2. I am child process: 4605. iteration 1. ========== END test_yield ========== ========== START test_waitpid ========== This is child process waitpid successfully. wstatus: 3 ========== END test_waitpid ========== ========== START test_execve ========== I am test_echo. execve success. ========== END main ========== ========== START test_brk ========== Before alloc,heap pos: 8192 After alloc,heap pos: 8256 Alloc again,heap pos: 8320 ========== END test_brk ========== ========== START test_getcwd ========== getcwd: / successfully! ========== END test_getcwd ========== ========== START test_dup2 ========== from fd 100 ========== END test_dup2 ========== ========== START test_dup ========== new fd is 3. ========== END test_dup ========== ========== START test_fstat ========== fstat ret: 0 fstat: dev: 0, inode: 984, mode: 2, nlink: 1, size: 52, atime: 315446400, mtime: 315474198, ctime: 327915798 ========== END test_fstat ========== ========== START test_read ========== Hi, this is a text file. syscalls testing success! ========== END test_read ========== ========== START test_open ========== Hi, this is a text file. syscalls testing success! ========== END test_open ========== ========== START test_write ========== Hello operating system contest. ========== END test_write ==========
141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
========== START test_mkdir ========== mkdir ret: 0 mkdir success. ========== END test_mkdir ========== ========== START test_mount ========== Mounting dev:/dev/vda2 to ./mnt mount return: 0 mount successfully umount return: 0 ========== END test_mount ========== ========== START test_umount ========== Mounting dev:/dev/vda2 to ./mnt mount return: 0 umount success. return: 0 ========== END test_umount ========== ========== START test_chdir ========== chdir ret: 0 current working dir : test_chdir ========== END test_chdir ========== ========== START test_openat ========== open dir fd: 3 openat fd: 4 openat success. ========== END test_openat ========== ========== START test_close ========== close 3 success. ========== END test_close ========== ========== START test_getdents ========== open fd:3 getdents fd:280 getdents success. / ========== END test_getdents ========== ========== START test_unlink ========== unlink success! ========== END test_unlink ========== ========== START test_pipe ========== cpid: 10237 cpid: 0 Write to pipe successfully. ========== END test_pipe ========== ========== START test_mmap ========== file len: 27 mmap content: Hello, mmap successfully! ========== END test_mmap ========== ========== START test_munmap ========== file len: 27 munmap return: 0 munmap successfully! ========== END test_munmap ========== panic at schedule.c:21 (schedule): schedule: no runnable processes