Changeset 8fe5980 in mainline


Ignore:
Timestamp:
2008-12-16T18:59:07Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
76fca31
Parents:
9cc492a7
Message:

cstyle & small fixes

Files:
6 edited

Legend:

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

    r9cc492a7 r8fe5980  
    211211        i8042_grab();
    212212}
     213
    213214/** Return console to userspace
    214215 *
  • kernel/arch/ia32/include/cpu.h

    r9cc492a7 r8fe5980  
    5252
    5353typedef struct {
    54         int vendor;
    55         int family;
    56         int model;
    57         int stepping;
     54        unsigned int vendor;
     55        unsigned int family;
     56        unsigned int model;
     57        unsigned int stepping;
    5858        struct tss *tss;
    5959       
  • kernel/arch/ia32/include/mm/as.h

    r9cc492a7 r8fe5980  
    4343#define USER_ADDRESS_SPACE_END_ARCH             ((unsigned long) 0x7fffffff)
    4444
    45 #define USTACK_ADDRESS_ARCH     (USER_ADDRESS_SPACE_END_ARCH-(PAGE_SIZE-1))
     45#define USTACK_ADDRESS_ARCH     (USER_ADDRESS_SPACE_END_ARCH - (PAGE_SIZE - 1))
    4646
    4747typedef struct {
  • kernel/arch/ia32xen/src/mm/tlb.c

    r9cc492a7 r8fe5980  
    6464 * @param cnt Number of entries to invalidate.
    6565 */
    66 void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt)
     66void tlb_invalidate_pages(asid_t asid __attribute__((unused)), uintptr_t page, count_t cnt)
    6767{
    6868        unsigned int i;
  • kernel/arch/mips32/include/mm/asid.h

    r9cc492a7 r8fe5980  
    3838#include <arch/types.h>
    3939
    40 #define ASID_MAX_ARCH           255     /* 2^8 - 1 */
     40#define ASID_MAX_ARCH  255    /* 2^8 - 1 */
    4141
    4242typedef uint8_t asid_t;
  • uspace/lib/libc/include/string.h

    r9cc492a7 r8fe5980  
    3838#include <sys/types.h>
    3939
    40 #define bzero(ptr, len) memset((ptr), 0, (len))
     40#define bzero(ptr, len)  memset((ptr), 0, (len))
    4141
    4242extern void * memset(void *, int, size_t);
Note: See TracChangeset for help on using the changeset viewer.