Changeset 5fe5f1e in mainline


Ignore:
Timestamp:
2006-01-04T13:14:39Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dfd9186
Parents:
b524c5e0
Message:

Clean up.

Location:
generic/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • generic/src/debug/print.c

    rb524c5e0 r5fe5f1e  
    153153 * X    As with 'x', but '0x' is prefixed.
    154154 *
    155  * .    The decimal number following period will be treated as precision
    156  *      for printing floating point numbers. One of 'e', 'E', 'f' or 'F'
    157  *      must follow.
    158  *
    159155 * All other characters from fmt except the formatting directives
    160156 * are printed in verbatim.
  • generic/src/main/main.c

    rb524c5e0 r5fe5f1e  
    3838#include <proc/task.h>
    3939#include <main/kinit.h>
     40#include <main/version.h>
    4041#include <console/kconsole.h>
    4142#include <cpu.h>
    4243#include <align.h>
    4344#include <interrupt.h>
    44 #include <main/version.h>
    45 
    46 #ifdef CONFIG_SMP
    47 #include <arch/smp/apic.h>
    48 #include <arch/smp/mps.h>
    49 #endif /* CONFIG_SMP */
    50 
    51 #include <smp/smp.h>
    52 
    5345#include <arch/mm/memory_init.h>
    5446#include <mm/heap.h>
     
    5749#include <mm/tlb.h>
    5850#include <mm/vm.h>
    59 
    6051#include <synch/waitq.h>
    61 
    6252#include <arch/arch.h>
    6353#include <arch.h>
    6454#include <arch/faddr.h>
    65 
    6655#include <typedefs.h>
    6756
    68 config_t config;
     57#ifdef CONFIG_SMP
     58#include <arch/smp/apic.h>
     59#include <arch/smp/mps.h>
     60#endif /* CONFIG_SMP */
     61#include <smp/smp.h>
     62
     63config_t config;        /**< Global configuration structure. */
     64
    6965context_t ctx;
    7066
     
    9894 *
    9995 * Initializes the kernel by bootstrap CPU.
     96 * This function passes control directly to
     97 * main_bsp_separated_stack().
    10098 *
    10199 * Assuming interrupts_disable().
     
    205203                panic("can't create kinit thread\n");
    206204        thread_ready(t);
     205
    207206        /*
    208207         * This call to scheduler() will return to kinit,
     
    219218 * Executed by application processors, temporary stack
    220219 * is at ctx.sp which was set during BP boot.
     220 * This function passes control directly to
     221 * main_ap_separated_stack().
    221222 *
    222223 * Assuming interrupts_disable()'d.
  • generic/src/proc/scheduler.c

    rb524c5e0 r5fe5f1e  
    398398 *
    399399 * The thread scheduling procedure.
     400 * Passes control directly to
     401 * scheduler_separated_stack().
    400402 *
    401403 */
Note: See TracChangeset for help on using the changeset viewer.