m5.c (9191:54423643dd88) | m5.c (9451:f56816facd25) |
---|---|
1/* 2 * Copyright (c) 2011 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 116 unchanged lines hidden (view full) --- 125 126void 127do_exit(int argc, char *argv[]) 128{ 129 if (argc > 1) 130 usage(); 131 132 uint64_t ints[1]; | 1/* 2 * Copyright (c) 2011 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 116 unchanged lines hidden (view full) --- 125 126void 127do_exit(int argc, char *argv[]) 128{ 129 if (argc > 1) 130 usage(); 131 132 uint64_t ints[1]; |
133 parse_int_args(argc, argv, ints, 2); | 133 parse_int_args(argc, argv, ints, 1); |
134 m5_exit(ints[0]); 135} 136 137void 138do_reset_stats(int argc, char *argv[]) 139{ 140 uint64_t ints[2]; 141 parse_int_args(argc, argv, ints, 2); --- 189 unchanged lines hidden --- | 134 m5_exit(ints[0]); 135} 136 137void 138do_reset_stats(int argc, char *argv[]) 139{ 140 uint64_t ints[2]; 141 parse_int_args(argc, argv, ints, 2); --- 189 unchanged lines hidden --- |