Changeset 4e49572 in mainline for generic/src/console/cmd.c
- Timestamp:
- 2006-03-17T11:41:05Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 23d22eb
- Parents:
- 5a7d9d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/console/cmd.c
r5a7d9d1 r4e49572 303 303 }; 304 304 305 static int cmd_hello(cmd_arg_t *argv);306 static cmd_info_t hello_info = {307 .name = "hello",308 .description = "Hello Message",309 .func = cmd_hello,310 .argc = 0311 };312 313 305 /** Data and methods for 'cpus' command. */ 314 306 static int cmd_cpus(cmd_arg_t *argv); … … 353 345 &zones_info, 354 346 &zone_info, 355 &hello_info,356 347 NULL 357 348 }; … … 706 697 return 1; 707 698 } 708 709 710 int cmd_hello(cmd_arg_t *argv)711 {712 printf("\nHello, World !!!\n");713 return 1;714 }
Note:
See TracChangeset
for help on using the changeset viewer.