Changeset 1b20da0 in mainline for kernel/generic/src/log/log.c
- Timestamp:
- 2018-02-28T17:52:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3061bc1
- Parents:
- df6ded8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/log/log.c
rdf6ded8 r1b20da0 92 92 */ 93 93 void log_init(void) 94 { 94 { 95 95 event_set_unmask_callback(EVENT_KLOG, log_update); 96 96 atomic_set(&log_inited, true); … … 112 112 113 113 /** Append data to the currently open log entry. 114 * 114 * 115 115 * This function requires that the log_lock is acquired by the caller. 116 116 */ … … 143 143 144 144 /** Begin writing an entry to the log. 145 * 145 * 146 146 * This acquires the log and output buffer locks, so only calls to log_* functions should 147 147 * be used until calling log_end. … … 167 167 168 168 /** Finish writing an entry to the log. 169 * 169 * 170 170 * This releases the log and output buffer locks. 171 171 */ … … 233 233 234 234 /** Append a message to the currently being written entry. 235 * 235 * 236 236 * Requires that an entry has been started using log_begin() 237 237 */ … … 253 253 254 254 /** Append a message to the currently being written entry. 255 * 255 * 256 256 * Requires that an entry has been started using log_begin() 257 257 */ … … 269 269 270 270 /** Log a message to the kernel log. 271 * 271 * 272 272 * This atomically appends a log entry. 273 273 * The resulting message should not contain a trailing newline, as the log … … 339 339 340 340 if (entry_len > PAGE_SIZE) { 341 /* 341 /* 342 342 * Since we limit data transfer 343 343 * to uspace to a maximum of PAGE_SIZE
Note:
See TracChangeset
for help on using the changeset viewer.