Changeset b1349e0 in mainline for kernel/arch/ia32/src/userspace.c


Ignore:
Timestamp:
2007-01-29T18:10:46Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7d07bf3
Parents:
0c1a5d8a
Message:

explicit cast on pointer arithmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/userspace.c

    r0c1a5d8a rb1349e0  
    7373                "iret\n"
    7474                :
    75                 : "i" (selector(UDATA_DES) | PL_USER), "r" (kernel_uarg->uspace_stack+THREAD_STACK_SIZE),
     75                : "i" (selector(UDATA_DES) | PL_USER), "r" ((uint8_t *) kernel_uarg->uspace_stack + THREAD_STACK_SIZE),
    7676                  "r" (ipl), "i" (selector(UTEXT_DES) | PL_USER), "r" (kernel_uarg->uspace_entry),
    7777                "r" (kernel_uarg->uspace_uarg),
Note: See TracChangeset for help on using the changeset viewer.