Changeset f4c2b6a in mainline for kernel/arch/ppc32


Ignore:
Timestamp:
2008-06-03T14:59:48Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4fb51
Parents:
b63f8569
Message:

reflect changes in generic code
proper formatting directives
coding style

Location:
kernel/arch/ppc32
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/include/boot/boot.h

    rb63f8569 rf4c2b6a  
    3939
    4040/* Temporary stack size for boot process */
    41 #define TEMP_STACK_SIZE 0x100
     41#define TEMP_STACK_SIZE 0x1000
    4242
    4343#define TASKMAP_MAX_RECORDS 32
  • kernel/arch/ppc32/include/drivers/cuda.h

    rb63f8569 rf4c2b6a  
    3737
    3838#include <arch/types.h>
     39#include <typedefs.h>
    3940
    4041extern void cuda_init(devno_t devno, uintptr_t base, size_t size);
  • kernel/arch/ppc32/include/exception.h

    rb63f8569 rf4c2b6a  
    8383        istate->pc = retaddr;
    8484}
     85
    8586/** Return true if exception happened while in userspace */
    8687#include <panic.h>
     
    9091        return 0;
    9192}
     93
    9294static inline unative_t istate_get_pc(istate_t *istate)
    9395{
  • kernel/arch/ppc32/include/mm/tlb.h

    rb63f8569 rf4c2b6a  
    3737
    3838#include <arch/interrupt.h>
     39#include <arch/types.h>
     40#include <typedefs.h>
    3941
    4042typedef struct {
  • kernel/arch/ppc32/src/interrupt.c

    rb63f8569 rf4c2b6a  
    8181                         */
    8282#ifdef CONFIG_DEBUG
    83                         printf("cpu%d: spurious interrupt (inum=%d)\n", CPU->id, inum);
     83                        printf("cpu%u: spurious interrupt (inum=%d)\n", CPU->id, inum);
    8484#endif
    8585                }
  • kernel/arch/ppc32/src/mm/page.c

    rb63f8569 rf4c2b6a  
    4949{
    5050        if (last_frame + ALIGN_UP(size, PAGE_SIZE) > KA2PA(KERNEL_ADDRESS_SPACE_END_ARCH))
    51                 panic("Unable to map physical memory %p (%d bytes)", physaddr, size)
     51                panic("Unable to map physical memory %p (%" PRIs " bytes)", physaddr, size)
    5252       
    5353        uintptr_t virtaddr = PA2KA(last_frame);
Note: See TracChangeset for help on using the changeset viewer.