]> 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 09f8623edf1eb0f6097a82341bb503cb61c2d0d9..fe91d18aa3ec26d8399dbc91875b8187a86b1c77 100644 (file)
@@ -21,7 +21,7 @@ namespace Console {
        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);