]> Zhao Yanbai Git Server - minix.git/log
minix.git
19 years agoWrote a printenv(1)
Ben Gras [Mon, 27 Jun 2005 09:41:58 +0000 (09:41 +0000)]
Wrote a printenv(1)

19 years agoFixed sh2.sh test
Ben Gras [Mon, 27 Jun 2005 09:41:38 +0000 (09:41 +0000)]
Fixed sh2.sh test

19 years agoImported BSD-licensed rev(1) from FreeBSD (uses brand new getopt())
Ben Gras [Mon, 27 Jun 2005 09:32:29 +0000 (09:32 +0000)]
Imported BSD-licensed rev(1) from FreeBSD (uses brand new getopt())

19 years agoPrototype and definitions for getopt()
Ben Gras [Mon, 27 Jun 2005 09:30:49 +0000 (09:30 +0000)]
Prototype and definitions for getopt()

19 years agoFixed a few compile warnings
Ben Gras [Mon, 27 Jun 2005 09:30:33 +0000 (09:30 +0000)]
Fixed a few compile warnings

Imported a BSD-licensed getopt() from FreeBSD

19 years agoast@ df nits
Ben Gras [Mon, 27 Jun 2005 09:02:33 +0000 (09:02 +0000)]
ast@ df nits

19 years agoFixed typo in printf() in fxp debug statement (caused delta
Ben Gras [Mon, 27 Jun 2005 08:55:34 +0000 (08:55 +0000)]
Fixed typo in printf() in fxp debug statement (caused delta
value not to be printed)

19 years agoRemoved SM server.
Jorrit Herder [Mon, 27 Jun 2005 08:11:46 +0000 (08:11 +0000)]
Removed SM server.

19 years ago*** empty log message ***
Jorrit Herder [Fri, 24 Jun 2005 16:25:12 +0000 (16:25 +0000)]
*** empty log message ***

19 years agoCleaned up process table structure: removed p_type, p_pendcount.
Jorrit Herder [Fri, 24 Jun 2005 16:24:40 +0000 (16:24 +0000)]
Cleaned up process table structure: removed p_type, p_pendcount.
Removed stop sequence when MINIX is shut down.
Disabled send mask checks --- to be replaced by proper mechanism.
Fixed bug relating to 'shutdown -x'.
Simplified clock accounting of realtime.
Updated Makefiles for mkdept script.

19 years agoNew Makefiles for mkdep script.
Jorrit Herder [Fri, 24 Jun 2005 16:21:54 +0000 (16:21 +0000)]
New Makefiles for mkdep script.

19 years agoChanged Makefiles for mkdep script.
Jorrit Herder [Fri, 24 Jun 2005 16:21:21 +0000 (16:21 +0000)]
Changed Makefiles for mkdep script.
Updated debugging dumps at IS server, and function key control.

NOTE: pm modified with DEBUG() output, to be removed later.

19 years agoRemoved sys_exit() kernel call.
Jorrit Herder [Fri, 24 Jun 2005 16:19:41 +0000 (16:19 +0000)]
Removed sys_exit() kernel call.

19 years agoChanged kernel process table format affected ps.
Jorrit Herder [Fri, 24 Jun 2005 16:19:21 +0000 (16:19 +0000)]
Changed kernel process table format affected ps.
New mkdep.sh script and affected Makefile.

19 years agoRemoved ununsed types cpvec_t and cpvvec_t.
Jorrit Herder [Fri, 24 Jun 2005 16:17:29 +0000 (16:17 +0000)]
Removed ununsed types cpvec_t and cpvvec_t.
Removed SYS_EXIT kernel call.

19 years agoRenamed some types Uid_t, Gid_t, Mode_t, etc. for perl5.
Philip Homburg [Thu, 23 Jun 2005 11:07:31 +0000 (11:07 +0000)]
Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5.
More space for synctree.

19 years agoNewer version of anm. Should be taken from the ACK source tree.
Philip Homburg [Thu, 23 Jun 2005 09:50:54 +0000 (09:50 +0000)]
Newer version of anm. Should be taken from the ACK source tree.

19 years agoWorkaround for fishy situation that caused checksum on outgoing packets
Ben Gras [Wed, 22 Jun 2005 15:22:34 +0000 (15:22 +0000)]
Workaround for fishy situation that caused checksum on outgoing packets
to be broken in certain cases. (Seemingly when 2 short packets sent
back-to-back.) Buffer alignment seems to fix this ...

19 years agoCorrected buffer size calculation from MAX(bufsize,realsize)
Ben Gras [Tue, 21 Jun 2005 16:18:23 +0000 (16:18 +0000)]
Corrected buffer size calculation from MAX(bufsize,realsize)
to MIN(bufsize,realsize) while copying boot params.

19 years agoFixed various GCC compiler warnings for the kernel.
Jorrit Herder [Tue, 21 Jun 2005 10:47:46 +0000 (10:47 +0000)]
Fixed various GCC compiler warnings for the kernel.
Only main() now gives a warning about the return type (GCC wants an int).

19 years agoAdded function read_cpu_flags() that returns current cpu flags as a
Ben Gras [Mon, 20 Jun 2005 14:53:13 +0000 (14:53 +0000)]
Added function read_cpu_flags() that returns current cpu flags as a
long.  This is used to check for interrupts being disabled at the time
of a lock() call, if enabled in config.h. The number of times this
happens is then counted in the kinfo structure. These events (recursive
lockings) lead to nasty race conditions.

19 years agoPrint re-locking event count if enabled.
Ben Gras [Mon, 20 Jun 2005 14:52:00 +0000 (14:52 +0000)]
Print re-locking event count if enabled.

19 years agoAdded header file that decodes the intel x86 flags register.
Ben Gras [Mon, 20 Jun 2005 14:51:38 +0000 (14:51 +0000)]
Added header file that decodes the intel x86 flags register.

Added field in kinfo that can count re-lock()ing, controlled by
ENABLE_K_LOCKCHECK in config.h.

19 years agoNew bit map manipulation header.
Jorrit Herder [Mon, 20 Jun 2005 14:29:09 +0000 (14:29 +0000)]
New bit map manipulation header.
General purpose.

19 years agoUpdated function key mapping because of possible changes to NOTIFY.
Jorrit Herder [Mon, 20 Jun 2005 14:23:31 +0000 (14:23 +0000)]
Updated function key mapping because of possible changes to NOTIFY.

The TTY driver now only notifies the IS server about function key event,
but does not tell which keys are pressed. The IS servers queries the TTY
driver to find out about this.

19 years agoFix for gzip make clean if Makefile doesn't exist..
Ben Gras [Mon, 20 Jun 2005 13:30:24 +0000 (13:30 +0000)]
Fix for gzip make clean if Makefile doesn't exist..

19 years agoconnected ps and ftpd200 to commands build
Ben Gras [Mon, 20 Jun 2005 12:01:15 +0000 (12:01 +0000)]
connected ps and ftpd200 to commands build

disabled verbose message in readclock

19 years agoRemoved unused code in proc.c. New message passing code with pointer pointers
Jorrit Herder [Mon, 20 Jun 2005 11:26:48 +0000 (11:26 +0000)]
Removed unused code in proc.c. New message passing code with pointer pointers
is now in use. Rewrote ready() and unready() fuctions.

19 years agoFixed a few quirks in misc.c
Ben Gras [Mon, 20 Jun 2005 09:35:23 +0000 (09:35 +0000)]
Fixed a few quirks in misc.c
  . MAX used where it should've been MIN
  . buffer byte too short
  . inobvious use of & with && without parantheses
  . funny length checking

19 years agoConnected ps to build
Ben Gras [Mon, 20 Jun 2005 09:23:55 +0000 (09:23 +0000)]
Connected ps to build

19 years agoFixed bug that caused the PM to brutalize the contents of the 'memory'
Ben Gras [Sun, 19 Jun 2005 23:16:08 +0000 (23:16 +0000)]
Fixed bug that caused the PM to brutalize the contents of the 'memory'
variable. Parsing worked, but future requests for the variable (such as
by the sysenv command) returned truncated data. This caused the system
(e.g. setup script) to think the amount of memory was tiny, and caused
the enabling of swapspace, while it is unnecessary.

19 years agoselect-test-set compile fixes.
Ben Gras [Sun, 19 Jun 2005 23:13:57 +0000 (23:13 +0000)]
select-test-set compile fixes.

19 years agoFixed nasty bug that would cause FS to loop forever in rw_scattered (while
Ben Gras [Sun, 19 Jun 2005 22:33:49 +0000 (22:33 +0000)]
Fixed nasty bug that would cause FS to loop forever in rw_scattered (while
syncing, for instance) if blocks are unwritable. This could happen if:

  . write goes beyond device boundary to a block device
  . write is done for a complete block or more; thus the
    block is not retrieved first (at which point it would be noticed
    it doesn't exist), but the buffer is simply allocated
  . at write time, the device i/o doesn't succeed, but rw_scattered
    doesn't understand this and loops forever trying to get the block
    written.

Currently, if no blocks can be written, the loop aborts, leaving all
buffers intact but potentially dirty. When invalidate() is called on the
device, the buffers will disappear (even if dirty). Same story for if
the buffer is removed due to rmed from lru chain. There's not much we
can do about this, however - we can't keep these blocks around, forever
occupying a buffer in the buffer cache.

The second part of the solution is not to let unwritable buffers be
created in the first place. How to do this, however, without doing a
wasteful read first?

It looks like this code was in 2.0.4 too.

19 years agoMade mkfs a little smarter about how to report empty devices.
Ben Gras [Sun, 19 Jun 2005 22:28:05 +0000 (22:28 +0000)]
Made mkfs a little smarter about how to report empty devices.

Also a little smarter about manually specified number of blocks that is
larger than the device capacity.

19 years agoMade libpci recognize my pci controller at home (again)
Ben Gras [Sun, 19 Jun 2005 22:11:04 +0000 (22:11 +0000)]
Made libpci recognize my pci controller at home (again)

19 years agoFixed various nits in the make/release process.
Ben Gras [Fri, 17 Jun 2005 16:28:36 +0000 (16:28 +0000)]
Fixed various nits in the make/release process.

19 years agoPart of fs timers library, forgot to add this in previous commit.
Ben Gras [Fri, 17 Jun 2005 13:49:56 +0000 (13:49 +0000)]
Part of fs timers library, forgot to add this in previous commit.

19 years agoFixes for /root homedir.
Ben Gras [Fri, 17 Jun 2005 13:48:16 +0000 (13:48 +0000)]
Fixes for /root homedir.

19 years agoAdded (fake) readlink().
Ben Gras [Fri, 17 Jun 2005 13:47:29 +0000 (13:47 +0000)]
Added (fake) readlink().

Compile fix for fslib (BITS_PER_BLOCK was renamed to FS_BITS_PER_BLOCK).

Added extra arg to various timer functions.

19 years agoSelect test-set imported from the minix contributions, with permission
Ben Gras [Fri, 17 Jun 2005 13:45:40 +0000 (13:45 +0000)]
Select test-set imported from the minix contributions, with permission
to modify and distribute from Jose Manuel Gomez, the author
(jmgomez@linuxmail.org).

19 years agoVarious compile fixes.
Ben Gras [Fri, 17 Jun 2005 13:42:53 +0000 (13:42 +0000)]
Various compile fixes.

Imported gzip.

Changed setup script not to insist cwd is / when running from cd.

19 years agoRenamed commands to cmds - make is confused that the commands directory
Ben Gras [Fri, 17 Jun 2005 13:42:06 +0000 (13:42 +0000)]
Renamed commands to cmds - make is confused that the commands directory
exists.

19 years agoStarted select() implementation.
Ben Gras [Fri, 17 Jun 2005 13:41:12 +0000 (13:41 +0000)]
Started select() implementation.

Added interface to select() for pipes (also named pipes), and select()
stubs for regular files.

Added timer library in FS that select() is the first customer of.

This is unfinished, but committed anyway to get a new release out to
Al and testers.

19 years agoChanged timer library function args.
Ben Gras [Fri, 17 Jun 2005 13:37:41 +0000 (13:37 +0000)]
Changed timer library function args.

Added select() support for tty fd's (not ptys yet).

19 years agoChanged arguments of timer library functions.
Ben Gras [Fri, 17 Jun 2005 13:36:01 +0000 (13:36 +0000)]
Changed arguments of timer library functions.

19 years agoStarted select() manpage.
Ben Gras [Fri, 17 Jun 2005 13:35:21 +0000 (13:35 +0000)]
Started select() manpage.

Added lstat() comment to stat().

19 years agoVarious select() support flags, prototypes, definitions.
Ben Gras [Fri, 17 Jun 2005 13:34:47 +0000 (13:34 +0000)]
Various select() support flags, prototypes, definitions.

Major numbers for inet, tty, ctty.

Defined _MINIX_VERSION to check for major minix version in applications.

Prototype for (fake) readlink().

19 years agoAdded back boot banner for CD
Ben Gras [Fri, 17 Jun 2005 13:25:06 +0000 (13:25 +0000)]
Added back boot banner for CD

19 years agoApplied MINIX 2.0.4 pathes provides by Al Woodhull.
Jorrit Herder [Fri, 17 Jun 2005 13:00:04 +0000 (13:00 +0000)]
Applied MINIX 2.0.4 pathes provides by Al Woodhull.

19 years agoUpdated boot monitor help menu.
Jorrit Herder [Fri, 17 Jun 2005 11:52:55 +0000 (11:52 +0000)]
Updated boot monitor help menu.

19 years agoAdded dummy readlink() call that returns an error (we don't have symlinks
Ben Gras [Fri, 17 Jun 2005 11:43:24 +0000 (11:43 +0000)]
Added dummy readlink() call that returns an error (we don't have symlinks
yet)

also select() stub

19 years agoRemoved unnecessary call to unlock() from exception().
Jorrit Herder [Fri, 17 Jun 2005 09:50:12 +0000 (09:50 +0000)]
Removed unnecessary call to unlock() from exception().

19 years agoFixed code passed to boot monitor after shutdown.
Jorrit Herder [Fri, 17 Jun 2005 09:40:02 +0000 (09:40 +0000)]
Fixed code passed to boot monitor after shutdown.

19 years agoRemoved duplicate 'done' output after calling readall.
Jorrit Herder [Fri, 17 Jun 2005 09:36:08 +0000 (09:36 +0000)]
Removed duplicate 'done' output after calling readall.

19 years ago*** empty log message ***
Jorrit Herder [Fri, 17 Jun 2005 09:34:44 +0000 (09:34 +0000)]
*** empty log message ***

19 years agoCapitalized output.
Jorrit Herder [Fri, 17 Jun 2005 09:33:00 +0000 (09:33 +0000)]
Capitalized output.

19 years ago*** empty log message ***
Jorrit Herder [Fri, 17 Jun 2005 09:15:39 +0000 (09:15 +0000)]
*** empty log message ***

19 years agoRemoved mem chunks dump. (No longer available from kernel.)
Jorrit Herder [Fri, 17 Jun 2005 09:13:32 +0000 (09:13 +0000)]
Removed mem chunks dump. (No longer available from kernel.)

19 years agoParsing of free memory chunks is now done at the process manager.
Jorrit Herder [Fri, 17 Jun 2005 09:10:30 +0000 (09:10 +0000)]
Parsing of free memory chunks is now done at the process manager.

19 years ago* Fixed bug relating to nested locking in interrupt handlers. The nested lock
Jorrit Herder [Fri, 17 Jun 2005 09:09:54 +0000 (09:09 +0000)]
* Fixed bug relating to nested locking in interrupt handlers. The nested lock
caused interrupts to be reenabled (due to unlock), which caused a race. The
problems were especially visible on slower machines.
* Relocated free memory parsing to process manager. This saved quite some
code at the kernel level. Text size was reduced by about 650 bytes.
* Removed locks for updating the realtime in the clock's main loop and the
get_uptime function. Interrupts are no longer reentrant, so realtime is
immediately updated.

19 years agoRelocated echo "Multiuser startup in progress ..." to top.
Jorrit Herder [Fri, 17 Jun 2005 09:00:31 +0000 (09:00 +0000)]
Relocated echo "Multiuser startup in progress ..." to top.

19 years agoChanged uname to retrieve actual OS release and version number at runtime.
Jorrit Herder [Fri, 17 Jun 2005 08:53:33 +0000 (08:53 +0000)]
Changed uname to retrieve actual OS release and version number at runtime.

19 years agoMinor changes in PM interface affected these commands.
Jorrit Herder [Fri, 17 Jun 2005 08:52:53 +0000 (08:52 +0000)]
Minor changes in PM interface affected these commands.
Getty now retrieves the actual release and version number at runtime.

19 years agoFixed typo in run output;
Jorrit Herder [Fri, 17 Jun 2005 08:51:28 +0000 (08:51 +0000)]
Fixed typo in run output;
Reduced NR_ITERATIONS for tests dealing with MAX_LINKS.

19 years agoUndid \c from default leader and trailer
Ben Gras [Fri, 17 Jun 2005 08:00:13 +0000 (08:00 +0000)]
Undid \c from default leader and trailer

19 years agoImproved compatibility with other Unix systems.
Philip Homburg [Fri, 10 Jun 2005 15:12:03 +0000 (15:12 +0000)]
Improved compatibility with other Unix systems.

19 years agoHack for buffer overflow, should be fixed properly.
Philip Homburg [Wed, 8 Jun 2005 11:05:27 +0000 (11:05 +0000)]
Hack for buffer overflow, should be fixed properly.

19 years agoRemoved debug dumps from the PM and FS servers. The dumps are now done by the
Jorrit Herder [Tue, 7 Jun 2005 14:43:35 +0000 (14:43 +0000)]
Removed debug dumps from the PM and FS servers. The dumps are now done by the
IS servers, which obtains a copy of the data through the getsysinfo() system
call. CTRL-F1 now is a special TTY key to shows function key mappings.

19 years agofix for ~root being / and buggering up system with chroot -R
Ben Gras [Tue, 7 Jun 2005 13:33:57 +0000 (13:33 +0000)]
fix for ~root being / and buggering up system with chroot -R

19 years agoKernel cleanup.
Jorrit Herder [Tue, 7 Jun 2005 12:34:25 +0000 (12:34 +0000)]
Kernel cleanup.
Reduced kernel size by 512KB by moving private buffer into cstart() function.
Replaced assertions with erroneous return values. Removed assertions relating
to isuserp(rp), since all processes should become user processes; system
processes are now treated similar to other processes.

19 years agoAdded welcome message to POSIX test suite.
Jorrit Herder [Tue, 7 Jun 2005 11:52:35 +0000 (11:52 +0000)]
Added welcome message to POSIX test suite.

19 years agoUse relative paths.
Philip Homburg [Mon, 6 Jun 2005 16:18:05 +0000 (16:18 +0000)]
Use relative paths.

19 years agoremoved debug message
Ben Gras [Mon, 6 Jun 2005 14:58:47 +0000 (14:58 +0000)]
removed debug message

19 years agoFixed 'ps' utility: now get process table addresses with getsysinfo() calls.
Jorrit Herder [Mon, 6 Jun 2005 13:51:50 +0000 (13:51 +0000)]
Fixed 'ps' utility: now get process table addresses with getsysinfo() calls.
To be done: get copies of process tables instead of using /dev/(k)mem.

19 years agocheck relaxation for bios memory
Ben Gras [Mon, 6 Jun 2005 11:54:58 +0000 (11:54 +0000)]
check relaxation for bios memory

19 years agosmall compile fixes; initial select() stubs; release.sh script doesn't
Ben Gras [Mon, 6 Jun 2005 11:40:32 +0000 (11:40 +0000)]
small compile fixes; initial select() stubs; release.sh script doesn't
need /tmp any more since 16MB root device; increase to 3.0.5 to make new
CD with working FXP driver. (not tagged 3.0.5 yet as at driver bios-copy
workaround hasn't been done.)

19 years agobugfix
Ben Gras [Mon, 6 Jun 2005 11:31:20 +0000 (11:31 +0000)]
bugfix

19 years agoFixed bug relating to FS and MEMORY during startup;
Jorrit Herder [Mon, 6 Jun 2005 09:30:44 +0000 (09:30 +0000)]
Fixed bug relating to FS and MEMORY during startup;
Relocated some syslib functions to utils library;
Changed location of 'Multiuser startup ..." echo in /etc/rc

19 years agoVarious updates.
Jorrit Herder [Fri, 3 Jun 2005 13:55:06 +0000 (13:55 +0000)]
Various updates.
* Removed some variants of the SYS_GETINFO calls from the kernel;
  replaced them with new PM and utils libary functionality. Fixed
  bugs in utils library that used old get_kenv() variant.
* Implemented a buffer in the kernel to gather random data.
  Memory driver periodically checks this for /dev/random.
  A better random algorithm can now be implemented in the driver.
  Removed SYS_RANDOM; the SYS_GETINFO call is used instead.
* Remove SYS_KMALLOC from the kernel. Memory allocation can now
  be done at the process manager with new 'other' library functions.

19 years agoprocess manager must be able to send to rtl driver
Ben Gras [Fri, 3 Jun 2005 09:02:19 +0000 (09:02 +0000)]
process manager must be able to send to rtl driver

19 years agoprettified rtl driver:
Ben Gras [Fri, 3 Jun 2005 08:59:54 +0000 (08:59 +0000)]
prettified rtl driver:
 . no more kmalloc
 . no more umaps + physcopies / abscopies
 . the status register is directly readable from the drivers own
   address space now, and no physcopy is needed to read it
 . map+physcopy call combinations are replaced by vircopy calls

19 years agoUndid usage of vector-copy function. It's a good idea but there's a bug
Ben Gras [Thu, 2 Jun 2005 16:49:33 +0000 (16:49 +0000)]
Undid usage of vector-copy function. It's a good idea but there's a bug
there somewhere. I'll debug first, then recommit.

19 years agoCreated new findproc system call to the PM (to replace similar kernel
Jorrit Herder [Thu, 2 Jun 2005 12:43:21 +0000 (12:43 +0000)]
Created new findproc system call to the PM (to replace similar kernel
functionality). Currently working on memory allocation (not yet finished).

19 years agoMinor commit to remove conflict with update.
Jorrit Herder [Wed, 1 Jun 2005 14:34:59 +0000 (14:34 +0000)]
Minor commit to remove conflict with update.

19 years agoCleaned up src/lib/utils library. Renamed server_ functions to more logical
Jorrit Herder [Wed, 1 Jun 2005 14:31:00 +0000 (14:31 +0000)]
Cleaned up src/lib/utils library. Renamed server_ functions to more logical
names. All system processes can now either use panic() or report() from
libutils, or redefine their own function. Assertions are done via the standard
<assert.h> functionality.

19 years agofixed bug that caused number of inodes to make estimation to be terrible
Ben Gras [Wed, 1 Jun 2005 11:39:45 +0000 (11:39 +0000)]
fixed bug that caused number of inodes to make estimation to be terrible
in most cases

19 years agoMake needs a little more memory
Ben Gras [Wed, 1 Jun 2005 11:14:08 +0000 (11:14 +0000)]
Make needs a little more memory

19 years agoRemoved mm files (obsolete; it's pm now)
Ben Gras [Wed, 1 Jun 2005 09:40:42 +0000 (09:40 +0000)]
Removed mm files (obsolete; it's pm now)

19 years agoAble to dump lock()/unlock() timing data
Ben Gras [Wed, 1 Jun 2005 09:40:27 +0000 (09:40 +0000)]
Able to dump lock()/unlock() timing data

19 years agofunction key notifications became notifies fix
Ben Gras [Wed, 1 Jun 2005 09:40:02 +0000 (09:40 +0000)]
function key notifications became notifies fix

19 years agoexec now uses phys_zero system call to zero bss segments (instead of
Ben Gras [Wed, 1 Jun 2005 09:39:45 +0000 (09:39 +0000)]
exec now uses phys_zero system call to zero bss segments (instead of
using phys_copy to copy zeroes there for every kb), which is a big
optimisation in some cases

fixed a bug that was introduced when function keys became notifies

19 years agoAdded args to lock() and unlock() to tell them apart, for use
Ben Gras [Wed, 1 Jun 2005 09:37:52 +0000 (09:37 +0000)]
Added args to lock() and unlock() to tell them apart, for use
when lock timing is enabled in minix/config.h.

Added phys_zero() routine to klib386.s that zeroes a range of memory, and
added corresponding system call.

19 years agoAdded sys_physzero library call for corresponding system call; modified
Ben Gras [Wed, 1 Jun 2005 09:36:07 +0000 (09:36 +0000)]
Added sys_physzero library call for corresponding system call; modified
system-printf() so it returns number of characters printed (for use in
smart formatting)

19 years agoMoved timing structs around to be more standard
Ben Gras [Wed, 1 Jun 2005 09:34:37 +0000 (09:34 +0000)]
Moved timing structs around to be more standard

19 years agoAdded support for lock()/unlock() timing registration; also phys_zero system
Ben Gras [Wed, 1 Jun 2005 09:34:18 +0000 (09:34 +0000)]
Added support for lock()/unlock() timing registration; also phys_zero system
call

19 years agodifferent way of dealing with fd's so chmem <arg> <long list of files>
Ben Gras [Wed, 1 Jun 2005 09:31:14 +0000 (09:31 +0000)]
different way of dealing with fd's so chmem <arg> <long list of files>
doesn't fail due to file descriptor leaks

19 years agoFixed minor bug in PM's child time administration.
Jorrit Herder [Wed, 1 Jun 2005 08:55:22 +0000 (08:55 +0000)]
Fixed minor bug in PM's child time administration.

19 years agoFix for 'the kermit problem' (keyrepeats happening before the keyrepeat
Ben Gras [Tue, 31 May 2005 15:22:06 +0000 (15:22 +0000)]
Fix for 'the kermit problem' (keyrepeats happening before the keyrepeat
timeout). A fix is to treat the alarm and interrupt cases differently and
only call the interrupt handler when an actual interrupt has been seen. No
apparent adverse effects.

19 years ago*** empty log message ***
Jorrit Herder [Tue, 31 May 2005 14:44:49 +0000 (14:44 +0000)]
*** empty log message ***

19 years agoReplaced flagalrm() timers with another technique to check for timeouts.
Jorrit Herder [Tue, 31 May 2005 14:43:04 +0000 (14:43 +0000)]
Replaced flagalrm() timers with another technique to check for timeouts.
This allowed removing the p_flagarlm timer from the kernel's process table.
Furthermore, I merged p_syncalrm and p_signalrm into p_alarm_timer to save
even more space. Note that processes can no longer have both a signal and
synchronous alarm timer outstanding as of now.