Rev 576 | Rev 687 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 576 | 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/page.h> |
32 | #include <mm/page.h> |
32 | #include <mm/frame.h> |
33 | #include <mm/frame.h> |
33 | #include <arch/interrupt.h> |
34 | #include <arch/interrupt.h> |
34 | #include <arch/asm.h> |
35 | #include <arch/asm.h> |
Line 42... | Line 43... | ||
42 | { |
43 | { |
43 | __address dba; |
44 | __address dba; |
44 | __address cur; |
45 | __address cur; |
45 | 46 | ||
46 | if (config.cpu_active == 1) { |
47 | if (config.cpu_active == 1) { |
- | 48 | page_operations = &page_pt_operations; |
|
- | 49 | ||
47 | dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME); |
50 | dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME); |
48 | memsetb(dba, PAGE_SIZE, 0); |
51 | memsetb(dba, PAGE_SIZE, 0); |
49 | 52 | ||
50 | bootstrap_dba = dba; |
53 | bootstrap_dba = dba; |
51 | 54 |