v8080: fix up the fork copier
authorAlan Cox <alan@linux.intel.com>
Sun, 10 Feb 2019 16:02:28 +0000 (16:02 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 10 Feb 2019 16:02:28 +0000 (16:02 +0000)
commit275f24eaa4250b7c42898c85b391047f74e559a0
tree20b90ffd9d2a0734bd13b5c6817e3bc14ba779cf
parentedfeefd32721a9bc604923dcc26ce78ca75a5d38
v8080: fix up the fork copier

Leave some debug in for now.

With this in place we get a shell prompt - then task switch and die

fork() is really slow. For 8080 we definitely need some smarter logic here
to only copy 0->brk and sp->top and clean up as needed in brk().
Kernel/platform-v8080/README
Kernel/platform-v8080/tricks.s