Changeset 41fa6f2 in mainline for generic/src/console/cmd.c
- Timestamp:
- 2006-03-16T17:01:51Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 46579c66
- Parents:
- 6eb103c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/console/cmd.c
r6eb103c r41fa6f2 294 294 }; 295 295 296 static int cmd_hello(cmd_arg_t *argv); 297 static cmd_info_t hello_info = { 298 .name = "hello", 299 .description = "Hello Message", 300 .func = cmd_hello, 301 .argc = 0 302 }; 303 296 304 /** Data and methods for 'cpus' command. */ 297 305 static int cmd_cpus(cmd_arg_t *argv); … … 335 343 &zones_info, 336 344 &zone_info, 345 &hello_info, 337 346 NULL 338 347 }; … … 676 685 return 1; 677 686 } 687 688 689 int 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.