summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* hello.c: try to provoke an error on fouling of the high bits of %espHEADmasterH. Peter Anvin2014-04-281-1/+25
| | | | | | | To try to help track down the problem with the high bits of %esp, explicitly try to error out on fouling. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* run16: fix comments for the "contents" typeH. Peter Anvin2014-01-241-2/+2
| | | | | | Correct the meaning of the "contents" fields. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* test16/hello.c: drop unnecessary \rH. Peter Anvin2014-01-221-1/+1
| | | | | | We are still outputting to a Unix device, so the \r is unnecessary. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* conio: separate out write() from puts()H. Peter Anvin2014-01-221-4/+11
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* run16: mark jump16() as noreturnH. Peter Anvin2014-01-221-2/+4
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* run16: load ELF files with proper memory protectionH. Peter Anvin2014-01-222-34/+137
| | | | | | | Instead of binary files, run ELF files; this allows us to do memory protection and actually knowing the load and entry point addresses. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* .gitignore: add emacs temp filesH. Peter Anvin2014-01-221-0/+2
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* lib16: pass argc and argv to main(), convert crt0 to CH. Peter Anvin2014-01-222-7/+8
| | | | | | | Pass the usual arguments to main(). Right now there is no strong reason to write _start in assembly, so don't. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* run16: pass command-line tail on to the 16-bit programH. Peter Anvin2014-01-221-4/+30
| | | | | | We might as well allow the program the benefit of argc and argv... Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Introduce SYS structure; add <string.h>H. Peter Anvin2014-01-225-10/+47
| | | | | | | | Introduce SYS structure instead of magic pointers. Put it at 0xf000 so the stack ends up in its own page (allows us to set up page protections.) Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* run16: clean up warningsH. Peter Anvin2014-01-221-4/+3
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Sanitize the Makefile a bitH. Peter Anvin2014-01-222-4/+18
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Initial checkinH. Peter Anvin2014-01-228-0/+239