Changeset d43d2f7 in mainline for arch


Ignore:
Timestamp:
2005-12-06T19:42:04Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
090e7ea1
Parents:
795ff98
Message:

Cleanup and fixes.

Location:
arch
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/mm/page.c

    r795ff98 rd43d2f7  
    4444
    4545        if (config.cpu_active == 1) {
    46                 dba = frame_alloc(FRAME_KA | FRAME_PANIC, 0);
     46                dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME);
    4747                memsetb(dba, PAGE_SIZE, 0);
    4848
     
    6767                 */
    6868
    69                 dba = frame_alloc(FRAME_KA | FRAME_PANIC, 0);
     69                dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME);
    7070                memcpy((void *)dba, (void *)bootstrap_dba , PAGE_SIZE);
    7171                write_cr3(KA2PA(dba));
  • arch/ia32/src/mm/page.c

    r795ff98 rd43d2f7  
    4949
    5050        if (config.cpu_active == 1) {
    51                 dba = frame_alloc(FRAME_KA | FRAME_PANIC, 0);
     51                dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME);
    5252                memsetb(dba, PAGE_SIZE, 0);
    5353
     
    7171                 */
    7272
    73                 dba = frame_alloc(FRAME_KA | FRAME_PANIC, 0);
     73                dba = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME);
    7474                memcpy((void *)dba, (void *)bootstrap_dba , PAGE_SIZE);
    7575                write_cr3(KA2PA(dba));
  • arch/mips32/src/mm/page.c

    r795ff98 rd43d2f7  
    4040        __address ptl0;
    4141       
    42         ptl0 = frame_alloc(FRAME_KA | FRAME_PANIC, 0);
     42        ptl0 = frame_alloc(FRAME_KA | FRAME_PANIC, ONE_FRAME);
    4343        memsetb(ptl0, FRAME_SIZE, 0);
    4444       
Note: See TracChangeset for help on using the changeset viewer.