Commit Graph

1175 Commits

Author SHA1 Message Date
Kevin Lange
fde9c6d652 New ioctl commands and userspace improvements 2013-04-27 01:16:36 -07:00
Kevin Lange
6aa623216d But clear the buffer on ^C 2013-04-27 01:16:17 -07:00
Kevin Lange
b575e5e2e4 Flush buffer on switch to raw mode 2013-04-27 01:14:21 -07:00
Kevin Lange
5d71eeb013 Kernel stacks are big enough for those... 2013-04-27 01:13:47 -07:00
Kevin Lange
672274d5ae More initial stack space [maybe temporary] 2013-04-26 01:04:21 -07:00
Kevin Lange
47977a3bdc Fix some C++ derps with window.h header 2013-04-26 01:04:09 -07:00
Kevin Lange
fdc442714a Disable EXT2 with a #define 2013-04-25 23:06:51 -07:00
Kevin Lange
47a67b3bb4 Add some HDD dirs to gitignore 2013-04-25 23:06:25 -07:00
Kevin Lange
0e76870d00 Remove some unused header defines 2013-04-24 20:24:33 -07:00
Kevin Lange
c1ac928af6 Fix mappings so SHM is table aligned 2013-04-24 20:20:34 -07:00
Kevin Lange
cbaa9e13d6 Add a test app to print open() flag values 2013-04-24 00:20:25 -07:00
Kevin Lange
9f7fa061ea Fix how 'touch' opens files. 2013-04-24 00:20:07 -07:00
Kevin Lange
16da56ea9b General support for open() flags
Includes truncation support in tmpfs, and changes the signure of the VFS
open() method. Also tweaked some comment style in the VFS.
2013-04-24 00:19:08 -07:00
Kevin Lange
8c16a86206 Directory support in tmpfs 2013-04-23 23:21:16 -07:00
Kevin Lange
716ce11c83 Move old loader test 2013-04-23 23:08:42 -07:00
Kevin Lange
409052e568 Free that temp block... 2013-04-23 23:05:57 -07:00
Kevin Lange
a2a890e1a8 Fresh new VFS syscalls: unlink, chmod, umask 2013-04-23 01:14:33 -07:00
Kevin Lange
01a4b5f22d fix USER setting in login 2013-04-22 22:37:17 -07:00
Kevin Lange
ae1d555a13 Syscall bindings 2013-04-22 22:36:56 -07:00
Kevin Lange
6f096454cd Some additions to the VFS 2013-04-22 22:36:47 -07:00
Kevin Lange
7c8d34d1b6 Disable EXT2 writes; add experimental tmpfs
This is still a work in progress. ext2 writes are quite broken, so they
have been completely disabled, but there's a new tmpfs mounted to /tmp
that you can try to poke at. I'm still fixing up quirks in the VFS that
make it incompatible with a bunch of stuff, but I did manage to write
some files with vim, and swap files appear to be working at least
somewhat. It's all still broken as fuck.
2013-04-21 23:17:26 -07:00
Kevin Lange
9901767cbe Retry failed reads 2013-04-21 20:46:48 -07:00
Kevin Lange
ade59a11bc XXX ABI BREAKING CHANGE - New load/heap/stack/shm
Address for program loading, kernel heap, userspace SHM regions, and
stacks have been changed.

Delete:
  toolchain/build
  toolchain/local
  .userspace_check

Run:
  python userspace/build.py clean
  make clean-disk
  make clean
  ./build.sh
2013-04-21 17:35:03 -07:00
Kevin Lange
a586afb7d1 Kill loader/ directory 2013-04-21 16:35:56 -07:00
Kevin Lange
7e1cec9437 Fix copyright formatting for cpudet 2013-04-21 11:36:34 -07:00
Kevin Lange
6a9a87e0c2 Fix glxgears license 2013-04-21 11:33:58 -07:00
Kevin Lange
f3faf3bc23 512MB disk images (even slower, sadly) 2013-04-21 11:25:34 -07:00
Kevin Lange
9b5e3ed2cf Script to get (but not build) GCC extras
(gmp, mpc, mpfr)
2013-04-21 11:24:52 -07:00
Kevin Lange
2b1debe56b License in a file... 2013-04-21 11:24:19 -07:00
Kevin Lange
c98ba11128 -1 is a much better thing to return 2013-04-21 11:23:06 -07:00
Kevin Lange
42e70f6c79 Only libstdc++ for second pass of gcc 2013-04-20 15:43:19 -07:00
Kevin Lange
822888d16f lol build.sh 2013-04-20 15:02:48 -07:00
Kevin Lange
a7cd255546 Various C library adjustments
Fix weird linking issues with newlib:
- Get rid of dlmalloc
- Also get rid of klmalloc

Adjust crt0 operation:
- Kill the dead loop at the end
- Pass main to pre_main as a function pointer to move `main` reference
  into crt0.o

- Fix a build script derp with trying to remove build and local
  directories (gets rid of some warnings)
2013-04-17 22:23:38 -07:00
Kevin Lange
038a899b45 i have no idea why I'm messing with this clock 2013-04-16 23:05:29 -07:00
Kevin Lange
2de26fafe1 Lazy FPU/SSE, more correct-er 2013-04-16 00:03:23 -07:00
Kevin Lange
41030465a8 Save/restore sse (poorly) 2013-04-15 23:23:56 -07:00
Kevin Lange
3871cfcf31 Fix up the serial console so it works again 2013-04-15 01:26:03 -07:00
Kevin Lange
c38ccf97e0 Kill the logo 2013-04-14 23:27:08 -07:00
Kevin Lange
aae5c6bc9d More screenshots 2013-04-14 23:25:44 -07:00
Kevin Lange
539ed4d03a Rearrange README 2013-04-14 23:17:52 -07:00
Kevin Lange
6761146700 New screenshot 2013-04-14 01:21:42 -07:00
Kevin Lange
fd0a744393 README updates for new distro packages 2013-04-14 01:06:32 -07:00
Kevin Lange
025d5ee0c8 READMEs for third-party stuff are cool 2013-04-13 21:02:43 -07:00
Kevin Lange
b6dd8f47c6 More curses samples 2013-04-13 20:59:36 -07:00
Kevin Lange
cd677b44c3 Fix up some terminal bits, add F keys 2013-04-13 20:21:40 -07:00
Kevin Lange
f76616d06e ncurses in build.py 2013-04-13 17:35:20 -07:00
Kevin Lange
7a6e193b6a Remove stale directories for those, too 2013-04-13 00:23:02 -07:00
Kevin Lange
84938d1258 Install vim to /bin/vim not /bin/vim.xxx 2013-04-13 00:10:29 -07:00
Kevin Lange
0f3f85a981 Ncurses and vim 2013-04-12 23:53:21 -07:00
Kevin Lange
d169157a6c Fix build script for ttk-core 2013-04-12 22:00:31 -07:00