Changeset de6b301 in mainline for arch/ia32/src/userspace.c


Ignore:
Timestamp:
2006-03-12T18:27:33Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f972b89
Parents:
a82500ce
Message:

Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention.

File:
1 edited

Legend:

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

    ra82500ce rde6b301  
    4040 *
    4141 */
    42 void userspace(void)
     42void userspace(__address entry)
    4343{
    4444        ipl_t ipl;
     
    6161                "iret"
    6262                :
    63                 : "i" (selector(UDATA_DES) | PL_USER), "r" (USTACK_ADDRESS+(THREAD_STACK_SIZE)), "r" (ipl), "i" (selector(UTEXT_DES) | PL_USER), "i" (UTEXT_ADDRESS)
     63                : "i" (selector(UDATA_DES) | PL_USER), "r" (USTACK_ADDRESS+(THREAD_STACK_SIZE)), "r" (ipl), "i" (selector(UTEXT_DES) | PL_USER), "r" (entry)
    6464                : "eax");
    6565       
Note: See TracChangeset for help on using the changeset viewer.