Changeset 673104e in mainline


Ignore:
Timestamp:
2005-06-03T15:10:05Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d1a184f
Parents:
70527f1
Message:

doxygen-style comments
NDEBUG in Makefile.config

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • include/userspace.h

    r70527f1 r673104e  
    3030#define __USERSPACE_H__
    3131
    32 extern void userspace(void) __attribute__ ((noreturn));
     32extern void userspace(void) __attribute__ ((noreturn)); /**< Switch to user-space (CPU user priviledge level) */
    3333
    3434#endif
  • src/Makefile.config

    r70527f1 r673104e  
    1010# Improved support for hyperthreading
    1111HT=__HT__
     12
     13# General debuging and assert checking disable
     14#NDEBUG=__NDEBUG__
    1215
    1316# Deadlock detection support for spinlocks.
  • src/cpu/cpu.c

    r70527f1 r673104e  
    4444cpu_t *cpus;
    4545
     46
     47/** Initialize CPUs
     48 *
     49 * Initialize kernel CPUs support.
     50 *
     51 */
    4652void cpu_init(void) {
    4753        int i, j;
  • src/main/main.c

    r70527f1 r673104e  
    8585static void main_ap_separated_stack(void);
    8686
    87 /*
    88  * Executed by the bootstrap processor. cpu_priority_high()'d
     87
     88/** Bootstrap CPU main kernel routine
     89 *
     90 * Initializes the kernel by bootstrap CPU.
     91 *
     92 * Assuming cpu_priority_high().
     93 *
    8994 */
    9095void main_bsp(void)
     
    103108}
    104109
     110
     111/** Bootstrap CPU main kernel routine stack wrapper
     112 *
     113 * Second part of main_bsp().
     114 *
     115 */
    105116void main_bsp_separated_stack(void) {
    106117        vm_t *m;
     
    162173}
    163174
     175
    164176#ifdef __SMP__
    165 /*
    166  * Executed by application processors. cpu_priority_high()'d
    167  * Temporary stack is at ctx.sp which was set during BP boot.
     177/** Application CPUs main kernel routine
     178 *
     179 * Executed by application processors, temporary stack
     180 * is at ctx.sp which was set during BP boot.
     181 *
     182 * Assuming  cpu_priority_high().
     183 *
    168184 */
    169185void main_ap(void)
     
    199215}
    200216
     217
     218/** Application CPUs main kernel routine stack wrapper
     219 *
     220 * Second part of main_ap().
     221 *
     222 */
    201223void main_ap_separated_stack(void)
    202224{
Note: See TracChangeset for help on using the changeset viewer.