Rev 4377 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4377 | Rev 4692 | ||
---|---|---|---|
Line 99... | Line 99... | ||
99 | 99 | ||
100 | /** General Protection Fault. */ |
100 | /** General Protection Fault. */ |
101 | static void gp_fault(int n, istate_t *istate) |
101 | static void gp_fault(int n, istate_t *istate) |
102 | { |
102 | { |
103 | if (TASK) { |
103 | if (TASK) { |
104 | count_t ver; |
104 | size_t ver; |
105 | 105 | ||
106 | spinlock_lock(&TASK->lock); |
106 | spinlock_lock(&TASK->lock); |
107 | ver = TASK->arch.iomapver; |
107 | ver = TASK->arch.iomapver; |
108 | spinlock_unlock(&TASK->lock); |
108 | spinlock_unlock(&TASK->lock); |
109 | 109 |