Changeset 82 for trunk/src/os2ahci/libc.c
- Timestamp:
- Mar 2, 2011, 11:48:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/libc.c
r77 r82 246 246 247 247 /****************************************************************************** 248 * Print messages to COM248 * Print messages to serial port 249 249 * 250 250 * NOTES: This function uses a 1K buffer for the resulting message. Thus, … … 260 260 vsprintf(buf, fmt, va); 261 261 262 /* write debug message to COM1*/262 /* write debug message to serial port */ 263 263 for (s = buf; *s != '\0'; s++) { 264 264 … … 547 547 * Calibrate 'mdelay()' loop. This is done by setting up a 1 second timer 548 548 * with a callback that sets 'mdelay_done' to MD_CALIBRATION_END. Then it 549 * calls mdelay() with a large milliseond value a n initial delay loop counter550 * of 1,000,000. When the timer triggers, 'mdelay()' will stop and update551 * the delay loopcounter.549 * calls mdelay() with a large milliseond value as initial delay loop counter. 550 * When the timer triggers, 'mdelay()' will stop and update the delay loop 551 * counter. 552 552 * 553 553 * This function needs to be called at device driver init time. Since it uses
Note:
See TracChangeset
for help on using the changeset viewer.