Kernel: zeta-v2: Simplify and improve boot code.
authorWill Sowerbutts <will@sowerbutts.com>
Fri, 6 Jan 2017 19:07:04 +0000 (19:07 +0000)
committerWill Sowerbutts <will@sowerbutts.com>
Sun, 8 Jan 2017 23:05:11 +0000 (23:05 +0000)
commit2e533b1c19e525cfa9e8d91c83b803a46f2f2dee
tree7105295a680ec6fb78311f2d1b8e2e0f4d6fc062
parent84b9b4e3ba178687adbe7f57d22a15f60a724132
Kernel: zeta-v2: Simplify and improve boot code.

The kernel image is unlikely to grow larger than 48KB so we can
simplyify the process for relocating the kernel to the correct memory
banks when booting.

Now that we have ROM disk support we can drop copying the RAM disk
contents on boot (userspace could do this by reading from /dev/physmem
or /dev/rd1 if it were still desirable).

We now stop the floppy drive motors on boot so they don't spin forever
where we have booted from floppy disk.
Kernel/platform-zeta-v2/bootrom.s
Kernel/platform-zeta-v2/crt0.s
Kernel/platform-zeta-v2/main.c
Kernel/platform-zeta-v2/zeta-v2.s