Commit Graph

194 Commits

Author SHA1 Message Date
Matt White
05c27d2d7f Send ACK after receiving data 2015-07-31 12:46:57 -07:00
Matt White
a27d971fef No longer place TCP ACKs with no payload in receive queue 2015-07-31 10:57:51 -07:00
Matt White
18ea7c5180 Fixed issue with comparing wrong seq/acks 2015-07-31 10:01:22 -07:00
Matt White
f1b54be884 Merge branch 'strawberry-dev' of git.yelpcorp.com:hackathon/toaruos into strawberry-dev
Conflicts:
	modules/net.c
2015-07-31 09:52:02 -07:00
Kevin Lange
93549c53f6 hacked-together irc stuff 2015-07-31 09:30:20 -07:00
Matt White
4857ef6d3b Fixed error 2015-07-31 09:16:31 -07:00
Matt White
5a8c1ad963 Better seq/ack support 2015-07-31 09:14:32 -07:00
Matt White
e4c15ecb44 Merge branch 'strawberry-dev' of git.yelpcorp.com:hackathon/toaruos into strawberry-dev 2015-07-31 00:41:54 -07:00
Matt White
46345f9c29 Rudimentary support for multiple connections. Seq/Acks are probably not great 2015-07-31 00:41:35 -07:00
Kevin Lange
fd5e7b48b9 Rip IRC bits out of rtl 2015-07-30 22:50:29 -07:00
Matt White
4547929321 Can successfully send valid SYN packet 2015-07-30 22:40:21 -07:00
Matt White
f34285a3de Removed bit fields and change to doing some bit math to remove compiler warnings 2015-07-30 17:02:14 -07:00
Matt White
de43948e73 Fix wrong struct name 2015-07-30 16:54:07 -07:00
Matt White
19c5b581ab Remove dependency of net module on rtl module 2015-07-30 16:46:08 -07:00
Matt White
3447ffcb03 Super basic outline of separating network stuff from rtl module into net module 2015-07-30 15:48:31 -07:00
Kevin Lange
7a475f0223 Fix some critically bad math in ext2 2015-07-26 15:27:02 -07:00
Kevin Lange
c6effc522f Fix type of read_size 2015-06-22 22:05:54 -07:00
gerow
753275f161 Fixed one byte buffer overrun
This occurs when reading symlinks that are bigger than the buffer provided.
2015-06-20 11:05:18 -04:00
gerow
5aa6067f8c Fixed ext2 handling of symlinks near size 60 2015-06-19 21:30:41 -04:00
Kevin Lange
20367b15f9 Fixups for merging symlinks 2015-06-10 20:59:27 -07:00
Mike Gerow
a7f27a604d Cleaned up debug_print calls 2015-06-05 00:38:13 -07:00
Mike Gerow
84846c6dac Added symlink support to ext2 module 2015-06-03 19:08:38 -07:00
Kevin Lange
9e2721eef0 Support disabling the disk cache for ext2 2015-06-02 21:30:06 -07:00
Kevin Lange
7f07d7403e Fix very broken comparisons 2015-06-02 21:29:28 -07:00
Kevin Lange
4ad98421ba Be more efficient with ext2 block cache 2015-06-02 19:36:32 -07:00
Kevin Lange
ba3f169e1d Silly hack to get debug shell around ioctl pointer validation 2015-06-02 19:09:48 -07:00
Kevin Lange
c6e5e9f84f Fix error handling bugs in ps2mouse 2015-06-01 20:55:19 -07:00
Kevin Lange
20c9535d29 Clean up termemu and add a new kernel vga logging mechanism 2015-06-01 00:20:02 -07:00
Kevin Lange
badc2f375c Accept SATA-on-IDE-controller as equivalent to PATA. 2015-05-26 11:13:25 -07:00
Kevin Lange
25807666f9 Merge branch 'strawberry-dev' of https://github.com/graphitemaster/toaruos into graphitemaster-strawberry-dev 2015-05-21 14:33:22 -07:00
Kevin Lange
b53f123948 This is a bad idea and you should never use this. 2015-05-21 14:23:18 -07:00
Dale Weiler
0dbd5ab089 Cleanup and improve spin lock code 2015-05-21 04:28:14 -04:00
Dale Weiler
cb0e217c31 Cleaned up, optimized and rewrote crucial parts of libc for the kernel, fixed a few bugs as well. 2015-05-21 03:12:09 -04:00
Kevin Lange
9d41b3fc25 Merge branch 'mixer-rebase' of https://github.com/gerow/toaruos into gerow-mixer-rebase 2015-05-18 21:15:25 -07:00
Kevin Lange
740ec2ede7 Merge branch 'mixing-fix' of https://github.com/gerow/toaruos into gerow-mixing-fix 2015-05-18 21:10:53 -07:00
Kevin Lange
9a72bfc4cd Add half-assed support for IRQ chaining.
We only support 4 total chain entries at the moment, but that can be
"easily expanded"... We don't really have a lite dynamic vector, just
the big fat dynamic lists, so improving on this needs some extra effort.

This commit also drags in a bunch of random network work by necessity.
2015-05-18 21:07:06 -07:00
Kevin Lange
331e0f0ad1 All debug lines to go straight to serial rather than TTY 2015-05-18 21:05:52 -07:00
Mike Gerow
2ac9f8a9ea Fix the way that buffers are mixed
The previous method was failing to actually mix the samples as signed
16-bit values and just adding the individual bytes. This works out fine
for single buffers but creates weird artifacting if multiple buffers are
being mixed and there is a carry between the bytes.
2015-05-18 02:00:57 -07:00
Mike Gerow
0f35a5bfe3 Add ioctl interface for snd mixer 2015-05-17 20:31:36 -07:00
Mike Gerow
f53ea98e05 Implement snd mixer interface in ac97.c 2015-05-17 20:31:36 -07:00
Mike Gerow
ad708efd5a Add support for managing mixer knobs to snd interface 2015-05-17 20:31:36 -07:00
Kevin Lange
5d4f63356a Fix warning in lfbvideo module 2015-05-17 15:00:49 -07:00
Kevin Lange
e703c8761b removing log calls from timing-sensitive sound functions 2015-05-17 14:12:10 -07:00
Kevin Lange
bebb58b189 Fix audio delays 2015-05-15 22:21:53 -07:00
Kevin Lange
141ca495d9 Write to buffers in sequence instead of splitting in half 2015-05-15 15:01:51 -07:00
Mike Gerow
320925d0d9 Convert ac97 module to use snd 2015-05-15 01:04:07 -07:00
Mike Gerow
b06b4af8b9 Add snd sound subsystem.
It's got a long way to go, but this provides basic mixing between
applications.
2015-05-15 01:04:07 -07:00
Kevin Lange
456cbf1016 hacky, but working, /dev/dsp interface 2015-05-13 23:28:47 -07:00
Kevin Lange
3e605ec2d8 Crank the volume a bit 2015-05-13 18:58:24 -07:00
Kevin Lange
034cd38cf4 Gracefully handle failures to load audio files 2015-05-13 18:52:00 -07:00