]> Zhao Yanbai Git Server - minix.git/log
minix.git
15 years agomake USRMB settable
Ben Gras [Thu, 19 Mar 2009 14:14:57 +0000 (14:14 +0000)]
make USRMB settable

15 years agomultiple ram disks; also make release process use this
Ben Gras [Thu, 19 Mar 2009 13:48:19 +0000 (13:48 +0000)]
multiple ram disks; also make release process use this
so temporary partitions aren't needed any more.

15 years agoIncrease ARG_MAX
Arun Thomas [Tue, 17 Mar 2009 07:38:35 +0000 (07:38 +0000)]
Increase ARG_MAX

15 years agoUpdate setup's NIC selection dialog
Arun Thomas [Fri, 6 Mar 2009 17:45:22 +0000 (17:45 +0000)]
Update setup's NIC selection dialog

15 years agoDefine 64 bit integer types when compiling with GCC
Arun Thomas [Fri, 6 Mar 2009 16:56:46 +0000 (16:56 +0000)]
Define 64 bit integer types when compiling with GCC

15 years ago(no commit message)
Ben Gras [Wed, 4 Mar 2009 17:44:34 +0000 (17:44 +0000)]

15 years agofix error check
Ben Gras [Wed, 4 Mar 2009 17:38:27 +0000 (17:38 +0000)]
fix error check

15 years agoonly assign value if request went ok.
Ben Gras [Thu, 19 Feb 2009 17:14:36 +0000 (17:14 +0000)]
only assign value if request went ok.

15 years agoCheck for firstdatazone overflow.
Ben Gras [Tue, 17 Feb 2009 13:01:25 +0000 (13:01 +0000)]
Check for firstdatazone overflow.

15 years agohelp debugging cause of these sometimes odd calls.
Ben Gras [Tue, 17 Feb 2009 12:09:59 +0000 (12:09 +0000)]
help debugging cause of these sometimes odd calls.

15 years agoChecking wrong inode pointer for refcount in mount (!)
Ben Gras [Tue, 17 Feb 2009 09:50:02 +0000 (09:50 +0000)]
Checking wrong inode pointer for refcount in mount (!)

15 years agoA serial ata pci card we have.
Ben Gras [Mon, 16 Feb 2009 13:20:10 +0000 (13:20 +0000)]
A serial ata pci card we have.

15 years agoWe don't install the bzip2 manual, much less four copies of it, and
Ben Gras [Mon, 16 Feb 2009 10:01:22 +0000 (10:01 +0000)]
We don't install the bzip2 manual, much less four copies of it, and
it's quite big.

15 years agolet at_wini see ata raid controllers
Ben Gras [Thu, 12 Feb 2009 12:28:28 +0000 (12:28 +0000)]
let at_wini see ata raid controllers

15 years agolet drivers allocate memory at 64k physical boundary.
Ben Gras [Thu, 12 Feb 2009 12:26:08 +0000 (12:26 +0000)]
let drivers allocate memory at 64k physical boundary.

15 years agoDon't declare the cprof buf if CPROFILE isn't on.
Ben Gras [Fri, 6 Feb 2009 16:31:28 +0000 (16:31 +0000)]
Don't declare the cprof buf if CPROFILE isn't on.

15 years agostingy stack.
Ben Gras [Fri, 6 Feb 2009 16:29:00 +0000 (16:29 +0000)]
stingy stack.

15 years agoreadclock easily runs out of stack with so little of it.
Ben Gras [Fri, 6 Feb 2009 16:28:35 +0000 (16:28 +0000)]
readclock easily runs out of stack with so little of it.

15 years agocheck for devices that would need more blocks than 32
Ben Gras [Thu, 5 Feb 2009 16:30:20 +0000 (16:30 +0000)]
check for devices that would need more blocks than 32
bits allow..

15 years agofix compiler warning; missing memory range check
Ben Gras [Thu, 5 Feb 2009 13:00:03 +0000 (13:00 +0000)]
fix compiler warning; missing memory range check

15 years agosimplified the code a little, corrected some hasty statements.
Ben Gras [Wed, 4 Feb 2009 17:30:01 +0000 (17:30 +0000)]
simplified the code a little, corrected some hasty statements.

