Changeset 7f043c0 in mainline for kernel/arch/ia32/include


Ignore:
Timestamp:
2007-05-31T21:39:13Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7bb0c32
Parents:
d8431986
Message:

fix ICC compilation

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

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/asm.h

    rd8431986 r7f043c0  
    258258        uintptr_t v;
    259259       
    260         asm volatile ("andl %%esp, %0\n" : "=r" (v) : "0" (~(STACK_SIZE-1)));
     260        asm volatile (
     261                "andl %%esp, %0\n"
     262                : "=r" (v)
     263                : "0" (~(STACK_SIZE - 1))
     264        );
    261265       
    262266        return v;
  • kernel/arch/ia32/include/context.h

    rd8431986 r7f043c0  
    4646 * One item is put onto stack to support get_stack_base().
    4747 */
    48 #define SP_DELTA        (8+STACK_ITEM_SIZE)
     48#define SP_DELTA        (8 + STACK_ITEM_SIZE)
    4949
    5050/*
  • kernel/arch/ia32/include/mm/frame.h

    rd8431986 r7f043c0  
    3737
    3838#define FRAME_WIDTH     12      /* 4K */
    39 #define FRAME_SIZE      (1<<FRAME_WIDTH)
     39#define FRAME_SIZE      (1 << FRAME_WIDTH)
    4040
    4141#ifdef KERNEL
  • kernel/arch/ia32/include/smp/apic.h

    rd8431986 r7f043c0  
    347347extern uint32_t io_apic_read(uint8_t address);
    348348extern void io_apic_write(uint8_t address , uint32_t x);
    349 extern void io_apic_change_ioredtbl(int pin, int dest, uint8_t v, int flags);
     349extern void io_apic_change_ioredtbl(uint8_t pin, uint8_t dest, uint8_t v, int flags);
    350350extern void io_apic_disable_irqs(uint16_t irqmask);
    351351extern void io_apic_enable_irqs(uint16_t irqmask);
Note: See TracChangeset for help on using the changeset viewer.