Subversion Repositories HelenOS

Rev

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

Rev 3940 Rev 3973
Line 39... Line 39...
39
#include <arch/mm/frame.h>
39
#include <arch/mm/frame.h>
40
#include <bitops.h>
40
#include <bitops.h>
41
#include <debug.h>
41
#include <debug.h>
42
#include <align.h>
42
#include <align.h>
43
#include <config.h>
43
#include <config.h>
44
#include <ddi/ddi.h>
-
 
45
 
-
 
46
/** Physical memory area for devices. */
-
 
47
static parea_t dev_area;
-
 
48
 
44
 
49
#ifdef CONFIG_SMP
45
#ifdef CONFIG_SMP
50
/** Entries locked in DTLB of BSP.
46
/** Entries locked in DTLB of BSP.
51
 *
47
 *
52
 * Application processors need to have the same locked entries in their DTLBs as
48
 * Application processors need to have the same locked entries in their DTLBs as
Line 166... Line 162...
166
    }
162
    }
167
   
163
   
168
    return virtaddr;
164
    return virtaddr;
169
}
165
}
170
 
166
 
171
void hw_area(void)
-
 
172
{
-
 
173
    dev_area.pbase = end_frame;
-
 
174
    dev_area.frames = SIZE2FRAMES(0x7ffffffffff - end_frame);
-
 
175
    ddi_parea_register(&dev_area);
-
 
176
}
-
 
177
 
-
 
178
/** @}
167
/** @}
179
 */
168
 */