Commit Graph

1164 Commits

Author SHA1 Message Date
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
Kevin Lange
0a140ce941 gears (a port of glxgears) SEE LICENSE IN FILE 2013-04-12 21:20:38 -07:00
Kevin Lange
96b1d7e23a Mesa 7.5.2 in toolchain 2013-04-12 21:20:08 -07:00
Kevin Lange
b6d131240f Add osmesa (GL) and mpeg2 (video library) to build.py
Despite not actually being in the toolchain yet.
2013-04-10 19:30:54 -07:00
Kevin Lange
4d9d9b6df7 Merge pull request #31 from martica/safe-cp
Let's not overwrite directories
2013-04-10 10:16:21 -07:00
Kevin Lange
b583e6c60a Fix sane apps not exiting 2013-04-10 00:18:40 -07:00
Kevin Lange
89fed507b3 Asynchrous sane window events 2013-04-10 00:10:00 -07:00
Tyler Bindon
ccfcd53943 Use source filename when copying to directory 2013-04-10 05:50:06 +00:00
Tyler Bindon
bd26aff1fd Let's not overwrite directories 2013-04-10 04:25:04 +00:00
Kevin Lange
4fa39ba510 Also do that in the main build scripts 2013-04-09 01:31:11 -07:00
Kevin Lange
4fed4d96ea Nuke malign.c when building newlib 2013-04-09 00:16:42 -07:00
Kevin Lange
5177d6fa76 more work on ttk 2013-04-08 20:44:42 -07:00