Changeset 0132630 in mainline for generic/src/main/kinit.c


Ignore:
Timestamp:
2006-01-03T21:55:31Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b524c5e0
Parents:
93e90c7
Message:

Add 'version' and 'cpus' kconsole commands.
Remove leading p from names of p* commands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/main/kinit.c

    r93e90c7 r0132630  
    7070{
    7171        thread_t *t;
    72         int i;
    7372#ifdef CONFIG_USERSPACE
    7473        vm_t *m;
     
    101100         * Now that all CPUs are up, we can report what we've found.
    102101         */
    103         for (i = 0; i < config.cpu_count; i++) {
    104                 if (cpus[i].active)
    105                         cpu_print_report(&cpus[i]);
    106                 else
    107                         printf("cpu%d: not active\n", i);
    108         }
     102        cpu_list();
    109103
    110104#ifdef CONFIG_SMP
    111105        if (config.cpu_count > 1) {
     106                int i;
     107               
    112108                /*
    113109                 * For each CPU, create its load balancing thread.
Note: See TracChangeset for help on using the changeset viewer.