summaryrefslogtreecommitdiff
path: root/src/sys/os
AgeCommit message (Collapse)Author
14 hourskern/amd64: Implement syscall domains and windowsIan Moffett
A syscall domain in the L5 kernel is a fixed list of "syscall windows", each syscall window represents a specific platform and/or syscall model. A platform latch within each domain determines which window / platform should be visible. Since syscall domains are per-process, these changes are local to their respective processes. Signed-off-by: Ian Moffett <ian@osmora.org>
16 hourskern: Add syscall entry and SYS_exit syscallIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
17 hourskern: init: Add copyrightIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
17 hourskern/amd64: proc: Add proc_kill() routineIan Moffett
Add a new function to kill processes and clean them up. They will then be marked as EXITING and it is up to the parent to do the rest. Signed-off-by: Ian Moffett <ian@osmora.org>
17 hourskern: init: Load /usr/sbin/init after bootIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
20 hourskern: sched: Write proc result in sched_deq()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
32 hourskern/amd64: cpu: Add process load balancingIan Moffett
This commit introduces load balancing of processes between cores by using a scalable "CPU arbiter" which decides how to fetch the next core descriptor. Signed-off-by: Ian Moffett <ian@osmora.org>
33 hourskern: init: Add L5 bootup logoIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
33 hourskern: Make memmap dump configurable via kconfIan Moffett
Use the OSMORA kernel configuration framework to add options for L5Lunos to parse during early startup. Signed-off-by: Ian Moffett <ian@osmora.org>
38 hourskernel: elf: Load ELFs into memoryIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
38 hourskernel: elf: Use memcpy() and remove memset() callIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
38 hourskern: elf: Fix frame calcs + style cleanupIan Moffett
Allocate more than one frame that exists and increment by one if zero. We also did some style fix ups, added an #undef and a break. Signed-off-by: Ian Moffett <ian@osmora.org>
38 hourskern: elf: Default to PROT_READ | PROT_USERIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
38 hourskern: elf: Don't load blank program headersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
44 hourskern: Add initial ELF loader sourcesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2 dayskern: proc: Add initial proc init + PCB codeIan Moffett
This commit introduces the initial logic for putting process descriptors in an initialized state. This commit also introduces the process control block definition. Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: os: Introduce support for OMAR initramfsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern/amd64: cpu: Add initial SMP startup codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: Add initial scheduler skeletonIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskernel/amd64: Add task state segment logicIan Moffett
This commit implements the task state segment and splits up processor initialization into two seperate stages. The cpu_conf() function is apart of the first stage and sets up things that should be going by the time the kernel is started / early init. The cpu_init() function runs later functions that initialize further platform specific subsystems. Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: os_init: Move boot message at topIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: Initialize ACPI early on during bootIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: Add initial ACPI implIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: os_init: Initialize console earlier onIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: cons: Finish string writing logicIan Moffett
- Wrap on X overflow - Wrap on Y overflow - Keep track of max console width and height - Add console enable/disable control Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: io: Implement initial console logicIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 dayskern: os: Add initial kalloc subsystemIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysproject: Correct copyright authorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysos: vm: Add physical memory managerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysos: Add early boot messageIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysbuild: Do not have per subsystem libsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysos: boot: Add boot variable informationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysos: init: Panic at end of kernelIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
4 daysos: Add syslog loggingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysos: Add spinlock supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysos: kern_init -> os_init.cIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 dayskern/amd64: cpu: Initialize GDTIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysbuild: TARGET -> TARGET_LIBIan Moffett
Use TARGET_LIB to not get clobbered by the global TARGET variable Signed-off-by: Ian Moffett <ian@osmora.org>
5 daysproject: 'kern' -> 'os'Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>