Changeset 1b20da0 in mainline for kernel/arch/ia32/src


Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

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

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/asm.S

    rdf6ded8 r1b20da0  
    139139 * and without the error word.
    140140 */
    141 #define ISTATE_SOFT_SIZE        ISTATE_SIZE - (6 * 4) 
     141#define ISTATE_SOFT_SIZE        ISTATE_SIZE - (6 * 4)
    142142
    143143/*
     
    329329        .else
    330330                /*
    331                  * Interrupt: fake up an error word 
     331                 * Interrupt: fake up an error word
    332332                 */
    333333                subl $(ISTATE_SOFT_SIZE + 4), %esp
     
    433433
    434434interrupt_handlers:
    435 .irp cnt, LIST_0_63 
     435.irp cnt, LIST_0_63
    436436        handler \cnt
    437437.endr
  • kernel/arch/ia32/src/atomic.S

    rdf6ded8 r1b20da0  
    3434
    3535#
    36 # This is a bus-and-hyperthreading-friendly implementation of spinlock 
     36# This is a bus-and-hyperthreading-friendly implementation of spinlock
    3737#
    3838FUNCTION_BEGIN(spinlock_arch)
     
    4242        movl 12(%esp),%ebx
    4343
    44 0:     
     440:
    4545        pause                   # Pentium 4's with HT love this instruction
    4646        movl (%ebx),%eax
  • kernel/arch/ia32/src/context.S

    rdf6ded8 r1b20da0  
    3939#
    4040FUNCTION_BEGIN(context_save_arch)
    41         movl 0(%esp), %eax      # save pc value into eax       
    42         movl 4(%esp), %edx      # address of the context variable to save context to 
     41        movl 0(%esp), %eax      # save pc value into eax
     42        movl 4(%esp), %edx      # address of the context variable to save context to
    4343
    4444        # save registers to given structure
  • kernel/arch/ia32/src/cpu/cpu.c

    rdf6ded8 r1b20da0  
    7272void fpu_disable(void)
    7373{
    74         write_cr0(read_cr0() & ~CR0_TS); 
     74        write_cr0(read_cr0() & ~CR0_TS);
    7575}
    7676
    7777void fpu_enable(void)
    7878{
    79         write_cr0(read_cr0() | CR0_TS); 
     79        write_cr0(read_cr0() | CR0_TS);
    8080}
    8181
     
    150150void cpu_print_report(cpu_t* cpu)
    151151{
    152         printf("cpu%u: (%s family=%u model=%u stepping=%u apicid=%u) %" PRIu16 
     152        printf("cpu%u: (%s family=%u model=%u stepping=%u apicid=%u) %" PRIu16
    153153                " MHz\n", cpu->id, vendor_str[cpu->arch.vendor], cpu->arch.family,
    154154                cpu->arch.model, cpu->arch.stepping, cpu->arch.id, cpu->frequency_mhz);
  • kernel/arch/ia32/src/smp/ap.S

    rdf6ded8 r1b20da0  
    4747KDATA=16
    4848
    49 /* 
     49/*
    5050 * This piece of code is real-mode and is meant to be aligned at 4K boundary.
    5151 * The requirement for such an alignment comes from MP Specification's
  • kernel/arch/ia32/src/smp/smp.c

    rdf6ded8 r1b20da0  
    106106
    107107        /*
    108          * SMP initialized, cpus array allocated. Assign each CPU its 
     108         * SMP initialized, cpus array allocated. Assign each CPU its
    109109         * physical APIC ID.
    110110         */
  • kernel/arch/ia32/src/vreg.c

    rdf6ded8 r1b20da0  
    7575        gs_load(GDT_SELECTOR(VREG_DES));
    7676
    77         vreg_ptr = NULL; 
     77        vreg_ptr = NULL;
    7878}
    7979
Note: See TracChangeset for help on using the changeset viewer.