Changeset e7b7be3f in mainline for kernel/arch/amd64/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/amd64/src
Files:
3 edited

Legend:

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

    r62c63fc re7b7be3f  
    7777void cpu_setup_fpu(void)
    7878{
    79         __asm__ volatile (
     79        asm volatile (
    8080                "movq %%cr0, %%rax;"
    8181                "btsq $1, %%rax;" /* cr0.mp */
     
    100100void fpu_disable(void)
    101101{
    102         __asm__ volatile (
     102        asm     volatile (
    103103                "mov %%cr0,%%rax;"
    104104                "bts $3,%%rax;"
     
    112112void fpu_enable(void)
    113113{
    114         __asm__ volatile (
     114        asm     volatile (
    115115                "mov %%cr0,%%rax;"
    116116                "btr $3,%%rax;"
  • kernel/arch/amd64/src/fpu_context.c

    r62c63fc re7b7be3f  
    4141void fpu_context_save(fpu_context_t *fctx)
    4242{
    43         __asm__ volatile (
     43        asm volatile (
    4444                "fxsave %0"
    4545                : "=m"(*fctx)
     
    5050void fpu_context_restore(fpu_context_t *fctx)
    5151{
    52         __asm__ volatile (
     52        asm volatile (
    5353                "fxrstor %0"
    5454                : "=m"(*fctx)
     
    5959{
    6060        /* TODO: Zero all SSE, MMX etc. registers */
    61         __asm__ volatile (
     61        asm volatile (
    6262                "fninit;"
    6363        );
  • kernel/arch/amd64/src/userspace.c

    r62c63fc re7b7be3f  
    5555        ipl &= ~(0xcd4);
    5656
    57         __asm__ volatile (""
     57        asm volatile (""
    5858                          "pushq %0\n"
    5959                          "pushq %1\n"
Note: See TracChangeset for help on using the changeset viewer.