Also define CONFIG_LEGACY_EXEC for now, and add
an Applications/util linker script for this target.
However, userspace doesn't successfully execute yet.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
--- /dev/null
+define basesympat __sectionbase_%s__
+define lensympat __sectionlen_%s__
+section .header load 0x0800
+section .text
+section .text.startup
+section .data
+section .bss
#define SWAPTOP 0x8000 /* uarea so its a round number of sectors */
#define MAX_SWAPS 32
+/* Until the Becker and floppy driver support raw I/O */
+#define CONFIG_LEGACY_EXEC
+
/* Video terminal, not a serial tty */
#define CONFIG_VT
/* Simple text mode */
#define TTYDEV BOOT_TTY /* Device used by kernel for messages, panics */
#define NBUFS 6 /* Number of block buffers */
#define NMOUNTS 2 /* Number of mounts at a time */
+
+#define swap_map(x) ((uint8_t *)(x))