Changeset 5a95b25 in mainline for arch


Ignore:
Timestamp:
2005-12-13T11:23:14Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
91ef0d95
Parents:
5bb8e45
Message:

Cleanups to make it compile with -Wall. Did not catch everything yet.

Location:
arch
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/smp/mps.c

    r5bb8e45 r5a95b25  
    323323
    324324        /* this ioapic is marked unusable */
    325         if (ioa->io_apic_flags & 1 == 0)
     325        if ((ioa->io_apic_flags & 1) == 0)
    326326                return;
    327327       
  • arch/mips32/src/debugger.c

    r5bb8e45 r5a95b25  
    232232                        panic("Weird breakpoint state.\n");
    233233                if (!cur->executing) {
    234                         printf("***Breakpoint %d: %p in %s.\n", i,
     234                        printf("***Breakpoint %d: 0x%p in %s.\n", i,
    235235                               pstate->epc,symbol);
    236236                        /* Return first instruction back */
     
    249249                }
    250250        } else {
    251                 printf("***Breakpoint %p in %s.\n", pstate->epc, symbol);
     251                printf("***Breakpoint 0x%p in %s.\n", pstate->epc, symbol);
    252252                /* Move on to next instruction */
    253253                pstate->epc += 4;
  • arch/mips32/src/exception.c

    r5bb8e45 r5a95b25  
    112112}
    113113
     114#ifdef CONFIG_FPU_LAZY
    114115static void cpuns_exception(int n, void *data)
    115116{
     
    119120                panic("unhandled Coprocessor Unusable Exception\n");
    120121}
     122#endif
    121123
    122124static void interrupt_exception(int n, void *pstate)
  • arch/mips32/src/fmath.c

    r5bb8e45 r5a95b25  
    4444double fmath_get_decimal_exponent(double num)
    4545{       //TODO:
    46         double value;
     46//      double value;
    4747        // log10(2)*log2(x) => log10(x)
    4848/*      __asm__ __volatile__ ( \
     
    5151        "fyl2x          #count st(0)*log2(st(1))->st(1); pop st(0)      \n\t" \
    5252        : "=t" (value) : "0"(num) );
    53 */      return value;
     53*/      return 1.0;
    5454       
    5555}
Note: See TracChangeset for help on using the changeset viewer.