Changeset 7e4e532 in mainline for arch


Ignore:
Timestamp:
2006-02-08T23:37:38Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
874878a
Parents:
bb68433
Message:

Reimplement ASID stealing logic.
This time, hopefully, with correct synchronization.

Location:
arch
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/include/mm/asid.h

    rbb68433 r7e4e532  
    3838typedef int asid_t;
    3939
    40 #define ASID_MAX_ARCH           0
     40#define ASID_MAX_ARCH           3
    4141
    42 #define asid_install(as)
     42#define asid_get()              (ASID_START+1)
    4343
    4444#endif
  • arch/ia64/src/mm/frame.c

    rbb68433 r7e4e532  
    4444       
    4545        /*
    46         * Workaround to prevent slab allocator from allocating frame 0.
    47         * Remove the following statement when the kernel is no longer
     46        * Workaround to prevent slab allocator from allocating frame 0.
     47        * Remove the following statement when the kernel is no longer
    4848         * identity mapped.
    49         */
     49        */
    5050        frame_mark_unavailable(0, 1);
    5151
  • arch/ppc32/include/mm/asid.h

    rbb68433 r7e4e532  
    3232typedef int asid_t;
    3333
    34 #define ASID_MAX_ARCH   0
     34#define ASID_MAX_ARCH   3
    3535
    36 #define asid_install(as)
     36#define asid_get()      (ASID_START+1)
    3737
    3838#endif
  • arch/sparc64/src/mm/frame.c

    rbb68433 r7e4e532  
    3434void frame_arch_init(void)
    3535{
    36         zone_create(0, config.memory_size >> FRAME_WIDTH, ADDR2PFN(ALIGN_UP(config.base + config.kernel_size, FRAME_SIZE)), 0);
     36        zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0);
    3737
    3838        /*
Note: See TracChangeset for help on using the changeset viewer.