15 years agoAdded a separate keymap for escaped scancodes. This makes the code
Ben Gras [Wed, 4 Feb 2009 17:04:16 +0000 (17:04 +0000)]
Added a separate keymap for escaped scancodes. This makes the code
a little cleaner (escaped scancodes are less of a special case) and
lets us be completely flexible when assigning meaning to them.

Future: a tool and ioctl to load the escaped keymap.

15 years agothe escaped keymap is usually the same as the original.
Ben Gras [Wed, 4 Feb 2009 16:55:30 +0000 (16:55 +0000)]
the escaped keymap is usually the same as the original.

15 years agodisable interrupts if necessary in kernel debug code to dump all process
Ben Gras [Thu, 29 Jan 2009 15:13:54 +0000 (15:13 +0000)]
disable interrupts if necessary in kernel debug code to dump all process
stacks.

15 years agoIf serial debugging in the boot monitor / kernel is enabled, don't touch
Ben Gras [Thu, 29 Jan 2009 15:06:40 +0000 (15:06 +0000)]
If serial debugging in the boot monitor / kernel is enabled, don't touch
the serial line in use for it (mostly so that input isn't eaten by tty).

15 years agouse library panic, doesn't need its own any more.
Ben Gras [Thu, 29 Jan 2009 14:41:44 +0000 (14:41 +0000)]
use library panic, doesn't need its own any more.

15 years agomoved stacktrace to sysctl, as vmctl is very privileged so can't
Ben Gras [Tue, 27 Jan 2009 12:54:33 +0000 (12:54 +0000)]
moved stacktrace to sysctl, as vmctl is very privileged so can't
be used outside VM. IS code cleanup. added stacktrace feature to IS.

15 years ago . new kernel call sysctl for generic unprivileged system operations;
Ben Gras [Mon, 26 Jan 2009 17:43:59 +0000 (17:43 +0000)]
 . new kernel call sysctl for generic unprivileged system operations;
   now used for printing diagnostic messages through the kernel message
   buffer. this lets processes print diagnostics without sending messages
   to tty and log directly, simplifying the message protocol a lot and
   reducing difficulties with deadlocks and other situations in which
   diagnostics are blackholed (e.g. grants don't work). this makes
   DIAGNOSTICS(_S), ASYN_DIAGNOSTICS and DIAG_REPL obsolete, although tty
   and log still accept the codes for 'old' binaries. This also simplifies
   diagnostics in several servers and drivers - only tty needs its own
   kputc() now.
 . simplifications in vfs, and some effort to get the vnode references
   right (consistent) even during shutdown. m_mounted_on is now NULL
   for root filesystems (!) (the original and new root), a less awkward
   special case than 'm_mounted_on == m_root_node'. root now has exactly
   one reference, to root, if no files are open, just like all other
   filesystems. m_driver_e is unused.

15 years agodon't hang on disappearing filesystem.
Ben Gras [Mon, 26 Jan 2009 13:02:41 +0000 (13:02 +0000)]
don't hang on disappearing filesystem.

15 years agoprototype
Ben Gras [Thu, 22 Jan 2009 17:09:45 +0000 (17:09 +0000)]
prototype

15 years agomust be unsigned for base+limit check to to work
Ben Gras [Thu, 22 Jan 2009 13:05:20 +0000 (13:05 +0000)]
must be unsigned for base+limit check to to work

15 years agopackage list sanity check
Ben Gras [Tue, 20 Jan 2009 15:49:42 +0000 (15:49 +0000)]
package list sanity check

15 years agominor cleanup, extra check
Ben Gras [Tue, 20 Jan 2009 15:47:00 +0000 (15:47 +0000)]
minor cleanup, extra check

15 years agoreduce kernel buffer size.
Ben Gras [Tue, 20 Jan 2009 13:57:24 +0000 (13:57 +0000)]
reduce kernel buffer size.

15 years agosanity check function
Ben Gras [Tue, 20 Jan 2009 13:43:18 +0000 (13:43 +0000)]
sanity check function

15 years agomostly harmless sanity checks.
Ben Gras [Tue, 20 Jan 2009 13:43:00 +0000 (13:43 +0000)]
mostly harmless sanity checks.

15 years agosimplification suggested by Mark Farnsworth
Ben Gras [Thu, 15 Jan 2009 14:42:40 +0000 (14:42 +0000)]
simplification suggested by Mark Farnsworth

15 years agomake bootinfo valid immediately
Ben Gras [Wed, 14 Jan 2009 08:56:20 +0000 (08:56 +0000)]
make bootinfo valid immediately

15 years agoRS needs a bit more memory
Ben Gras [Wed, 14 Jan 2009 08:55:48 +0000 (08:55 +0000)]
RS needs a bit more memory

15 years agodon't print if we're already printing to serial.
Ben Gras [Wed, 14 Jan 2009 08:54:17 +0000 (08:54 +0000)]
don't print if we're already printing to serial.

15 years agodebug twiddle.
Ben Gras [Wed, 14 Jan 2009 08:52:50 +0000 (08:52 +0000)]
debug twiddle.

15 years agosometime this will be a new release.
Ben Gras [Wed, 14 Jan 2009 08:38:37 +0000 (08:38 +0000)]
sometime this will be a new release.

15 years agocompile fix for new lock timings
Ben Gras [Mon, 12 Jan 2009 22:14:43 +0000 (22:14 +0000)]
compile fix for new lock timings

15 years agodon't produce kernel output if serial debug is on.
Ben Gras [Sun, 11 Jan 2009 23:47:03 +0000 (23:47 +0000)]
don't produce kernel output if serial debug is on.

15 years agouse #include name for servarname
Ben Gras [Sun, 11 Jan 2009 23:45:29 +0000 (23:45 +0000)]
use #include name for servarname

15 years agodebug msg
Ben Gras [Fri, 9 Jan 2009 21:47:04 +0000 (21:47 +0000)]
debug msg

15 years agocprofile not conditional
Ben Gras [Fri, 9 Jan 2009 21:45:27 +0000 (21:45 +0000)]
cprofile not conditional

15 years agocprofile not conditional
Ben Gras [Fri, 9 Jan 2009 21:44:52 +0000 (21:44 +0000)]
cprofile not conditional

15 years agocprofile always on
Ben Gras [Fri, 9 Jan 2009 21:42:36 +0000 (21:42 +0000)]
cprofile always on

15 years agocprofile always on; data type and definitions to include file
Ben Gras [Fri, 9 Jan 2009 21:40:29 +0000 (21:40 +0000)]
cprofile always on; data type and definitions to include file

15 years agoCPROFILE wants this
Ben Gras [Fri, 9 Jan 2009 21:11:23 +0000 (21:11 +0000)]
CPROFILE wants this

15 years agodon't always time that
Ben Gras [Fri, 9 Jan 2009 20:58:35 +0000 (20:58 +0000)]
don't always time that

15 years agoprofbuf syscall
Ben Gras [Fri, 9 Jan 2009 17:47:38 +0000 (17:47 +0000)]
profbuf syscall

15 years agobigger ramdisk for bigger binaries
Ben Gras [Fri, 9 Jan 2009 17:47:18 +0000 (17:47 +0000)]
bigger ramdisk for bigger binaries

15 years agoprofiling reminder
Ben Gras [Fri, 9 Jan 2009 16:44:47 +0000 (16:44 +0000)]
profiling reminder

15 years agotiming library from kernel into library
Ben Gras [Fri, 9 Jan 2009 16:39:31 +0000 (16:39 +0000)]
timing library from kernel into library

15 years agono longer in kernel
Ben Gras [Fri, 9 Jan 2009 16:35:25 +0000 (16:35 +0000)]
no longer in kernel

15 years agotiming measurement code out of kernel and into library
Ben Gras [Fri, 9 Jan 2009 16:15:15 +0000 (16:15 +0000)]
timing measurement code out of kernel and into library
(so other components can use it too)

15 years agoactually build and install zoneinfo.
Ben Gras [Sun, 21 Dec 2008 04:33:50 +0000 (04:33 +0000)]
actually build and install zoneinfo.

15 years agoforget about bad block testing.
Ben Gras [Sun, 21 Dec 2008 04:26:41 +0000 (04:26 +0000)]
forget about bad block testing.

15 years agostopgap measure against elvis going nuts when files that are too large
Ben Gras [Sun, 21 Dec 2008 04:01:01 +0000 (04:01 +0000)]
stopgap measure against elvis going nuts when files that are too large
are opened.

15 years agodon't ignore the fact that scancodes are escaped.
Ben Gras [Sun, 21 Dec 2008 03:53:25 +0000 (03:53 +0000)]
don't ignore the fact that scancodes are escaped.
if not understood explicitly, print diagnostic and
ignore scancode.

15 years agodon't check senda() buffer if size is 0.
Ben Gras [Sun, 21 Dec 2008 03:46:42 +0000 (03:46 +0000)]
don't check senda() buffer if size is 0.

15 years agomake space for first code and data pages if so configured.
Ben Gras [Fri, 19 Dec 2008 15:46:29 +0000 (15:46 +0000)]
make space for first code and data pages if so configured.

15 years agodebug buffer slightly usabler.
Ben Gras [Fri, 19 Dec 2008 15:19:42 +0000 (15:19 +0000)]
debug buffer slightly usabler.

15 years agophys addr arg of 0 must be possible for pt_writemap too (instead of meaning
Ben Gras [Fri, 19 Dec 2008 13:29:12 +0000 (13:29 +0000)]
phys addr arg of 0 must be possible for pt_writemap too (instead of meaning
unmap).

15 years agoif serial output is enabled in the boot monitor, on the first serial line,
Ben Gras [Fri, 19 Dec 2008 13:21:42 +0000 (13:21 +0000)]
if serial output is enabled in the boot monitor, on the first serial line,
enable serial debug output in the kernel too.

15 years ago/boot/boot install helper script.
Ben Gras [Fri, 19 Dec 2008 12:52:45 +0000 (12:52 +0000)]
/boot/boot install helper script.

15 years agooops, shouldn't be on in svn.
Ben Gras [Thu, 18 Dec 2008 17:42:29 +0000 (17:42 +0000)]
oops, shouldn't be on in svn.

15 years ago . map text (kernel's and processes') in readonly
Ben Gras [Thu, 18 Dec 2008 15:35:22 +0000 (15:35 +0000)]
 . map text (kernel's and processes') in readonly
 . map kernel in non-user
 . don't map in first pages of kernel code and data
   if possible

these first pages could actually be freed but as the
kernel isn't allowed to touch them either we can't reuse
them until VM has totally taken over page table management
and kernel doesn't rely on identity mapping any more.

15 years agomake kernel leave a page-sized gap in its code and data to not be
Ben Gras [Thu, 18 Dec 2008 14:30:55 +0000 (14:30 +0000)]
make kernel leave a page-sized gap in its code and data to not be
mapped in if so configured.

15 years agoInitialize deferred field. This seems to fix a hanging select() bug.
Ben Gras [Wed, 17 Dec 2008 14:20:08 +0000 (14:20 +0000)]
Initialize deferred field. This seems to fix a hanging select() bug.

15 years agobugfix for lance. works in vmware now.
Ben Gras [Wed, 17 Dec 2008 01:20:15 +0000 (01:20 +0000)]
bugfix for lance. works in vmware now.

15 years agoput put_vnode() back where it belongs!
Ben Gras [Tue, 16 Dec 2008 16:11:24 +0000 (16:11 +0000)]
put put_vnode() back where it belongs!

15 years agosyslib function for VMCTL_STACKTRACE
Ben Gras [Tue, 16 Dec 2008 14:42:32 +0000 (14:42 +0000)]
syslib function for VMCTL_STACKTRACE

15 years agoadded code for debugging pagefaults
Ben Gras [Tue, 16 Dec 2008 14:33:53 +0000 (14:33 +0000)]
added code for debugging pagefaults

15 years ago(no commit message)
Ben Gras [Tue, 16 Dec 2008 14:32:56 +0000 (14:32 +0000)]

15 years ago(no commit message)
Ben Gras [Mon, 15 Dec 2008 15:16:26 +0000 (15:16 +0000)]

15 years agoget fproc table. don't print size as that doesn't say much in VM mode.
Ben Gras [Mon, 15 Dec 2008 13:05:52 +0000 (13:05 +0000)]
get fproc table. don't print size as that doesn't say much in VM mode.
this restores ps.

15 years agodon't force vm to print to serial; don't kill processes when they
Ben Gras [Thu, 11 Dec 2008 17:36:33 +0000 (17:36 +0000)]
don't force vm to print to serial; don't kill processes when they
have 'bad' memory ranges (as it's the requestor's fault)

15 years agouse VM functions to allocate ramdisk on demand. some unification in code.
Ben Gras [Thu, 11 Dec 2008 17:33:13 +0000 (17:33 +0000)]
use VM functions to allocate ramdisk on demand. some unification in code.

15 years agoDEV_BOOT is obsolete.
Ben Gras [Thu, 11 Dec 2008 16:50:11 +0000 (16:50 +0000)]
DEV_BOOT is obsolete.

15 years agoDEV_BOOT is obsolete.
Ben Gras [Thu, 11 Dec 2008 16:50:01 +0000 (16:50 +0000)]
DEV_BOOT is obsolete.

15 years agofor compatability with older images.
Ben Gras [Thu, 11 Dec 2008 15:50:33 +0000 (15:50 +0000)]
for compatability with older images.

15 years agostacktrace feature.
Ben Gras [Thu, 11 Dec 2008 15:33:43 +0000 (15:33 +0000)]
stacktrace feature.

15 years agoprototype fix
Ben Gras [Thu, 11 Dec 2008 15:02:44 +0000 (15:02 +0000)]
prototype fix

15 years agostraggler.
Ben Gras [Thu, 11 Dec 2008 14:55:06 +0000 (14:55 +0000)]
straggler.

15 years agodynamic HZ, library stacktrace
Ben Gras [Thu, 11 Dec 2008 14:54:42 +0000 (14:54 +0000)]
dynamic HZ, library stacktrace

15 years agorc script needs to open its own stdin, stdout and stderr
Ben Gras [Thu, 11 Dec 2008 14:50:56 +0000 (14:50 +0000)]
rc script needs to open its own stdin, stdout and stderr

15 years agoeveryone needs GETINFO for HZ
Ben Gras [Thu, 11 Dec 2008 14:50:28 +0000 (14:50 +0000)]
everyone needs GETINFO for HZ

15 years ago . no more HZ
Ben Gras [Thu, 11 Dec 2008 14:49:17 +0000 (14:49 +0000)]
 . no more HZ
 . let user processes query HZ
 . no more custom panic()

15 years agosystem_hz replaces HZ
Ben Gras [Thu, 11 Dec 2008 14:48:05 +0000 (14:48 +0000)]
system_hz replaces HZ

15 years agono more HZ; less debugging statements
Ben Gras [Thu, 11 Dec 2008 14:47:48 +0000 (14:47 +0000)]
no more HZ; less debugging statements

15 years agodebug out
Ben Gras [Thu, 11 Dec 2008 14:46:46 +0000 (14:46 +0000)]
debug out

15 years agodon't hang old binaries
Ben Gras [Thu, 11 Dec 2008 14:45:49 +0000 (14:45 +0000)]
don't hang old binaries

15 years agoadded some code to debug why filesystems won't unmount
Ben Gras [Thu, 11 Dec 2008 14:45:31 +0000 (14:45 +0000)]
added some code to debug why filesystems won't unmount

15 years agothrow out debugging code.
Ben Gras [Thu, 11 Dec 2008 14:44:10 +0000 (14:44 +0000)]
throw out debugging code.

15 years agoNo more HZ.
Ben Gras [Thu, 11 Dec 2008 14:43:53 +0000 (14:43 +0000)]
No more HZ.

15 years agoOpen stdin, stdout and stderr only after /etc/rc has executed. (/etc/rc
Ben Gras [Thu, 11 Dec 2008 14:43:25 +0000 (14:43 +0000)]
Open stdin, stdout and stderr only after /etc/rc has executed. (/etc/rc
executes it itself.) This avoids keeping /dev nodes on the temporary
root filesystem (initial mfs) in use unnecessarily.

15 years ago . no more HZ, but use sys_hz() to get that value
Ben Gras [Thu, 11 Dec 2008 14:42:23 +0000 (14:42 +0000)]
 . no more HZ, but use sys_hz() to get that value
 . memory maps in physical memory (for /dev/mem) with new vm interface
 . pci complete_bars() seems to be buggy behaviour sometimes
 . startup script opens its own stdout, stderr and stdin so init doesn't
   have to do it