change messy CREATEPDE macro to clean little function.
commitf250bfaa13e97c82bb6d118dd8b9aad42576f371
authorBen Gras <ben@minix3.org>
Thu, 18 Mar 2010 13:35:41 +0000 (18 13:35 +0000)
committerBen Gras <ben@minix3.org>
Thu, 18 Mar 2010 13:35:41 +0000 (18 13:35 +0000)
tree55de49181a328a79694278d4a744047314049bd2
parentc3e73f0793a9d3b17ee2a1c45ea5771ad7ff5126
change messy CREATEPDE macro to clean little function.

forget about the dirtypde bitmap and WIPEPDE/DONEPDE macros too.

check if mapping happens to already be in place, and if so, don't
reload cr3 (on the account of that mapping, that is).

don't reload cr3 unconditionally.
kernel/arch/i386/klib386.S
kernel/arch/i386/memory.c
kernel/arch/i386/mpx386.S