1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-30 00:00:15 +01:00
Commit graph

9 commits

Author SHA1 Message Date
daniel-k
d31ba3c3ac mm: make malloc and vma locks irqsave 2016-09-02 18:02:04 +02:00
Stefan Lankes
8b15d6c72e some code cleanups 2016-08-31 13:36:09 +02:00
Stefan Lankes
4ea7fabf1d protect stack cleanups by disabling interrupts 2016-08-30 00:00:00 +02:00
Stefan Lankes
a2b36849d9 create for each task an interrupt stack table (IST1)
Currently, "user-level" code has to deactivate the red zone support.
To avoid this, we create an interrupt stack table (IST1), which is
the default stack for all interrupts. Consequently, the common stack
isn't touch by handling any interrupt and the red-zone could be used
for compiler optimizations.

By using IST1, nested interrupts (beside NMI) arn't longer supported.
But HermitCores doesn't rely on this support.
2016-06-03 06:24:46 +02:00
Stefan Lankes
82d5ec690e add function for the stack creation, protect stack by the NX flags 2016-05-26 10:04:45 +02:00
Stefan Lankes
12553532db page mapping set the no execustion flag to protect the data 2016-05-22 07:24:56 +02:00
Stefan Lankes
545073235a simplify memory management
HermitCore is a single-address space operating system => only one global
lock is required to protect the page tables and the VMA structure.

Furthermore, obsolete code to duplicate tasks is removed.
2016-03-21 00:18:45 +01:00
Stefan Lankes
f33f4e1047 some cleanups, add some debug messages 2016-01-01 17:48:03 +01:00
Stefan Lankes
d7ec3d4f14 HermitCore is independent to the Linux kernel => move to an own subdirectory 2015-05-23 14:35:45 +02:00