Changeset 328f2934 in mainline for arch/ia64/src/mm/frame.c


Ignore:
Timestamp:
2005-12-04T19:37:13Z (20 years ago)
Author:
Sergey Bondari <bondari@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cf585c9
Parents:
d7ac642
Message:

Buddy allocator for physical memory complete implementation.
Tested on IA32, AMD64, MIPS32. RWLock Test #5 is not passed.
NOTE: Other architectures could be broken (but should not be)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/mm/frame.c

    rd7ac642 r328f2934  
    3434void frame_arch_init(void)
    3535{
    36         zone_t *z;
    37        
    38         z = zone_create(0, config.memory_size, 0);
    39         if (!z) {
    40                 panic("Can't allocate zone (%dB).\n", config.memory_size);
    41         }
    42         zone_attach(z);
     36        zone_create_in_region(0, config.memory_size & ~(FRAME_SIZE-1));
    4337}
Note: See TracChangeset for help on using the changeset viewer.