Changeset 156 for trunk/src/os2ahci/trace.c
- Timestamp:
- May 6, 2013, 7:57:39 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/trace.c
r154 r156 136 136 137 137 while (len) { 138 /* The following line causes filling the trace buffer to stop when full. 139 * Comment the following line to keep filling and see the last buffer of data. 140 * Uncomment the following line to stop filling / see the first buffer of data. 141 */ 142 if ( ((ahci_trace_buf.writep+1) & ahci_trace_buf.mask) == ahci_trace_buf.readp ) break; /* buffer is full */ 138 if ( !wrap_trace_buffer && (((ahci_trace_buf.writep+1) & ahci_trace_buf.mask) == ahci_trace_buf.readp) ) break; /* buffer is full */ 143 139 144 140 ahci_trace_buf.tbuf[ahci_trace_buf.writep] = *s++;
Note:
See TracChangeset
for help on using the changeset viewer.