Subversion Repositories HelenOS

Rev

Rev 2422 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2422 Rev 2435
Line 45... Line 45...
45
#include <print.h>
45
#include <print.h>
46
#include <align.h>
46
#include <align.h>
47
 
47
 
48
static parea_t rd_parea;        /**< Physical memory area for rd. */
48
static parea_t rd_parea;        /**< Physical memory area for rd. */
49
 
49
 
-
 
50
/**
-
 
51
 * RAM disk initialization routine. At this point, the RAM disk memory is shared
-
 
52
 * and information about the share is provided as sysinfo values to the userspace
-
 
53
 * tasks.
-
 
54
 * /  
50
int init_rd(rd_header * header, size_t size)
55
int init_rd(rd_header * header, size_t size)
51
{
56
{
52
    //printf("Header magic  %c%c%c%c\n",header->magic[0],header->magic[1],header->magic[2],header->magic[3]);
57
    //printf("Header magic  %c%c%c%c\n",header->magic[0],header->magic[1],header->magic[2],header->magic[3]);
53
 
58
 
54
    /* Identify RAM disk */
59
    /* Identify RAM disk */