elks-enhanced

publicRead
Owner: themasterBranch: masterCommits: 6893Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL

File history

Tracking elks/arch/i86/kernel/process.c
CommitAuthorDateMessage
0340688fab2fb3f7c07bbc230c88ba660959d19swausd2026-01-17[NECV25] New IBRK exception interrupt handler and integration of divzero and nmi interrupt handler
6d00d176c7d83a426ae24b772731e79f95420cdGreg Haerr2025-12-17[kernel] Reduce kernel .text size for more near code space
11acb54da69a020da834d6005981cff73af5906Greg Haerr2025-12-16[kernel,boot] Add istack option to measure interrupt stack size and timer_bh delays
d034c9e886db6a87822da75ca018e89f4072615Greg Haerr2025-12-15Update more comments
0750ee603dfbc2f04f98359fa91e2a7d4cb7e57Greg Haerr2025-12-14[kernel] Move idle task out of task[] array
878da823a8f4d240ccf00f262c709124525b08eGreg Haerr2025-12-14[kernel] Remove t_xregs struct in task struct
cc9227bc18f0249812d883fd4d485e217829c9aGreg Haerr2025-12-11[kernel] Minor cleanup in irqtab.S
5f6efb3fd4e0c0758d6cb5ba931264961e57eccGreg Haerr2025-12-08[kernel] Comment out unused restart_syscall function until needed
40b7460526c95b4bf88a63b2ecc7212b5bbe800swausd2025-10-31Change USER_FLAGS so it is compatible with NEC V25 microcontroller
05337536f24bbbccf161dce72d960e990f6ec0cGreg Haerr2025-01-19Cleanup
3d4300dd8282a8eef4a78c440fa2137a42b76deGreg Haerr2025-01-19[libc] Fix longstanding signal handling bug with improperly set DS register
c5ce605da0b6e5991742cf4bd4a717f13db05a1Greg Haerr2024-12-07[kernel,libc] Rewrite kernel brk/sbrk, fix C library malloc
672981b35d2e6262d47f42d1ae4ab880262509eGreg Haerr2024-12-06[kernel] Remove CONFIG_EXEC_LOW_STACK allowing stack below .data section
55ac8fa5b3d0bc1f7baef122bd855d99f2ddc1aGreg Haerr2024-12-05[kernel] Change heap and stack overflow kernel error messages, cleanup
efbb502039e4d5bdcd66e7ec3f08d5fd5556be5Greg Haerr2024-08-26[kernel] Fix kernel data overwrite bug while parsing /bootopts
b7e47d342e987c7b4ba69f17d5bd5ffd82986a6Greg Haerr2024-08-20[kernel] Add kernel and user mode divide by zero handling
3451cb698f2b06f484ce3311ea714ca59a5719aGreg Haerr2024-07-02Remove unneeded _ptask currentp = current to improve code size/speed
0e9ca9ae5a0a6b17b568c4603f3d88123314f43Greg Haerr2024-07-02Use seg_t and segoff_t more
a64fe71e86fd187cbc3bcf1c699f226963c53c2Greg Haerr2024-06-03Clean up signal handling callback routines
8b996a2f11e76e458beb4faa35653bc8381e95aGreg Haerr2023-09-04Update debug statements to use %P
dff8bc453f6efad37e3a6c1ac189ce14f7e484aGreg Haerr2023-09-02More retabs
ab465a8c00d8492501ecd010c6815b59f4dcb58Greg Haerr2023-08-04Refactor kernel tracing to be dynamic Add CONFIG_TRACE to compile in tracing, remove CONFIG_STRACE Add strace and kstack commands to /bootopts to enable options
152faada4a6142693beb85307959b732b7e10b7Greg Haerr2023-08-01Merge linuxmt/strace.h into arch/i86/kernel/strace.h
71d7ea43540701b7ebdc0e5c810a7707e01321cGreg Haerr2023-08-01Add kernel stack usage and overflow checking Rewrite strace to use no task struct variables Update strace syscall parameter types CHECK_KSTACK turns on kernel stack checking CHECK_SCHED checks matched sleep/wait and idle task sleeps for writing/testing dr
4198edc92b63b91854236b2ab80e2da37c03e82Greg Haerr2022-07-08[kernel] More enhanced compiler checking with gcc options
cba5a843f453b997fb87158f2a3cd8fb9e0d2c7Greg Haerr2022-07-08[kernel] More cleanup with enhanced gcc options
dc607b65a099746c2eb1f0e1ef019868c5afd36Greg Haerr2022-07-07[kernel] Cleanup C code using enhanced gcc warnings
975c6d8949c7f35f32f077941229d8e2bd0bbc4Greg Haerr2022-06-09[kernel] Add fmemalloc sys call, fix fsck on 65M disks
276aec183edbed3b7a29aff51872118e2383715Greg Haerr2020-12-05Don't allocate/protect stack on nonzero chmem v0 headers
4d56ca48602e7f24db78af338265bdd0ce79454Greg Haerr2020-09-22[kernel] Implement operating far text kernel
c370917bf2a65d3a229e85d0e10a7ff53576d49Tee-Kiah Chia2020-09-22[kernel] bugfix: kfork_proc(NULL) corrupts early kernel stack
c66878f079fa0ae6fd255eb5597ce2fb116c5cfGreg Haerr2020-08-10[kernel] Implement boot option parsing in /bootopts
64e7a0b883ef79605a56aca157c01a856409af5marcin-laszewski2020-08-09Debug msg (#689)
a64f3b3ce382f9e793b7b59324a3692d8a68288Greg Haerr2020-08-08[kernel] Add restartable system calls to ELKS, sti before reschedule
dd30ff62f950920b7f55f1ad038aa7e87d611d0Greg Haerr2020-08-08[kernel] Add kernel stack usage per system call to strace
ba80c8128bb20005e7ec4dc676a4c8bd021cd87Greg Haerr2020-08-04[kernel] Fix select busyloop, networking semaphore lockups, strace, ...
a0ff5765ac16822439deea7842ae6a34b3105f1Greg Haerr2020-05-31Add stack overflow minstack check in stack_check, fix sh stack overflow
5e9e0b2adce9a0112212e48a47623f1426d1999Tee-Kiah Chia2020-05-13[kernel] clean up debugging code for new _signal syscall ABI
36b9dbfcee90f5d1ebeee8c0ceb3bc974265d0fTee-Kiah Chia2020-05-12[kernel] [libc] [elksemu] (ABI CHANGE) Make _signal syscall accept a far pointer to a far signal handler
3d21c089dea526f7bd45f26483abdf0acd6ca72Gregory Haerr2020-03-07[fat][init] Fix FAT /dev bug and cleanup system startup and init (#430)
563b656804df81f5d684e4289286220e6b9a3ffmfld-fr2018-06-24[libc] Test round 1 with sash
dd5fbd0a7cbaec7e60feaced17dc8b7a046f9d3mfld-fr2017-11-01Normalize peek & poke - Add fmemcmp
7e3c9f6c8957432eddde9f092981f6571cc9b7flithoxs2017-10-19Fix discrepancies between sys_brk(), sys_execve() and info in bin_formats.txt. Also fixed the amount of overflow reported by stack_check. Improved documentation in bin_formats.txt. Reduced code size by 32 bytes. Data size unchanged. Compiled with BCC, tes
1b4da9c9a4cc5f3f15951246e5fb8a7e1b3f852lithoxs2017-09-11Code size reduction in bios disk driver. Code size reduced in 48 bytes. Data size unchanged. Compiled with BCC. Tested in Qemu.
355dc7c13e370f36e1ebcc91f81860e50d8cf41lithoxs2017-06-08Fix warnings using IA16-GCC. Make buffer.c and inode.c more alike. Reductions in code size. Tested with Qemu and PCE kernels compiled with BCC and IA16-GCC. Code size reduced by 96 bytes.
d992b9487085cbdcb8a1796022269c20e2e95e7lithoxs2017-06-07working kernel compiled with IA16-GCC compiler. Kernel tested with Qemu using BCC and IA16-GCC. Code size under BCC not changed. Under IA16-GCC there is a reduction of 1264 bytes.
3e5c24a1cfbf96f3fc0b8ba240a341f137153d5lithoxs2017-06-02Restore compilability using IA16-GCC compiler. Also uncovered a bug in malloc.c and an unused function in lp driver. Removed several warnings. Compiled with BCC has a code size reduction of 96 bytes. Binary obtained with BCC was tested under Qemu an PCE.
ecbf5deab2d9458a2e120924ad76febbdccf4ablithoxs2017-03-09Reduction of kernel stack size: second part. Syscalls and interrupts now have the same stack layout. Also share the code to save/restore registers. Code size reduced by 64 bytes and BSS reduced in 32 bytes.
d2336634daf735c00a81139b11f5436f9f64923lithoxs2017-03-07Reduction of kernel stack size: first part BSS size reduced by 208 bytes. Code size reduced by 48 bytes.
9c141e6015c4e7cddb31cf1c25f67e97278fd65Jody Bruchon2017-03-04Revert "Revert "Initialize register ES from the begining.""
f87ee77389acef861a3d1cf3d4d6d6e9534f9a6Jody Bruchon2017-03-04Revert "Initialize register ES from the begining."
17cb7fd878ba7c9ddf1b4d02c4c39d364ecba3blithoxs2017-03-02Initialize register ES from the begining. Do not assume a 80186 processor or higher in function printsp(). Fix minor bug in strace.c Other minor fixes.
2e1b7a4be6ef1cacae0caa1602957ac5c9e1486Jody Bruchon2016-08-18Change style of if/while/for to include space after keyword
4304a557c511e3f5fed6d861de6afff72359cc8lithoxs2016-02-16Code size reduction in files under directories kernel, fs and arch/i86. Code still does exactly the same. Fixed a bug in malloc.c introduced 3 commits ago. Fixed some problems with printk when processing formatting %04X. Kernel compiled with BCC. Tested u
4786296011e318ca250ad096ce3ccd4ae01b21flithoxs2015-10-27More optimizations in arch/i86 directories
bd64762bdceff32b41631837c817338b898d5b2lithoxs2015-08-18Fix argv[0] for init task. Vfork() simplification
db2c07a7bb0752591b0ce9589b54aa7552f26f6lithoxs2015-07-14Fix in disk error reporting and fix for differing calling conventions
81c15669a57236e043b57af763ef3b6d514b81aJuan Perez-Sanchez2015-06-13More separation of C and assembly functions
44a446b0d7ed6a2cfb4a55138ce407152bcb6d9Juan Perez-Sanchez2015-06-13Removal of inline assembly in several functions
253de71d0abb5e4fea978d01aca32c216e97e3fJuan Perez-Sanchez2015-06-13Removal of assembly file segment.c
e618adbf1df344fad65d7a05559ba23a250421fJuan Perez-Sanchez2014-11-16peek/poke fixups, unused variable cleanups
efe4aa9037480c9fb670de84bc25b1f0bb9fd29Juan Perez-Sanchez2014-11-16fork()/tswitch() bug fixes, task_struct init cleanup
3ccc3cf4092c7241dd831d2c5e764d72eacbec9Jody Bruchon2012-12-06Huge patch set from Juan Perez-Sanchez <lithoxs@gmail.com>:
31d3afeb7058aa40bff09a3823d4b78e7de91eeJody Bruchon2012-08-11This patch makes another round of fixes to improve ansi-C compatibility, this time using the open-watcom compiler. An effort was done to make the right changes to code, not just wipe out the errors or warnings. For example, if prototypes, definition and u