Dale Weiler
e27cb1b96f
Align stack pointer on kernel proper entry to 16-byte. Eliminate dead-lock in frame allocator on OOM. Formatting.
2015-05-21 15:09:42 -04:00
Dale Weiler
a699c91ddd
ISR/IRQ cleanup
2015-05-21 13:22:06 -04:00
Dale Weiler
0dbd5ab089
Cleanup and improve spin lock code
2015-05-21 04:28:14 -04:00
Dale Weiler
3820512357
Merge branch 'strawberry-dev' of github.com:klange/toaruos into strawberry-dev
2015-05-21 03:15:19 -04:00
Dale Weiler
57de8417fa
formattng
2015-05-21 03:13:47 -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
1654d371e3
Marking off 0.10.0
2015-05-20 20:34:20 -07:00
Dale Weiler
12ef7fba8b
Optimizations
2015-05-20 23:32:21 -04:00
Dale Weiler
6e1a594adc
Wait for IO on IRQ remap.
2015-05-20 23:08:58 -04:00
Kevin Lange
2a5623fbb2
We don't need to force ordering for boot.o
2015-05-20 19:19:37 -07:00
Kevin Lange
8acc983265
Keep kernel/symbols.s in .gitignore
2015-05-20 19:19:06 -07:00
Dale Weiler
5ddbbf8199
Some IRQ cleanup
2015-05-20 19:52:19 -04:00
Dale Weiler
82d706f453
Rewrite IDT code
2015-05-20 18:53:03 -04:00
Dale Weiler
51fbc77e3f
Eliminate superfluous strlen pass in vasprintf
2015-05-20 18:21:39 -04:00
Dale Weiler
d6a7db993e
Use PUSH macro when setting up thread argument and return address
2015-05-20 16:53:14 -04:00
Dale Weiler
333d97bc7a
Fix system calls
2015-05-20 16:45:30 -04:00
Dale Weiler
c9f9625722
Use uintptr_t and document sys_mount arguments which are not used with a TODO
2015-05-20 14:59:47 -04:00
Dale Weiler
d5ef1d194e
automatic handling of assembler object files in Makefile
2015-05-20 14:55:33 -04:00
Dale Weiler
117225b626
Cleanup system call code and improve branch prediction.
2015-05-20 14:14:51 -04:00
Dale Weiler
31900155fb
ring3 switch code in user.S now
2015-05-20 04:46:10 -04:00
Dale Weiler
ca5a319ee6
Validate syscall inputs
2015-05-20 03:34:39 -04:00
Dale Weiler
ceaed61c42
Merge branch 'strawberry-dev' of github.com:klange/toaruos into strawberry-dev
2015-05-20 03:20:08 -04:00
Dale Weiler
01176e0f97
Use GAS instead of YASM.
2015-05-20 03:12:20 -04:00
Kevin Lange
4a1ff8112d
Fix color of volume icons
2015-05-19 20:38:41 -07:00
Kevin Lange
7f66c10230
Bind scroll to volume up/down on volume icon
2015-05-18 22:19:30 -07:00
Kevin Lange
d8ac0fc902
Add a working (but read-only) volume knob to the panel.
2015-05-18 21:36:49 -07: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
eac7301e79
Merge branch 'gerow-mixing-fix' into strawberry-dev
2015-05-18 21:11:26 -07:00
Kevin Lange
9458b813a4
Merge branch 'gerow-sh-C-p-C-n' into gerow-mixing-fix
2015-05-18 21:11:00 -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
bc806cf774
Merge branch 'sh-C-p-C-n' of https://github.com/gerow/toaruos into gerow-sh-C-p-C-n
2015-05-18 21:10:23 -07:00
Kevin Lange
60568a70a5
Remove debug messages from png loading
2015-05-18 21:08:37 -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
Kevin Lange
b4d7e263b6
Fix critical issue in spawn_process
2015-05-18 21:05:41 -07:00
Mike Gerow
3515353704
Allow walking through shell history using C-n and C-p
2015-05-18 19:29:33 -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
368d2c0525
Add a command line utility for interacting with /dev/mixer
2015-05-17 20:31:36 -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
8e61d4ee3a
Cleanup unused functions in glogin
2015-05-15 22:51:47 -07:00
Kevin Lange
9df3810da9
Separate pipe write/read locking
2015-05-15 22:51:27 -07:00
Kevin Lange
e047cea9a3
Boring comment header cleanups [ci skip]
2015-05-15 22:50:58 -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
64d771b4fa
Remove the now unnecessary ioctl from play utility
2015-05-15 01:04:07 -07:00
Mike Gerow
320925d0d9
Convert ac97 module to use snd
2015-05-15 01:04:07 -07:00