Changeset 7f1c620 in mainline for arch/amd64/src/syscall.c


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/syscall.c

    r991779c5 r7f1c620  
    5858         */
    5959        write_msr(AMD_MSR_STAR,
    60                   ((__u64)(gdtselector(KDATA_DES) | PL_USER)<<48) \
    61                   | ((__u64)(gdtselector(KTEXT_DES) | PL_KERNEL)<<32));
    62         write_msr(AMD_MSR_LSTAR, (__u64)syscall_entry);
     60                  ((uint64_t)(gdtselector(KDATA_DES) | PL_USER)<<48) \
     61                  | ((uint64_t)(gdtselector(KTEXT_DES) | PL_KERNEL)<<32));
     62        write_msr(AMD_MSR_LSTAR, (uint64_t)syscall_entry);
    6363        /* Mask RFLAGS on syscall
    6464         * - disable interrupts, until we exchange the stack register
Note: See TracChangeset for help on using the changeset viewer.