A blog on Computer Systems & Algorithms

Home | About | Contacts | Archive

xv6 traps assignment

One mistake I remember doing for the alarm assignment was that somehow I had this notion in mind that I had to copy the alarm handler code into usertrap and execute it there. But that is clearly not the case. If you read the question multiple times (as I did), we just need the kernel to go the alarm handler code, execute that code and return back.