Rev 1829 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1829 | Rev 1832 | ||
---|---|---|---|
Line 77... | Line 77... | ||
77 | pte.present = 1; |
77 | pte.present = 1; |
78 | pte.writeable = 1; |
78 | pte.writeable = 1; |
79 | pte.frame_address = ADDR2PFN((uintptr_t) start_info.shared_info); |
79 | pte.frame_address = ADDR2PFN((uintptr_t) start_info.shared_info); |
80 | xen_update_va_mapping(&shared_info, pte, UVMF_INVLPG); |
80 | xen_update_va_mapping(&shared_info, pte, UVMF_INVLPG); |
81 | 81 | ||
- | 82 | pte.present = 1; |
|
- | 83 | pte.writeable = 1; |
|
- | 84 | pte.frame_address = start_info.console_mfn; |
|
- | 85 | xen_update_va_mapping(&console_page, pte, UVMF_INVLPG); |
|
- | 86 | ||
82 | xen_set_callbacks(XEN_CS, xen_callback, XEN_CS, xen_failsafe_callback); |
87 | xen_set_callbacks(XEN_CS, xen_callback, XEN_CS, xen_failsafe_callback); |
83 | 88 | ||
84 | /* Create identity mapping */ |
89 | /* Create identity mapping */ |
85 | 90 | ||
86 | meminfo.start = ADDR2PFN(ALIGN_UP(KA2PA(start_info.ptl0), PAGE_SIZE)) + start_info.pt_frames; |
91 | meminfo.start = ADDR2PFN(ALIGN_UP(KA2PA(start_info.ptl0), PAGE_SIZE)) + start_info.pt_frames; |