Updated git version to 0.5dev.

This commit is contained in:
Jonas 'Sortie' Termansen 2011-10-10 20:14:37 +02:00
parent 1b7dc2d817
commit 5082e6523c
2 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@ REMOTEUSER=sortie
REMOTECOPYDIR:=/home/$(REMOTEUSER)/Desktop/MaxsiOS
MODULES=libmaxsi hello games mkinitrd utils sortix
VERSION=0.4
VERSION=0.5dev
DEBNAME:=sortix_$(VERSION)_$(CPU)
DEBSRCNAME:=sortix_$(VERSION)
DEBDIR:=builds/$(DEBNAME)

View File

@ -43,7 +43,7 @@ namespace Sortix
namespace Memory
{
addr_t currentdir;
addr_t currentdir;
void InitCPU();
void AllocateKernelPMLs();
@ -65,11 +65,11 @@ namespace Sortix
typedef const multiboot_memory_map_t* mmap_t;
// Loop over every detected memory region.
for (
mmap_t mmap = (mmap_t) bootinfo->mmap_addr;
(addr_t) mmap < bootinfo->mmap_addr + bootinfo->mmap_length;
mmap = (mmap_t) ((addr_t) mmap + mmap->size + sizeof(mmap->size))
)
for (
mmap_t mmap = (mmap_t) bootinfo->mmap_addr;
(addr_t) mmap < bootinfo->mmap_addr + bootinfo->mmap_length;
mmap = (mmap_t) ((addr_t) mmap + mmap->size + sizeof(mmap->size))
)
{
// Check that we can use this kind of RAM.
if ( mmap->type != 1 ) { continue; }