Rev 4339 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4339 | Rev 4343 | ||
---|---|---|---|
Line 86... | Line 86... | ||
86 | uptime->seconds1 = 0; |
86 | uptime->seconds1 = 0; |
87 | uptime->seconds2 = 0; |
87 | uptime->seconds2 = 0; |
88 | uptime->useconds = 0; |
88 | uptime->useconds = 0; |
89 | 89 | ||
90 | clock_parea.pbase = (uintptr_t) faddr; |
90 | clock_parea.pbase = (uintptr_t) faddr; |
91 | clock_parea.vbase = (uintptr_t) uptime; |
- | |
92 | clock_parea.frames = 1; |
91 | clock_parea.frames = 1; |
93 | clock_parea.cacheable = true; |
- | |
94 | ddi_parea_register(&clock_parea); |
92 | ddi_parea_register(&clock_parea); |
95 | 93 | ||
96 | /* |
94 | /* |
97 | * Prepare information for the userspace so that it can successfully |
95 | * Prepare information for the userspace so that it can successfully |
98 | * physmem_map() the clock_parea. |
96 | * physmem_map() the clock_parea. |