Skip to content

Commit

Permalink
It actually works (I think) now :)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkie committed Oct 3, 2009
1 parent fe0be0a commit e238bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/arch/x86_64/architecture/context.d
Expand Up @@ -43,7 +43,7 @@ public:

// Allocate Stack
stack = Heap.allocPageNoMap();
Paging.mapRegion(null, stack, 4096, cast(void*)0xe00000);
Paging.mapRegion(null, stack, 4096, cast(void*)0xe00000, true);
stack = cast(void*)0xe00000;
kprintfln!("c")();

Expand Down Expand Up @@ -112,7 +112,7 @@ public:

void* mapRegion(void* physAddr, ulong length) {
void* addr = resourceHeap;
resourceHeap += Paging.mapRegion(null, physAddr, length, cast(void*)resourceHeap);
resourceHeap += Paging.mapRegion(null, physAddr, length, cast(void*)resourceHeap, true);
return addr;
}

Expand Down

0 comments on commit e238bf8

Please sign in to comment.