Elf loader 32/64 bit checks
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 26 Jun 2013 00:33:35 +0000 (17:33 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 26 Jun 2013 05:20:24 +0000 (22:20 -0700)
commit583bb358f1308047cf18a26d50e6f865a41e8856
tree936cfe0ae4907bac485a4ea06f1f21f3137dd796
parenta278adac345b5f48282cda9cccc244e7c2f7a9a3
Elf loader 32/64 bit checks

KERN64 was a riscv-only thing.  CONFIG_64BIT is arch-indep (and set by
Kconfig).  Also, x86_64 can't handle 32 bit elves, though riscv can.
kern/arch/riscv/arch.h
kern/src/elf.c