kernel.debug: make debugwriters public

This commit is contained in:
Quinten Kock 2020-12-23 04:10:29 +01:00
parent 725b2bd873
commit 8b4bd0610b
1 changed files with 3 additions and 3 deletions

View File

@ -98,6 +98,6 @@ fn logWrite(context: void, data: []const u8) error{}!usize {
return data.len;
}
const CWriter = std.io.Writer(void, error{}, putcharWrite){.context = undefined};
const DWriter = std.io.Writer(void, error{}, debugWrite){.context = undefined};
const AWriter = std.io.Writer(void, error{}, logWrite){.context = undefined};
pub const CWriter = std.io.Writer(void, error{}, putcharWrite){.context = undefined};
pub const DWriter = std.io.Writer(void, error{}, debugWrite){.context = undefined};
pub const AWriter = std.io.Writer(void, error{}, logWrite){.context = undefined};