File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -75,14 +75,10 @@ void sync_handler_lowerEL_64(uint64_t sp) {
7575 } else if (iss == 5 ) { // exit
7676 exit ();
7777 } else if (iss == 6 ) { // mbox_call
78- // printf("[mbox_call]\n");
7978 thread_info * cur = get_current ();
8079 unsigned int * mbox_user_va = (unsigned int * )trap_frame -> x [1 ];
8180 unsigned int * mbox_user_pa = (unsigned int * )el0_VA2PA (cur ,(uint64_t )mbox_user_va );
82- // printf("mbox_user_va:%p\n",mbox_user_va);
83- // printf("mbox_user_pa :%p\n",mbox_user_pa);
8481 unsigned int * mbox_kernel_va = (unsigned int * ) PA2VA (mbox_user_pa );
85- // printf("mbox_kernel_va :%p\n",mbox_kernel_va); // trap_frame->x[0] = mbox_call(trap_frame->x[0],(unsigned int *)trap_frame->x[1]);
8682 trap_frame -> x [0 ] = mbox_call (trap_frame -> x [0 ],mbox_kernel_va );
8783 } else if (iss == 7 ) { // kill
8884 kill ((int )trap_frame -> x [0 ]);
You can’t perform that action at this time.
0 commit comments