Permalink
Browse files

moar void* -> ubyte*

  • Loading branch information...
wolfwood committed Aug 13, 2011
1 parent 7a05d20 commit 4faa268246f8c7807e869e61075e1e3dd530129e
Showing with 4 additions and 4 deletions.
  1. +4 −4 kernel/arch/x86_64/architecture/cpu.d
@@ -334,7 +334,7 @@ public:
return ErrorVal.Success;
}
- void* stack() {
+ ubyte* stack() {
return _stacks[identifier];
}
@@ -672,7 +672,7 @@ private:
}
}
- private void* _stacks[256];
+ private ubyte* _stacks[256];
// Will create and install a new kernel stack
// Note: You have to preserve the current stack
@@ -682,8 +682,8 @@ private:
stackSpace[0..4096] = currentStack[0..4096];
- _stacks[identifier] = cast(void*)stackSpace + 4096;
- TSS.table.RSP0 = cast(void*)stackSpace + 4096;
+ _stacks[identifier] = cast(ubyte*)stackSpace + 4096;
+ TSS.table.RSP0 = cast(ubyte*)stackSpace + 4096;
StackFrame* curr = null;

0 comments on commit 4faa268

Please sign in to comment.