]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - kernel/io/console/misc.cc
minor doc updates
[polintos/scott/priv.git] / kernel / io / console / misc.cc
index 518e38bf0410ab88e5ed64d9a64a1d11c6b44aba..fe91d18aa3ec26d8399dbc91875b8187a86b1c77 100644 (file)
 
 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>((octet *)data, len), &len64);
+               write(Array<octet, ORBMM>((octet *)data, len), &len64);
        }
        
        // All consoles will set this to themselves; the last console
@@ -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);