[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH 1/4] kernel2: vm86 ist i386-spezifisch
* syscalls/vm86.c: nach arch/i386 verschoben
* tasks.h: #ifdef für vm86-Flag in pm_thread_t
Signed-off-by: Andreas Freimuth <m.nemo@xxxxxxx>
---
src/kernel2/include/tasks.h | 2 ++
src/kernel2/src/{ => arch/i386}/syscalls/vm86.c | 0
2 files changed, 2 insertions(+)
rename src/kernel2/src/{ => arch/i386}/syscalls/vm86.c (100%)
diff --git a/src/kernel2/include/tasks.h b/src/kernel2/include/tasks.h
index 1b719d7..1347fd5 100644
--- a/src/kernel2/include/tasks.h
+++ b/src/kernel2/include/tasks.h
@@ -138,8 +138,10 @@ typedef struct {
/// Wird gesperrt, wenn aenderungen am Thread vorgenommen werden
lock_t lock;
+#if CONFIG_ARCH == ARCH_I386
/// Gesetzt, wenn der Thread ein VM86-Thread mit allem Drum und Dran ist
bool vm86;
+#endif
} pm_thread_t;
typedef void (*pm_process_destroy_handler)(pm_process_t* process, void* prv);
diff --git a/src/kernel2/src/syscalls/vm86.c b/src/kernel2/src/arch/i386/syscalls/vm86.c
similarity index 100%
rename from src/kernel2/src/syscalls/vm86.c
rename to src/kernel2/src/arch/i386/syscalls/vm86.c
--
1.7.11.7