Changeset 021d471 in mainline for generic/src/main/kinit.c


Ignore:
Timestamp:
2006-02-06T15:56:40Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b9f195
Parents:
f5935ed
Message:

Added MIPS userspace. Currently can't make it work in gxemul.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/main/kinit.c

    rf5935ed r021d471  
    145145                 */
    146146               
    147                 if (KA2PA(config.init_addr) % FRAME_SIZE)
     147                if (config.init_addr % FRAME_SIZE)
    148148                        panic("config.init_addr is not frame aligned");
    149149               
     
    162162                 */
    163163               
    164                 frame = KA2PA(config.init_addr);
     164                frame = config.init_addr;
     165                if (IS_KA(frame))
     166                        frame = KA2PA(frame);
     167
    165168                frames = config.init_size / FRAME_SIZE;
    166169                if (config.init_size % FRAME_SIZE > 0)
Note: See TracChangeset for help on using the changeset viewer.