Bugfix: Fixed some major bugs.
Bugfix: The calculation of the addresses to be freed was wrong
The function pm_getTask is now used instead of a loop in some functions
Added new function vmm_ContextUnMap to unmap pages in a specific context
Fixed function deleteContext which now frees all pages of the context.
Fixed function vmm_ContextUnMap and added/changed some typecasts in this
function
Fixed the increment value of the iterator for freeing the userpages
Bugfix: Removed wrong unmapping of PML4 table
Added missing typecast
Added function declaration
Changed the unmap function to the right one
Added some conditional for defining EOF
Added some missing typecasts, included missing file and removed unused
variable
Bugfix: If the next block had no next block there was an error with a
null pointer exception in userspace because then the value was written
to a null pointer
Complete rewrite of function realloc
Bugfix: The bits for enabling the Cache were not always set because the
bits were only converted and not cleared.