From: Ben Gras Date: Tue, 17 Jan 2006 15:53:43 +0000 (+0000) Subject: Made memory driver notice about location in DS a debug statement. X-Git-Tag: v3.1.2a~440 X-Git-Url: http://zhaoyanbai.com/repos/icons/jhe061.png?a=commitdiff_plain;h=c452baf68d91491e5d98d659ee14139d097eaa05;p=minix.git Made memory driver notice about location in DS a debug statement. --- diff --git a/drivers/memory/memory.c b/drivers/memory/memory.c index 52162d51e..347efc63c 100644 --- a/drivers/memory/memory.c +++ b/drivers/memory/memory.c @@ -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))) {