]> Zhao Yanbai Git Server - minix.git/commit
kernel: fix for vm_init that triggered assert(ptproc == newptproc)
authorBen Gras <ben@minix3.org>
Mon, 7 Jun 2010 22:21:45 +0000 (22:21 +0000)
committerBen Gras <ben@minix3.org>
Mon, 7 Jun 2010 22:21:45 +0000 (22:21 +0000)
commita09a8d4f3edbd5dc83ae89294585bdca08f66933
tree72236ea452990f38156ead56708a0dd59e451cbf
parent277ff6f2ce3cbe7c250c64459384bfdea4d876a9
kernel: fix for vm_init that triggered assert(ptproc == newptproc)

 - zero cr3 in vm_init() to avoid switch_address_space() not doing anything.

 - add vm_stop() to disable paging on shutdown.
kernel/arch/i386/arch_system.c
kernel/arch/i386/klib.S
kernel/arch/i386/memory.c
kernel/arch/i386/proto.h
kernel/proto.h