Made memory driver notice about location in DS a debug statement.

This commit is contained in:
Ben Gras 2006-01-17 15:53:43 +00:00
parent b1ac60a03b
commit c452baf68d

View 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))) {