Changeset e7b7be3f in mainline for kernel/arch/ia32/src


Ignore:
Timestamp:
2007-01-22T13:10:08Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f3fc9b
Parents:
62c63fc
Message:

asm volatile → asm volatile

Location:
kernel/arch/ia32/src
Files:
4 edited

Legend:

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

    r62c63fc re7b7be3f  
    7272void fpu_disable(void)
    7373{
    74         __asm__ volatile (
     74        asm volatile (
    7575                "mov %%cr0,%%eax;"
    7676                "or $8,%%eax;"
     
    8484void fpu_enable(void)
    8585{
    86         __asm__ volatile (
     86        asm volatile (
    8787                "mov %%cr0,%%eax;"
    8888                "and $0xffFFffF7,%%eax;"
  • kernel/arch/ia32/src/fpu_context.c

    r62c63fc re7b7be3f  
    4444static void fpu_context_f_save(fpu_context_t *fctx)
    4545{
    46         __asm__ volatile (
     46        asm volatile (
    4747                "fnsave %0"
    4848                : "=m"(*fctx)
     
    5252static void fpu_context_f_restore(fpu_context_t *fctx)
    5353{
    54         __asm__ volatile (
     54        asm volatile (
    5555                "frstor %0"
    5656                : "=m"(*fctx)
     
    6060static void fpu_context_fx_save(fpu_context_t *fctx)
    6161{
    62         __asm__ volatile (
     62        asm volatile (
    6363                "fxsave %0"
    6464                : "=m"(*fctx)
     
    6868static void fpu_context_fx_restore(fpu_context_t *fctx)
    6969{
    70         __asm__ volatile (
     70        asm volatile (
    7171                "fxrstor %0"
    7272                : "=m"(*fctx)
     
    104104{
    105105        uint32_t help0 = 0, help1 = 0;
    106         __asm__ volatile (
     106        asm volatile (
    107107                "fninit;\n"
    108108                "stmxcsr %0\n"
  • kernel/arch/ia32/src/pm.c

    r62c63fc re7b7be3f  
    148148static void clean_IOPL_NT_flags(void)
    149149{
    150         __asm__ volatile (
     150        asm volatile (
    151151                "pushfl\n"
    152152                "pop %%eax\n"
     
    161161static void clean_AM_flag(void)
    162162{
    163         __asm__ volatile (
     163        asm volatile (
    164164                "mov %%cr0, %%eax\n"
    165165                "and $0xfffbffff, %%eax\n"
  • kernel/arch/ia32/src/userspace.c

    r62c63fc re7b7be3f  
    5252        ipl = interrupts_disable();
    5353
    54         __asm__ volatile (
     54        asm volatile (
    5555                /*
    5656                 * Clear nested task flag.
Note: See TracChangeset for help on using the changeset viewer.