Changeset a7a1063 in mainline for arch/ia32/src/pm.c


Ignore:
Timestamp:
2005-06-07T00:41:39Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d896525
Parents:
b0bf501
Message:

SMP recovery patch #2 (SMP is no longer broken !!!).
Fix missing KA2PA() operation in ap.S which was causing page faults during AP early initialization.
Fix bug in map_page_to_frame(): 'root' was interpretted as kernel address while read_dba() returns physical address.
Make references to page directory and page tables use kernel addresses instead of physical addresses.

Massive frame allocation code cleanup.
Basically revert to what we had had before implementation of userspace.

Usual cosmetics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/pm.c

    rb0bf501 ra7a1063  
    132132void pm_init(void)
    133133{
    134         struct descriptor *gdt_p = (struct descriptor *) gdtr.base;
     134        struct descriptor *gdt_p = (struct descriptor *) PA2KA(gdtr.base);
    135135
    136136        /*
Note: See TracChangeset for help on using the changeset viewer.