1309 Commits

Author SHA1 Message Date
Baptiste Wicht
6be9f46bcf Send EOI first 2014-02-02 13:11:19 +01:00
Baptiste Wicht
7cc6c9dc5a Continue working on terminal (not in good shape ;) ) 2014-02-01 23:24:08 +01:00
Baptiste Wicht
50c1acee27 Improvements of the library 2014-02-01 23:23:47 +01:00
Baptiste Wicht
389cbc0976 Start implementation of the virtual terminal 2014-02-01 18:02:02 +01:00
Baptiste Wicht
d3283318b2 Implement a circular buffer 2014-02-01 18:01:43 +01:00
Baptiste Wicht
f92a16696d Make the keyboard send inputs to the terminal 2014-02-01 17:42:45 +01:00
Baptiste Wicht
7a7d6c09d0 Cleanup 2014-02-01 17:40:34 +01:00
Baptiste Wicht
1d4306cdf9 Add resize function 2014-02-01 17:24:55 +01:00
Baptiste Wicht
d47716bc88 Merge branch 'develop' of github.com:wichtounet/thor-os into develop 2014-02-01 17:10:02 +01:00
Baptiste Wicht
a4d84cb155 Assign a tty to each process 2014-02-01 17:09:55 +01:00
Baptiste Wicht
e76f3040cf Prepare tty architecture 2014-02-01 17:09:42 +01:00
Baptiste Wicht
e3a11686c5 Restore copyright 2014-01-30 17:55:38 +01:00
Baptiste Wicht
03cc03404b Transform the key to ascii 2014-01-30 17:55:16 +01:00
Baptiste Wicht
45c9d1276f Create a program reading the keyboard 2014-01-30 17:36:51 +01:00
Baptiste Wicht
abb60e4232 Fix register 2014-01-30 17:36:35 +01:00
Baptiste Wicht
586aeaedcf Complete keyboard implementation 2014-01-30 17:29:35 +01:00
Baptiste Wicht
1199b98558 Add a way to get information about a process 2014-01-30 17:22:06 +01:00
Baptiste Wicht
2ebc0e22ac Implement some kind of Round Robin Priority Scheduling 2014-01-30 17:07:32 +01:00
Baptiste Wicht
01ca17a9f8 Clean 2014-01-30 16:28:21 +01:00
Baptiste Wicht
86771ec0f0 Prepare basic implementation of a sleep queue inside the keyboard driver 2014-01-29 22:16:10 +01:00
Baptiste Wicht
cc37f73ba4 Empty the list when it gets destroyed 2014-01-29 21:17:01 +01:00
Baptiste Wicht
ef5b61d199 Use a better way of setting the flags 2014-01-29 21:14:59 +01:00
Baptiste Wicht
d0567e166e Implement a stack 2014-01-29 20:59:39 +01:00
Baptiste Wicht
86dc1b2e9a Fix namespace 2014-01-29 20:43:05 +01:00
Baptiste Wicht
db94c0ae8c Use a queue for the semaphore 2014-01-29 20:42:49 +01:00
Baptiste Wicht
9feb5c8ffb Draft of keyboard driver 2014-01-29 19:28:24 +01:00
Baptiste Wicht
3dbeaf7480 Review process structures 2014-01-29 17:28:35 +01:00
Baptiste Wicht
51b7afef9e Use std::list instead of std::vector 2014-01-29 14:43:24 +01:00
Baptiste Wicht
1b40329be0 Implement a simple doubly linked list 2014-01-29 14:43:13 +01:00
Baptiste Wicht
68710baba1 Small fix 2014-01-29 14:28:46 +01:00
Baptiste Wicht
e20a4fb164 Cleanup TODOS 2014-01-28 22:28:36 +01:00
Baptiste Wicht
2d0413f0ca Remove old TODO 2014-01-28 22:22:13 +01:00
Baptiste Wicht
03f68b57a9 Finalize code 2014-01-28 22:19:59 +01:00
Baptiste Wicht
96e4fc590c Clean the code using a lock guard 2014-01-28 22:10:18 +01:00
Baptiste Wicht
e0ee4266b8 Basic implementation of semaphore 2014-01-28 22:06:27 +01:00
Baptiste Wicht
e66e92ae5b Fix state switching 2014-01-28 21:15:05 +01:00
Baptiste Wicht
c16b3e39cf Handle state of processes 2014-01-28 20:48:31 +01:00
Baptiste Wicht
4292c3dda4 Prepare spinlock implementation 2014-01-28 20:40:35 +01:00
Baptiste Wicht
9553df403e Fix warning 2014-01-28 20:38:43 +01:00
Baptiste Wicht
71c1140291 Define more robust coalescing
Use left and right bit indicators to see if the block has a left, respectively a right block. Use these indicators in coalescing instead of checking for a range [min,max]
2014-01-28 08:41:38 +01:00
Baptiste Wicht
63cca5b4e6 Cleanup 2014-01-28 08:27:04 +01:00
Baptiste Wicht
3fb29dab1c Merge branch 'develop' of github.com:wichtounet/thor-os into develop
Conflicts:
	cpp.mk
2014-01-28 08:05:54 +01:00
Baptiste Wicht
96083e7559 Prepare new programs 2014-01-27 23:01:09 +01:00
Baptiste Wicht
bf52b10ac8 Allow to launch several programs in parallel 2014-01-27 23:01:02 +01:00
Baptiste Wicht
3f1d9d7390 Allow malloc to handle blocks of size > MIN_BLOCKS 2014-01-27 22:53:38 +01:00
Baptiste Wicht
5e69e9c8ff Fix linking of user programs 2014-01-27 22:33:03 +01:00
Baptiste Wicht
e8daa72dc0 Save all regs 2014-01-27 22:30:42 +01:00
Baptiste Wicht
562119e450 Improve scheduling 2014-01-27 22:23:23 +01:00
Baptiste Wicht
83f5fc67da Make proper scheduling 2014-01-27 22:06:02 +01:00
Baptiste Wicht
0a45d44291 Put the normal addresses back 2014-01-27 08:16:56 +01:00