diff options
| author | Michael Brown | 2006-12-22 02:35:21 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-22 02:35:21 +0100 |
| commit | 66a7ed23cb3fbfea574b79d3ca4aed9f626c6e3f (patch) | |
| tree | 614848e50f4a41f92d877ac1a4028652991fcf25 /src/include | |
| parent | ibft_fill_data() prototype change. (diff) | |
| download | ipxe-66a7ed23cb3fbfea574b79d3ca4aed9f626c6e3f.tar.gz ipxe-66a7ed23cb3fbfea574b79d3ca4aed9f626c6e3f.tar.xz ipxe-66a7ed23cb3fbfea574b79d3ca4aed9f626c6e3f.zip | |
Make start_timer() and stop_timer() robust against incorrect usage.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gpxe/retry.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/gpxe/retry.h b/src/include/gpxe/retry.h index 7291db234..57be432e2 100644 --- a/src/include/gpxe/retry.h +++ b/src/include/gpxe/retry.h @@ -15,7 +15,10 @@ struct retry_timer { struct list_head list; /** Timeout value (in ticks) */ unsigned long timeout; - /** Start time (in ticks) */ + /** Start time (in ticks) + * + * A start time of zero indicates a stopped timer. + */ unsigned long start; /** Retry count */ unsigned int count; |
