Subversion Repositories HelenOS-historic

Rev

Rev 1760 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1760 Rev 1767
Line 272... Line 272...
272
                flags |= PAGE_GLOBAL;
272
                flags |= PAGE_GLOBAL;
273
            page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, flags);
273
            page_mapping_insert(AS_KERNEL, PA2KA(cur), cur, flags);
274
        }
274
        }
275
       
275
       
276
        /* Allocate page hash table */
276
        /* Allocate page hash table */
277
        phte_t *physical_phte = (phte_t *) frame_alloc(PHT_ORDER, FRAME_KA | FRAME_PANIC);
277
        phte_t *physical_phte = (phte_t *) frame_alloc(PHT_ORDER, FRAME_KA | FRAME_ATOMIC);
278
       
278
       
279
        ASSERT((__address) physical_phte % (1 << PHT_BITS) == 0);
279
        ASSERT((__address) physical_phte % (1 << PHT_BITS) == 0);
280
        pht_init();
280
        pht_init();
281
       
281
       
282
        asm volatile (
282
        asm volatile (