Commit Graph

825 Commits

Author SHA1 Message Date
K. Lange
dace5d456b Various errno-related fixes 2018-07-18 10:25:01 +09:00
K. Lange
8df6b6a419 Add macro for libc to use for setting errno in syscall functions 2018-07-18 09:43:56 +09:00
K. Lange
c75b586829 Fix some error handling 2018-07-18 09:43:39 +09:00
K. Lange
1241011833 Use a macro to make virtualbox stuff easier to manage 2018-07-17 23:49:37 +09:00
K. Lange
57b92af84c Use -rtc base=locatime with qemu targets 2018-07-17 23:40:56 +09:00
K. Lange
a869fc5837 Remove the printed comments for 'make headless' 2018-07-17 23:39:14 +09:00
K. Lange
799ec420ac cat-img should support scaling to terminal width 2018-07-17 22:15:20 +09:00
K. Lange
60accf8088 Should only force 0-9 and ? as single-character variable names, not end of variable name 2018-07-17 21:33:05 +09:00
K. Lange
92ab1d99ac Slip some quick fixes into yutani.py 2018-07-17 21:16:48 +09:00
K. Lange
3cc0faab77 Add special argument variables 2018-07-17 20:14:53 +09:00
K. Lange
897fa4bef8 Better last_ret handling 2018-07-17 20:01:24 +09:00
K. Lange
fb061ce17e Add $? special variable 2018-07-17 19:54:12 +09:00
K. Lange
89f6398727 Fix default behavior for +rwx 2018-07-17 19:53:50 +09:00
K. Lange
eb680cd947 Allow sh to execute files 2018-07-17 19:44:43 +09:00
K. Lange
0fa8cc4143 Add chmod command 2018-07-17 19:44:23 +09:00
K. Lange
16905dc784 oops, kinda fix a+? 2018-07-17 19:44:15 +09:00
K. Lange
a161dbc998 Handle | and > without spaces 2018-07-17 17:22:25 +09:00
K. Lange
4873b141ec Properly support w/+ in stdio? 2018-07-17 17:09:22 +09:00
K. Lange
188b4b4a04 sh should truncate for new files 2018-07-17 17:08:44 +09:00
K. Lange
e7b2e5a006 write-out should truncate 2018-07-17 17:08:34 +09:00
K. Lange
ee3ca2ebd4 O_TRUNC needs write permissions 2018-07-17 17:08:24 +09:00
K. Lange
fdcd64e071 add script to run qemu directly with -kernel 2018-07-17 16:54:46 +09:00
K. Lange
b8c6ae5439 Shotty support for > and >> 2018-07-17 16:52:33 +09:00
K. Lange
888301e05b Support O_APPEND 2018-07-17 16:52:00 +09:00
K. Lange
73839aa0dc remove fwcfg limit of 32 bytes 2018-07-17 16:28:09 +09:00
K. Lange
338c3bc11c Fix write-out file permissions 2018-07-17 16:27:16 +09:00
K. Lange
689f94f889 Add hexify 2018-07-17 16:27:02 +09:00
K. Lange
ad7ae7307f should exit on not-qemu 2018-07-17 14:51:48 +09:00
K. Lange
404bdaf854 cleanup qemu-fwcfg 2018-07-17 14:42:29 +09:00
K. Lange
0500a6b4b0 add qemu-fwcfg 2018-07-17 14:29:26 +09:00
K. Lange
200e1b66a6 Have mkdisk create cdrom dir? 2018-07-15 19:48:35 +09:00
K. Lange
23571de085 Fix typo in directory target 2018-07-15 19:48:28 +09:00
K. Lange
d49a69343e Bump version and fix mode prompts 2018-07-12 14:54:58 +09:00
K. Lange
e7ccc61d62 Support mode setting from EFI 2018-07-12 10:53:36 +09:00
K. Lange
e140a960c7 Add convenience target for QEMU+OVMF (64bit) 2018-07-11 19:18:41 +09:00
K. Lange
1c9a37cf8b Add convenience targets for VirtualBox EFI 2018-07-11 19:17:18 +09:00
K. Lange
cdb3b17eda kill write protect? 2018-07-11 18:22:16 +09:00
K. Lange
5590d5071c Closer to booting from long mode 2018-07-11 16:10:05 +09:00
K. Lange
905f5c2c95 also set gs 2018-07-11 16:09:25 +09:00
K. Lange
9dccacea38 wrong sizes for 64-bit in multiboot struct 2018-07-11 16:09:19 +09:00
K. Lange
ed020443d1 Non-functioning x64 EFI loader (needs jump to protected) 2018-07-11 13:23:04 +09:00
K. Lange
9e9c2650c5 Add error to makefile for missing gnu-efi 2018-07-11 12:45:31 +09:00
K. Lange
e76ed2000e Use EFI to get memory map 2018-07-11 12:28:52 +09:00
K. Lange
9c33851762 mtools is also required 2018-07-11 11:02:13 +09:00
K. Lange
16e1386c86 Lots of fixes 2018-07-11 10:55:49 +09:00
K. Lange
6ad28f50b6 error handling 2018-07-11 10:46:01 +09:00
K. Lange
f42f907241 EFI simple file system boot 2018-07-11 10:23:56 +09:00
K. Lange
0ed0f2d96d Merge isohybrid build support 2018-07-11 09:43:31 +09:00
K. Lange
1cd6a5cb16 Cleanup how boot modes are tracked 2018-07-07 10:56:14 +09:00
K. Lange
555b6fa027 set irq for vbox to 10 if it is unset? 2018-07-07 00:57:48 +09:00