Changeset 7e7c8747 in mainline for kernel/arch/sparc64/src/proc/thread.c
- Timestamp:
- 2006-12-17T12:11:00Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 95155b0c
- Parents:
- 771cd22
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/proc/thread.c
r771cd22 r7e7c8747 55 55 * belonging to a killed thread. 56 56 */ 57 frame_free(KA2PA(ALIGN_DOWN((uintptr_t) t->arch.uspace_window_buffer, PAGE_SIZE))); 57 frame_free(KA2PA(ALIGN_DOWN((uintptr_t) 58 t->arch.uspace_window_buffer, PAGE_SIZE))); 58 59 } 59 60 } … … 61 62 void thread_create_arch(thread_t *t) 62 63 { 63 if ((t->flags & THREAD_FLAG_USPACE) && (!t->arch.uspace_window_buffer)) { 64 if ((t->flags & THREAD_FLAG_USPACE) && (!t->arch.uspace_window_buffer)) 65 { 64 66 /* 65 67 * The thread needs userspace window buffer and the object … … 74 76 * belonging to a killed thread. 75 77 */ 76 t->arch.uspace_window_buffer = (uint8_t *) ALIGN_DOWN(uw_buf, PAGE_SIZE); 78 t->arch.uspace_window_buffer = (uint8_t *) ALIGN_DOWN(uw_buf, 79 PAGE_SIZE); 77 80 } 78 81 }
Note:
See TracChangeset
for help on using the changeset viewer.