Subversion Repositories HelenOS

Rev

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

Rev 3022 Rev 4055
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
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
/** @addtogroup arm32mm
29
/** @addtogroup arm32mm
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 *  @brief Frame related functions.
33
 *  @brief Frame related functions.
34
 */
34
 */
Line 47... Line 47...
47
{
47
{
48
    /* all memory as one zone */
48
    /* all memory as one zone */
49
    zone_create(0, ADDR2PFN(machine_get_memory_size()),
49
    zone_create(0, ADDR2PFN(machine_get_memory_size()),
50
        BOOT_PAGE_TABLE_START_FRAME + BOOT_PAGE_TABLE_SIZE_IN_FRAMES, 0);
50
        BOOT_PAGE_TABLE_START_FRAME + BOOT_PAGE_TABLE_SIZE_IN_FRAMES, 0);
51
    last_frame = machine_get_memory_size();
51
    last_frame = machine_get_memory_size();
52
 
52
   
53
    /* blacklist boot page table */
53
    /* blacklist boot page table */
54
    frame_mark_unavailable(BOOT_PAGE_TABLE_START_FRAME,
54
    frame_mark_unavailable(BOOT_PAGE_TABLE_START_FRAME,
55
        BOOT_PAGE_TABLE_SIZE_IN_FRAMES);
55
        BOOT_PAGE_TABLE_SIZE_IN_FRAMES);
56
}
56
}
57
 
57