Changeset 41fa6f2 in mainline for generic/src/console/cmd.c


Ignore:
Timestamp:
2006-03-16T17:01:51Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
46579c66
Parents:
6eb103c
Message:

Itanium FPU Lazy context switching… but not so much tested

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/console/cmd.c

    r6eb103c r41fa6f2  
    294294};
    295295
     296static int cmd_hello(cmd_arg_t *argv);
     297static cmd_info_t hello_info = {
     298        .name = "hello",
     299        .description = "Hello Message",
     300        .func = cmd_hello,
     301        .argc = 0
     302};
     303
    296304/** Data and methods for 'cpus' command. */
    297305static int cmd_cpus(cmd_arg_t *argv);
     
    335343        &zones_info,
    336344        &zone_info,
     345        &hello_info,
    337346        NULL
    338347};
     
    676685        return 1;
    677686}
     687
     688
     689int cmd_hello(cmd_arg_t *argv)
     690{
     691        printf("\nHello, World !!!\n");
     692        return 1;
     693}
Note: See TracChangeset for help on using the changeset viewer.