mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Updated git version to 0.5dev.
This commit is contained in:
parent
1b7dc2d817
commit
5082e6523c
2 changed files with 7 additions and 7 deletions
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Add table
Reference in a new issue