working on trap.c and trapentry.S