Changeset 9f52563 in mainline for arch/ia64/src/ia64.c
- Timestamp:
- 2006-03-17T01:34:36Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8a0b0669
- Parents:
- 5fceec7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/src/ia64.c
r5fceec7 r9f52563 42 42 #include <userspace.h> 43 43 #include <console/console.h> 44 #include <proc/thread.h> 44 45 45 46 void arch_pre_mm_init(void) … … 73 74 74 75 /** Enter userspace and never return. */ 75 void userspace( __address entry)76 void userspace(uspace_arg_t *uarg) 76 77 { 77 78 psr_t psr; … … 91 92 rsc.mode = 3; /* eager mode */ 92 93 93 switch_to_userspace( entry, USTACK_ADDRESS+PAGE_SIZE-ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT), USTACK_ADDRESS, psr.value, rsc.value);94 switch_to_userspace(uarg->uspace_entry, uarg->uspace_stack+PAGE_SIZE-ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT), uarg->uspace_stack, psr.value, rsc.value); 94 95 95 96 while (1) {
Note:
See TracChangeset
for help on using the changeset viewer.