Fixed two typos.

This commit is contained in:
Jacek Galowicz 2012-04-02 14:55:29 +02:00
parent da1e72f5b3
commit 72016236f1
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ int cpu_detection(void)
kprintf("The CPU owns the Advanced Vector Extensions (AVX). However, MetalSVM doesn't support AVX!\n");
if (has_fpu()) {
kputs("Found and initialize FPU!\n");
kputs("Found and initialized FPU!\n");
asm volatile ("fninit");
}

View file

@ -340,7 +340,7 @@ size_t map_region(size_t viraddr, size_t phyaddr, uint32_t npages, uint32_t flag
index = (viraddr >> 12) & 0x3FF;
if (pgt->entries[index] && !(flags & MAP_REMAP)) {
spinlock_unlock(pgd_lock);
kprintf("0x%x is already maped\n", viraddr);
kprintf("0x%x is already mapped\n", viraddr);
return 0;
}