Changeset 171f9a1 in mainline for uspace/app/klog/klog.c
- Timestamp:
- 2009-04-03T20:39:33Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- cb01e1e
- Parents:
- 7a2c479
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/klog/klog.c
r7a2c479 r171f9a1 48 48 #define NAME "klog" 49 49 50 #define KLOG_SIZE PAGE_SIZE 50 #define KLOG_SIZE PAGE_SIZE 51 #define KLOG_LENGTH (KLOG_SIZE / sizeof(wchar_t)) 51 52 52 53 /* Pointer to klog area */ 53 static char*klog;54 static wchar_t *klog; 54 55 55 56 static void interrupt_received(ipc_callid_t callid, ipc_call_t *call) … … 62 63 size_t i; 63 64 for (i = klog_len - klog_stored; i < klog_len; i++) 64 putchar(klog[(klog_start + i) % KLOG_ SIZE]);65 putchar(klog[(klog_start + i) % KLOG_LENGTH]); 65 66 66 67 async_serialize_end();
Note:
See TracChangeset
for help on using the changeset viewer.