Jeremy Soller
4b98fb8ca3
Improve efficiency of kernel console
2016-09-01 14:39:45 -06:00
Jeremy Soller
5c91017579
Draw on VESA for console using ransid
2016-09-01 11:51:33 -06:00
Jeremy Soller
ac9a475ef5
Warnings removal
2016-09-01 11:14:47 -06:00
Jeremy Soller
6269f68b03
Fill in all exception and IRQ entries. Handle PIT, keyboard IRQs
2016-08-31 17:45:21 -06:00
ticki
b8f1971329
Merge branch 'master' of github.com:redox-os/kernel
2016-08-31 17:02:47 +02:00
ticki
4966842d72
Add the Fd definition file.
...
Damn, I forgot to `git add` it.
2016-08-31 17:01:08 +02:00
Jeremy Soller
8c0191564f
Add file descriptor type
2016-08-30 16:27:10 -06:00
Jeremy Soller
2ccc13d212
Merge branch 'master' of https://github.com/redox-os/kernel
2016-08-30 16:23:56 -06:00
Jeremy Soller
9bddf55e93
Improvements for context switching
2016-08-30 16:23:51 -06:00
ticki
9ca3559cc8
Newtype file descriptors.
...
To avoid various bugs regarding the typing of file descriptors, we
newtype them into a simple wrapper type.
- Document some stuff.
2016-08-29 11:58:31 +02:00
Jeremy Soller
f2d2b233f3
Simple, unsafe context switch
2016-08-28 18:38:53 -06:00
Jeremy Soller
5c2b6878a6
Arm!
2016-08-25 17:03:01 -06:00
Jeremy Soller
24bfb2c81f
Fix the build. Sorry
2016-08-24 19:30:14 -06:00
Jeremy Soller
84873532af
Arch context in kernel context
2016-08-24 10:35:42 -06:00
Jeremy Soller
aecfa50029
Initialize contexts, add getpid
2016-08-20 14:32:45 -06:00
Jeremy Soller
47280a921a
Context list class, static context ID magic
2016-08-20 13:43:35 -06:00
Jeremy Soller
645524fdf5
Setup independent page tables, map heap to a single location
2016-08-19 14:53:16 -06:00
Jeremy Soller
74b40f0a25
Switch to goblin as executable parser
2016-08-19 07:57:24 -06:00
Jeremy Soller
b46c7e71c0
Add syscall handler, still work in progress
...
Add elf files
2016-08-18 19:44:31 -06:00
Jeremy Soller
954af453dc
Remove clone from context
2016-08-18 09:02:31 -06:00
Jeremy Soller
8fc113adef
Refactor context list
2016-08-18 08:30:45 -06:00
Jeremy Soller
0bd1cda1b6
Cleanup schemes list, remove lazy_static
2016-08-18 08:10:08 -06:00
Jeremy Soller
b9e721d4e1
Print out more useful information about AP and BSP, create kmain_ap
2016-08-17 19:38:04 -06:00
Jeremy Soller
996996b0a9
Keep track of AP count, allocate bigger AP stack, stack trace function
2016-08-17 19:34:33 -06:00
Jeremy Soller
1993e701dd
Remove warnings
2016-08-17 16:54:48 -06:00
Jeremy Soller
9f79abe542
Lazy static init of schemes
2016-08-16 11:04:14 -06:00
Jeremy Soller
26397084f6
Cleanup, use spinlock for allocator
2016-08-15 15:01:24 -06:00
Jeremy Soller
e0daabde05
GDT and IDT in kernel space
...
Paging constructs completed, remap kernel before jumping to kmain
Panic will do a stack trace
Remove SSE from none target
2016-08-15 14:34:20 -06:00
Jeremy Soller
7da6696a34
Add simple paging, use rust libcore and compile without sse
2016-08-15 11:30:14 -06:00
Jeremy Soller
74ccbaa4a6
Bump allocator
2016-08-14 22:05:32 -06:00
Jeremy Soller
38f1a4fb76
WIP: Schemes
2016-08-14 21:38:32 -06:00
Jeremy Soller
946fd79e83
Test for BadFile
2016-08-14 19:17:55 -06:00
Jeremy Soller
dd280a5d1a
Add stdout/stderr tests
2016-08-14 18:22:50 -06:00
Jeremy Soller
f79d6ce12b
Add context and file structs
2016-08-14 18:16:56 -06:00
Jeremy Soller
04a6a45fac
WIP: Exec
2016-08-14 16:07:41 -06:00
Jeremy Soller
6cfa38c5ba
Add syscall module
2016-08-14 15:58:35 -06:00
Jeremy Soller
621de7fa8a
Add test architecture
2016-08-14 14:59:18 -06:00
ticki
916a87fb33
Merge branch 'master' of github.com:redox-os/kernel
2016-08-14 20:55:19 +02:00
ticki
2b50588c29
Interrupt tables.
...
We add lookup table for interrupt descriptions containing information
about the CPU exceptions etc.
2016-08-14 20:54:23 +02:00
Jeremy Soller
faa2b3ac63
Add comment
2016-08-14 12:11:53 -06:00
Jeremy Soller
4cb9df8fa8
Move arch to seperate crate
2016-08-14 11:45:47 -06:00
ticki
fb99ec7e6d
Strongly typed virtual/physical memory seperation.
...
This minicommit introduces two newtpyes, `Physical` and `Virtual`,
respectively. These serves as a way to segregate the different forms of
addresses to avoid the issues we had in the old kernel.
2016-08-14 19:21:21 +02:00
ticki
b2fe1799fd
Rename the src directory to kernel.
2016-08-14 18:42:32 +02:00