Subversion Repositories HelenOS-historic

Rev

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

Rev 326 Rev 329
Line 26... Line 26...
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
#include <arch/mm/frame.h>
29
#include <arch/mm/frame.h>
30
#include <mm/frame.h>
30
#include <mm/frame.h>
-
 
31
#include <arch/asm/boot.h>
-
 
32
#include <arch/mm/page.h>
31
 
33
 
32
void frame_arch_init(void)
34
void frame_arch_init(void)
33
{
35
{
34
    /* Disable first megabyte (God knows why) */
36
    /* Disable Everything until load address */
35
    frame_region_not_free(0, 1024*1024);
37
    frame_region_not_free(0, KA2PA(KERNEL_LOAD_ADDRESS));
36
}
38
}