Subversion Repositories HelenOS-historic

Rev

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

Rev 623 Rev 684
Line 25... Line 25...
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
#include <arch/mm/page.h>
29
#include <arch/mm/page.h>
-
 
30
#include <genarch/mm/page_pt.h>
30
#include <arch/mm/frame.h>
31
#include <arch/mm/frame.h>
31
#include <mm/frame.h>
32
#include <mm/frame.h>
32
#include <mm/page.h>
33
#include <mm/page.h>
33
#include <arch/types.h>
34
#include <arch/types.h>
34
#include <config.h>
35
#include <config.h>
Line 46... Line 47...
46
{
47
{
47
    __address dba;
48
    __address dba;
48
    __address cur;
49
    __address cur;
49
 
50
 
50
    if (config.cpu_active == 1) {
51
    if (config.cpu_active == 1) {
-
 
52
        page_operations = &page_pt_operations;
-
 
53
   
51
        dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME);
54
        dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME);
52
        memsetb(dba, PAGE_SIZE, 0);
55
        memsetb(dba, PAGE_SIZE, 0);
53
 
56
 
54
        bootstrap_dba = dba;
57
        bootstrap_dba = dba;
55
       
58