Changeset 76cec1e in mainline for include


Ignore:
Timestamp:
2005-07-15T21:57:30Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b4a4c5e3
Parents:
e41c47e
Message:

Huge indentation fix.

Location:
include
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • include/mm/page.h

    re41c47e r76cec1e  
    4343#define PAGE_EXEC_SHIFT                 5
    4444
    45 #define PAGE_NOT_CACHEABLE      (0<<PAGE_CACHEABLE_SHIFT)
    46 #define PAGE_CACHEABLE          (1<<PAGE_CACHEABLE_SHIFT)
     45#define PAGE_NOT_CACHEABLE      (0<<PAGE_CACHEABLE_SHIFT)
     46#define PAGE_CACHEABLE          (1<<PAGE_CACHEABLE_SHIFT)
    4747
    48 #define PAGE_PRESENT            (0<<PAGE_PRESENT_SHIFT)
    49 #define PAGE_NOT_PRESENT        (1<<PAGE_PRESENT_SHIFT)
     48#define PAGE_PRESENT            (0<<PAGE_PRESENT_SHIFT)
     49#define PAGE_NOT_PRESENT        (1<<PAGE_PRESENT_SHIFT)
    5050
    51 #define PAGE_USER               (1<<PAGE_USER_SHIFT)
    52 #define PAGE_KERNEL             (0<<PAGE_USER_SHIFT)
     51#define PAGE_USER               (1<<PAGE_USER_SHIFT)
     52#define PAGE_KERNEL             (0<<PAGE_USER_SHIFT)
    5353
    5454#define PAGE_READ               (1<<PAGE_READ_SHIFT)
  • include/proc/thread.h

    re41c47e r76cec1e  
    7474        context_t saved_context;
    7575        context_t sleep_timeout_context;
    76         fpu_context_t saved_fpu_context;                       
    77         int fpu_context_exists;               
    78         int fpu_context_engaged;               /* Defined only if thread doesn't run. It means that fpu context is in CPU
    79                                                 that last time executes this thread. This disables migration */         
    80        
    81        
     76        fpu_context_t saved_fpu_context;
     77        int fpu_context_exists;
     78
     79        /*
     80         * Defined only if thread doesn't run.
     81         * It means that fpu context is in CPU that last time executes this thread.
     82         * This disables migration
     83         */
     84        int fpu_context_engaged;
     85
    8286        waitq_t *sleep_queue;
    8387        timeout_t sleep_timeout;
  • include/stackarg.h

    re41c47e r76cec1e  
    5151
    5252#define va_end(ap)
    53    
     53
    5454
    5555#endif
  • include/synch/semaphore.h

    re41c47e r76cec1e  
    3737struct semaphore
    3838{
    39     waitq_t wq;
     39        waitq_t wq;
    4040};
    4141
  • include/synch/waitq.h

    re41c47e r76cec1e  
    4040
    4141struct waitq {
    42     spinlock_t lock;
    43     int missed_wakeups;
    44     link_t head;
     42        spinlock_t lock;
     43        int missed_wakeups;
     44        link_t head;
    4545};
    4646
  • include/time/timeout.h

    re41c47e r76cec1e  
    3535#include <list.h>
    3636
    37 #define us2ticks(us)    ((__u64)(((__u32) (us)/(1000000/HZ))))
     37#define us2ticks(us)    ((__u64)(((__u32) (us)/(1000000/HZ))))
    3838
    3939typedef void (* timeout_handler)(void *arg);
Note: See TracChangeset for help on using the changeset viewer.