X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fio%2Fconsole%2Fmisc.cc;h=7da03244e01d4bfbafd0f560fdf15fbde6e45315;hb=188a395421d2ed7038735d0e3cac37255cf45755;hp=518e38bf0410ab88e5ed64d9a64a1d11c6b44aba;hpb=77bf9a95a836b14a243953e1fbd28c7c1106c59a;p=polintos%2Fscott%2Fpriv.git diff --git a/kernel/io/console/misc.cc b/kernel/io/console/misc.cc index 518e38b..7da0324 100644 --- a/kernel/io/console/misc.cc +++ b/kernel/io/console/misc.cc @@ -18,7 +18,7 @@ namespace IO { namespace Console { - void Console::write(char *data, size_t len) + void Console::write(const char *data, size_t len) { u64 len64 = len; write(Array((octet *)data, len), &len64); @@ -41,8 +41,6 @@ Lock::SpinLock printf_lock; // happens. If you really need that, you'll need to call snprintf // and primary_console->write yourself. -void vga_write(uint8_t *buf, u64 len); - size_t printf(const char *str, ...) { Lock::AutoSpinLockRecIRQ autolock(printf_lock);