Changeset 0cf1dcf in mainline


Ignore:
Timestamp:
2006-11-28T23:03:04Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
058b021
Parents:
d4b5542
Message:

Indentation and comment fixes.

Location:
kernel
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/mm/tsb.c

    rd4b5542 r0cf1dcf  
    9999        tsb->data.value = 0;
    100100        tsb->data.size = PAGESIZE_8K;
    101         tsb->data.pfn = t->frame >> PAGE_WIDTH;
     101        tsb->data.pfn = t->frame >> FRAME_WIDTH;
    102102        tsb->data.cp = t->c;
    103103#ifdef CONFIG_VIRT_IDX_CACHE
     
    141141        tsb->data.value = 0;
    142142        tsb->data.size = PAGESIZE_8K;
    143         tsb->data.pfn = t->frame >> PAGE_WIDTH;
     143        tsb->data.pfn = t->frame >> FRAME_WIDTH;
    144144        tsb->data.cp = t->c;
    145145#ifdef CONFIG_VIRT_IDX_CACHE
  • kernel/arch/sparc64/src/start.S

    rd4b5542 r0cf1dcf  
    6565kernel_image_start:
    6666        mov BSP_FLAG, %l0
    67         and %o0, %l0, %l7                               ! l7 <= bootstrap processor?
    68         andn %o0, %l0, %l6                              ! l6 <= start of physical memory
     67        and %o0, %l0, %l7                       ! l7 <= bootstrap processor?
     68        andn %o0, %l0, %l6                      ! l6 <= start of physical memory
    6969
    7070        ! Get bits 40:13 of physmem_base.
    7171        srlx %l6, 13, %l5
    7272        sllx %l5, 13 + (63 - 40), %l5
    73         srlx %l5, 63 - 40, %l5                          ! l5 <= physmem_base[40:13]
     73        srlx %l5, 63 - 40, %l5                  ! l5 <= physmem_base[40:13]
    7474       
    7575        /*
  • kernel/doc/arch/sparc64

    rd4b5542 r0cf1dcf  
    1010MACHINES
    1111        o Sun Ultra 5
     12        o Sun Ultra 60
    1213        o Sun Enterprise E6500 (simulated)
    1314               
  • kernel/generic/include/macros.h

    rd4b5542 r0cf1dcf  
    4343#define is_upper(c)             (((c) >= 'A') && ((c) <= 'Z'))
    4444#define is_alpha(c)             (is_lower(c) || is_upper(c))
    45 #define is_alphanum(c)  (is_alpha(c) || is_digit(c))
     45#define is_alphanum(c)          (is_alpha(c) || is_digit(c))
    4646#define is_white(c)             (((c) == ' ') || ((c) == '\t') || ((c) == '\n') || ((c) == '\r'))
    4747
  • kernel/generic/include/mm/frame.h

    rd4b5542 r0cf1dcf  
    5858#define ZONE_JOIN       0x1     /**< If possible, merge with neighbouring zones */
    5959
    60 #define FRAME_KA                0x1     /* skip frames conflicting with user address space */
     60#define FRAME_KA                0x1     /* convert the frame address to kernel va */
    6161#define FRAME_ATOMIC            0x2     /* do not panic and do not sleep on failure */
    6262#define FRAME_NO_RECLAIM        0x4     /* do not start reclaiming when no free memory */
Note: See TracChangeset for help on using the changeset viewer.