]> Zhao Yanbai Git Server - minix.git/commitdiff
Made memory driver notice about location in DS a debug statement.
authorBen Gras <ben@minix3.org>
Tue, 17 Jan 2006 15:53:43 +0000 (15:53 +0000)
committerBen Gras <ben@minix3.org>
Tue, 17 Jan 2006 15:53:43 +0000 (15:53 +0000)
drivers/memory/memory.c

index 52162d51e2bc3c93fb3202e94296bc2105066b35..347efc63c3fa3fa0a20ba9437bc08d4eccd44313 100644 (file)
@@ -340,8 +340,10 @@ message *m_ptr;                            /* pointer to control message */
        if (OK != (s = _taskcall(DS_PROC_NR, DS_PUBLISH, &m))) {
                panic("MEM","Couldn't store RAM disk details at DS.",s);
        }
+#if DEBUG
        printf("MEM stored size %u and base %u at DS, status %d\n",
            ramdev_size, ramdev_base, s);
+#endif
 
        if (OK != (s=sys_segctl(&m_seg[RAM_DEV], (u16_t *) &s, 
                (vir_bytes *) &s, ramdev_base, ramdev_size))) {