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/kernel/fork.c
CommitAuthorDateMessage
03e61db56c031fc32d1b8caba6790d2f745061aGreg Haerr2025-12-29Force normal calling sequence for kernel startup, don't copy idle task on fork
6d00d176c7d83a426ae24b772731e79f95420cdGreg Haerr2025-12-17[kernel] Reduce kernel .text size for more near code space
d034c9e886db6a87822da75ca018e89f4072615Greg Haerr2025-12-15Update more comments
6d44d814743b92a4ba664e729d0c31d1fa98814Greg Haerr2025-12-15Finall debug start_kernel issue that required -fno-defer-pop to fix
d6da06806da9e5458ed8560dcfcde5729307d04Greg Haerr2025-12-14Allocate idle_task dynamically
0750ee603dfbc2f04f98359fa91e2a7d4cb7e57Greg Haerr2025-12-14[kernel] Move idle task out of task[] array
30bed18147980344d20ee2add0c4004d03e14deGreg Haerr2025-12-13Lower timer overhead by removing seperate uptime variable, use jiffies
f21e44e7bd332005dd53862e9f51878b4313e1aGreg Haerr2024-07-02Remove __ptask
3451cb698f2b06f484ce3311ea714ca59a5719aGreg Haerr2024-07-02Remove unneeded _ptask currentp = current to improve code size/speed
d66faf6dc436d871678da2c85d2b20a19c98d93Greg Haerr2024-07-02Remove __task
99db4b13bc8fd3288ef5f67c138da443e0d2ee9Greg Haerr2024-07-01Small sys_signal bugfix, light code reordering
5c907b3c836dac2ec151e04dfef23ceb6fc74a4Greg Haerr2024-06-30Store segment information in task struct, rework fork/exit/signal
3a99f562ed3a0f8b00e08312b4f6e5deb2c7609Greg Haerr2024-05-07[kernel,libc] Enhance debug output in kernel and printf %p
9adb8998960fd6bfef8dd3349ff7ec068475e24Greg Haerr2024-03-28Change MAX_TASKS to variable max_tasks Rewrite ps and memoinfo to handle variable sized task array Adjust SETUP_HEAPSIZE for minimal systems
695179374324b830347630283dd6ba1556314c9Greg Haerr2024-03-28[kernel] Dynamically allocate task array First step, allocate fixed size array
a53c0874fe7d9565153b5130508eeccc373f1ccGreg Haerr2024-03-23[kernel] Disallow reschedule during kernel startup
dff8bc453f6efad37e3a6c1ac189ce14f7e484aGreg Haerr2023-09-02More retabs
304d75f20e28895df684b7aad9f31b4fcb79e59Greg Haerr2023-08-07[kernel] Rewrite wait_on_buffer for async I/O, trace fixes
c1085fe008c1253126f56984de8c81cc94890b4Greg Haerr2023-08-02Add kernel stack near overflow checking Add back task struct magic word check to ps
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
12d07b66c1e032c1da917f1e28fbd6f9ba7709cGreg Haerr2022-04-27[kernel] Add process CPU percentage utilization and uptime calculations
38855b65f14e6794c1207b427de3a9d77f1bef9Greg Haerr2022-02-11Slightly decrease size of task_struct
d912939fb4c63b99a8b4d8d5194b53768d60960Greg Haerr2020-12-07[kernel] Rewrite wait system call, fixes cron
a7b47effc7649c143b58cb527a1fa252185ce8aGreg Haerr2020-10-14Move configurable items to limits.h
014131510b2b6342fd2bd48993ea5204ddd6c90tkchia2020-05-18Proposed support for "medium memory model" programs in ELKS kernel (#621)
9ec70b064d059160f718385f1b6709f1abb8e4cGreg Haerr2020-03-30[kernel][cmds] Fix negative PIDs, baud rate on /etc/inittab line
22f4efdbdb3d6e4514410bc70eb95a64ee18ba0Greg Haerr2020-03-21[kernel] Implement task zombie state, rewrite wait, fix signal
b867927c619ab0c50465b788bb8746dc92b07b5mfld.fr2020-03-15[kernel] Segment list to local heap
27b7dbd0c5fd1bc8e7cf0f2f379a7ec5578b635mfld-fr2018-04-29Add optional list-based allocator
bf747eee07156bdfd9252ee0e647395432ba703lithoxs2017-09-29Simplify code in kernel, fs and net directories. Compiled with BCC, tested with Qemu. Code size reduced in 96 bytes. Data size unchanged.
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.
9d443de194f065e8f019f424b3cbadc2d65dbd5lithoxs2017-03-31Simplifications to reduce code size. 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
3a37cad7188159ab78d1cd02d5fad93e80e5663lithoxs2016-05-27Make read and write for tty devices return the correct value. Improve comments in serial.c and fork.c. Simplifications in irq.c and pipe.c. Compiled with BCC, tested with QEMU. Code size reduced by 16 bytes.
037b4ec5eb82c475472d2b068b1c139206e3664lithoxs2016-02-16Code size reduction and simplification in files in directories kernel , net and fs. Code still does exactly the same. Kernel compiled with BCC. Tested under QEMU. Works. Code size reduced by 320 bytes.
5848290325a74d659a45fbf54f1648c8a9f80b6lithoxs2015-10-26Diverse optimizations
bd64762bdceff32b41631837c817338b898d5b2lithoxs2015-08-18Fix argv[0] for init task. Vfork() simplification
4a1c38a7553a0148daf2a5a8016c93a1729e5feJuan Perez-Sanchez2015-06-13Removal of ia16-unknown-elks-gcc warnings
5bad583d4f9cfc8a5334ceffe6b697d3a693ec7Juan Perez-Sanchez2014-11-16Loop code cleanups, sys_execve() error handling bug fix
efe4aa9037480c9fb670de84bc25b1f0bb9fd29Juan Perez-Sanchez2014-11-16fork()/tswitch() bug fixes, task_struct init cleanup
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
6d1d1c2cdaaf76451c7aff24151f9e450b6303cJody Bruchon2012-07-07Large set of bug fix patches by Juan Perez-Sanchez.
ea5b46ee9f49a227877dc8ac08f925e86222408Harry Kalogirou2003-01-02better select hash
c5231eaf5da53c236f48ab08e3c25edfe4a292bHarry Kalogirou2002-10-27fork next pid bugfix, exec size optimizations
2ee105fc93056d6d3752cd3c3e2fe5236593b4cRiley H. Williams2002-06-22Applied Manuel's second patchset, tweaked kernel boot message to tell the truth, and verified that the result all works.
49c50408949d05dc8f545b7dce4d80483cca0c0Riley H. Williams2002-06-03Completed ANSI'fication of many more source files, and verified that current codebase both compiles and boots on my 286 based laptop. THIS BREAKS THE KTCP COMMAND AS A RESULT OF FIXING A KERNEL BUG.
44236c3cce9463223af29e77dd156da25c8ba4fRiley H. Williams2002-04-28Further verification using `spint -weak` and detected a bug in init/main.c which I am unable to fix.
d0458ee67c65e9b11bf068ecdbfeb099fdca288Harry Kalogirou2002-04-26some changes
a548389f23b34f765970d7ea35d1456de168898Riley H. Williams2002-04-19ANSI'fied function prototypes in kernel subtree.
bd060f61b73ba0c067f46dfe81b36a0f2548c59Riley H. Williams2002-04-18Added `make indent` command and associated scripts/reindent script, also dealt with anonymous constructs shown by indent command.
482827e97a6c45c400f71b496eed05715c024abHarry Kalogirou2002-03-08do_fork() fix
19adb6b42dd0d72e06b8ca8ec2c5a7a952b1528Harry Kalogirou2001-11-23TCP window fix and do_fork() fix
83c598e310d51c0a9b34dd783d6a895c60dbef7Riley H. Williams2001-08-21First stage of validating printk() usage
68e8bfa18f6e25d128c86e274d0f66287db443cAlistair Riddoch2001-06-17Sun Jun 17 18:38 BST 2001 Alistair Riddoch <alriddoch@zepler.org> * Resolved some minor clashes between Alan's commit and Thomas's fix. * Bumped up version to 0.0.84 for release.
49fa8fcb720ad186da79c39431964aa65b29deaAlan Cox2001-06-17Remove NOFS changes
671a0d70bdf308d7346aeca2351fde55141ddcaThomas G. McWilliams2001-03-26This fixes two long standing bugs which kept a mounted file system busy and unable to be unmounted. The cause of the problem is two-fold.
ae928acf2892f3fb53a6f67c4d8d796e48275d8Andrew Richards1999-10-26Lots of changes bringing code up to 0.0.80-pre1. See CHANGELOG.
4609ab18423e89367072686969b995881937fb3Andrew Richards1999-09-05Changes for 0.0.79
6569c1b50fc2022960689f8c71b31456235546cAndrew Richards1999-08-19Clean up of source,+ new features.
d1433efb47e25df089ad1509b14a07da159b2c7Andrew Richards1998-10-13Optimised code size with careful use of register variables
f9b47559bca2467fdcc9c102c605ce826b6a78eUnspecified Developer1998-09-12Imported elks-0.0.73-pre2 source