Enabled reading performance counters in user space
authorAndrew Waterman <waterman@ubuntu.(none)>
Sun, 3 Jan 2010 01:03:03 +0000 (17:03 -0800)
committerAndrew Waterman <waterman@ubuntu.(none)>
Sun, 3 Jan 2010 01:03:03 +0000 (17:03 -0800)
commit1413691875124c6e08f106bc8a00f5bc763f3471
tree995a1f70dd6fb9857a618c8e7813986227a452d5
parentc393e72fec52277aea3a42c47f6c9e25c4a32df4
Enabled reading performance counters in user space

I used a fast-trap (user trap 0x89) rather than a full syscall
kern/arch/sparc/sparc.h
kern/arch/sparc/trap_entry.S
kern/arch/sparc/trap_table.S