]> Zhao Yanbai Git Server - minix.git/log
minix.git
12 years agoMore cleaning up
Antoine Leca [Tue, 14 Feb 2012 18:58:27 +0000 (19:58 +0100)]
More cleaning up

12 years agolibblockdriver: attribute usage bugfix
David van Moolenbroek [Wed, 15 Feb 2012 13:22:45 +0000 (14:22 +0100)]
libblockdriver: attribute usage bugfix

12 years agoupdateboot script for netbsd bootloader
Evgeniy Ivanov [Wed, 15 Feb 2012 02:51:27 +0000 (03:51 +0100)]
updateboot script for netbsd bootloader

12 years agore-enable update-superblock check
Ben Gras [Wed, 15 Feb 2012 02:46:01 +0000 (03:46 +0100)]
re-enable update-superblock check

This reverts commit cdbc4bfb13b9446a00da95efa1e13ebaa4f35741.

12 years agosimplify chrootmake.sh
Ben Gras [Wed, 15 Feb 2012 00:19:12 +0000 (01:19 +0100)]
simplify chrootmake.sh

. just use make world

12 years agoRemove elle(1) editor, due to an incompatible license
David van Moolenbroek [Tue, 14 Feb 2012 14:47:02 +0000 (15:47 +0100)]
Remove elle(1) editor, due to an incompatible license

12 years agoDon't update mtab upon mounting procfs
Thomas Veerman [Tue, 14 Feb 2012 15:44:21 +0000 (15:44 +0000)]
Don't update mtab upon mounting procfs

It causes an ugly error message when booting from cd and it gets
overwritten by `printroot >/etc/mtab` in /etc/rc anyway.

12 years agoAdded UPDATING note about newer clang required.
Ben Gras [Tue, 14 Feb 2012 15:42:33 +0000 (16:42 +0100)]
Added UPDATING note about newer clang required.

12 years agouser(8): remove output file from source
David van Moolenbroek [Tue, 14 Feb 2012 14:47:51 +0000 (15:47 +0100)]
user(8): remove output file from source

12 years agoMake ELF kernel boot faster
Antoine Leca [Sat, 11 Feb 2012 23:19:00 +0000 (00:19 +0100)]
Make ELF kernel boot faster

12 years agoupdate_bootcfg script
Evgeniy Ivanov [Mon, 13 Feb 2012 08:08:25 +0000 (12:08 +0400)]
update_bootcfg script

. script to make neat menu entries for all /boot/minix/* dirs
  in /boot.cfg, read by new bootloader
. invoked when new images are created

12 years agoFull switch to clang/ELF. Drop ack. Simplify.
Ben Gras [Sat, 11 Feb 2012 18:31:25 +0000 (19:31 +0100)]
Full switch to clang/ELF. Drop ack. Simplify.

There is important information about booting non-ack images in
docs/UPDATING. ack/aout-format images can't be built any more, and
booting clang/ELF-format ones is a little different. Updating to the
new boot monitor is recommended.

Changes in this commit:

. drop boot monitor -> allowing dropping ack support
. facility to copy ELF boot files to /boot so that old boot monitor
  can still boot fairly easily, see UPDATING
. no more ack-format libraries -> single-case libraries
. some cleanup of OBJECT_FMT, COMPILER_TYPE, etc cases
. drop several ack toolchain commands, but not all support
  commands (e.g. aal is gone but acksize is not yet).
. a few libc files moved to netbsd libc dir
. new /bin/date as minix date used code in libc/
. test compile fix
. harmonize includes
. /usr/lib is no longer special: without ack, /usr/lib plays no
  kind of special bootstrapping role any more and bootstrapping
  is done exclusively through packages, so releases depend even
  less on the state of the machine making them now.
. rename nbsd_lib* to lib*
. reduce mtree

12 years agomake panic() work for multiboot/elf case
Evgeniy Ivanov [Sun, 12 Feb 2012 15:11:47 +0000 (19:11 +0400)]
make panic() work for multiboot/elf case

. we cannot use the boot monitor to print the system diag buffer
. for serial, we do nothing, just reset, everything is already printed
. for not-serial, we print the current diag buffer using direct video
  memory access from the kernel

12 years agoclang compile fixes
Ben Gras [Sat, 11 Feb 2012 17:46:09 +0000 (18:46 +0100)]
clang compile fixes

12 years agorelease: fix for rm -rf
Ben Gras [Sat, 11 Feb 2012 14:48:12 +0000 (15:48 +0100)]
release: fix for rm -rf

. new rm can return failure exit code

12 years agoELF hardlinks in /boot for compatibility with old boot.
Evgeniy Ivanov [Tue, 14 Feb 2012 08:10:15 +0000 (12:10 +0400)]
ELF hardlinks in /boot for compatibility with old boot.

12 years agoVFS: replace VFS with AVFS
Thomas Veerman [Mon, 13 Feb 2012 15:28:04 +0000 (15:28 +0000)]
VFS: replace VFS with AVFS

12 years agolibmthread: fix typo in comments
Thomas Veerman [Mon, 13 Feb 2012 13:42:28 +0000 (13:42 +0000)]
libmthread: fix typo in comments

12 years agolibmthread: add guard pages to stacks
Thomas Veerman [Mon, 13 Feb 2012 12:02:12 +0000 (12:02 +0000)]
libmthread: add guard pages to stacks

Add guard pages to the top of the stack to catch overflow errors.
Moreover, fix a bug where libmthread would keep using a stack that was
just deallocated; a detached thread would deallocate its own stack after
it was finished running).

12 years agolibmthread: don't free() user allocated stack space
Thomas Veerman [Fri, 10 Feb 2012 09:16:00 +0000 (09:16 +0000)]
libmthread: don't free() user allocated stack space

12 years agolibblockdriver: increase stack size to 8KB per thread
David van Moolenbroek [Thu, 9 Feb 2012 21:28:18 +0000 (22:28 +0100)]
libblockdriver: increase stack size to 8KB per thread

12 years agosilence makewhatis in daily script
Ben Gras [Fri, 10 Feb 2012 16:24:54 +0000 (17:24 +0100)]
silence makewhatis in daily script

12 years agosys: move some include dirs
Antoine Leca [Fri, 10 Feb 2012 16:02:47 +0000 (17:02 +0100)]
sys: move some include dirs

. sys/machine should be sys/arch/i386

12 years ago.gitignore: add another generated directory
Antoine Leca [Fri, 10 Feb 2012 16:01:42 +0000 (17:01 +0100)]
.gitignore: add another generated directory

12 years agoAVFS: reinitialize lookup object before reuse
Thomas Veerman [Fri, 10 Feb 2012 09:35:19 +0000 (09:35 +0000)]
AVFS: reinitialize lookup object before reuse

12 years agoAlso clean share/*, including zoneinfo
Antoine Leca [Thu, 9 Feb 2012 23:46:55 +0000 (00:46 +0100)]
Also clean share/*, including zoneinfo

12 years agoFix shutdown message in setup.sh
Evgeniy Ivanov [Tue, 7 Feb 2012 18:55:18 +0000 (22:55 +0400)]
Fix shutdown message in setup.sh

12 years agoProper banner for CD.
Evgeniy Ivanov [Tue, 7 Feb 2012 18:54:08 +0000 (22:54 +0400)]
Proper banner for CD.

12 years agoWarn users about non NetBSD mbr.
Evgeniy Ivanov [Tue, 7 Feb 2012 18:52:36 +0000 (22:52 +0400)]
Warn users about non NetBSD mbr.

New boot doesn't work with old mbr, when there are multiple MINIX
partitions. Warn user about it and suggest to install new mbr.

12 years agoSupport reinstall and new boot.
Evgeniy Ivanov [Tue, 7 Feb 2012 15:14:27 +0000 (19:14 +0400)]
Support reinstall and new boot.

12 years agoBuild both old boot and new boot (for setup).
Evgeniy Ivanov [Mon, 6 Feb 2012 13:56:49 +0000 (17:56 +0400)]
Build both old boot and new boot (for setup).

12 years agoBuild release CD based on new boot.
Evgeniy Ivanov [Thu, 2 Feb 2012 11:02:34 +0000 (15:02 +0400)]
Build release CD based on new boot.

Also add stuff for usb stick and hdemu.

12 years agowriteisofs: also boots plain binaries with -B
Antoine Leca [Tue, 17 Jan 2012 15:08:40 +0000 (16:08 +0100)]
writeisofs: also boots plain binaries with -B

With -n -b file, a.out boot images can be used for CD booting;
with the new -n -B file option, plain binary (like bootxx_cd9660)
can be used instead.
Restore working the -h and -f options while there.
And add a new -F option for 2.8MB floppy image.

12 years agowriteisofs: improve compatibility
Antoine Leca [Fri, 3 Feb 2012 10:24:48 +0000 (11:24 +0100)]
writeisofs: improve compatibility

Register file timestamps
Remember the path tables in the primary descriptor
Put the size of the parent directory in the \1 entry, not own size
Allow the use of -b option without -a

Notes:
* Still missing the man page
* Filenames are still trimmed to 12 characters, because of
  8.3 MS-DOS inherited compatibility (ISO9660 level 1);
  also note that 7.4 or 9.2 filenames are accepted though
* Final . at end of filenames without extension is still missing
* VMS-compatible ;1 version suffix is still omitted
* Limit of 65,535 directories in path tables is not checked

12 years agoAdd new boot to the setup.
Evgeniy Ivanov [Mon, 30 Jan 2012 13:21:41 +0000 (17:21 +0400)]
Add new boot to the setup.

12 years agoBuild ELF for release (chrootmake).
Evgeniy Ivanov [Mon, 30 Jan 2012 13:40:16 +0000 (17:40 +0400)]
Build ELF for release (chrootmake).

12 years agoSwitch part/autopart to new mbr bootblock
Antoine Leca [Thu, 12 Jan 2012 17:14:44 +0000 (18:14 +0100)]
Switch part/autopart to new mbr bootblock

12 years agoFixes for loading kernel with multiboot
Ben Gras [Thu, 9 Feb 2012 17:49:24 +0000 (18:49 +0100)]
Fixes for loading kernel with multiboot

While parsing command line, only consider "variable=value" to
be part of environment.

Patch by Antoine Leca.

12 years agoAllow human readable name for the root device.
Evgeniy Ivanov [Tue, 31 Jan 2012 11:48:14 +0000 (15:48 +0400)]
Allow human readable name for the root device.

Instead of using rootdev= or ramimagedev= in the boot monitor
which are changed to numbers and cannot be used with other
loaders, rootdevname= or ramimagename= are (MINIX-style)
device names always stored as strings.

Patch by Antoine Leca.

12 years agoRotate kernels/images/modules.
Evgeniy Ivanov [Mon, 30 Jan 2012 12:27:23 +0000 (16:27 +0400)]
Rotate kernels/images/modules.

Kernels and system services are stored in a single directory in the
/boot/minix/ and rotated like /boot/images. /boot/minix_latest slink
is created automatically.
System serives are prefixed by "modNN_" to allow to easily load them
using "mod*" pattern.

12 years agoIntegrate new boot stuff into build scheme.
Evgeniy Ivanov [Wed, 25 Jan 2012 19:32:10 +0000 (23:32 +0400)]
Integrate new boot stuff into build scheme.

- Build sys with everything else.
- Gitignore files built by new boot stuff.

12 years agoRemove libkern, leave just header.
Evgeniy Ivanov [Wed, 25 Jan 2012 12:29:07 +0000 (16:29 +0400)]
Remove libkern, leave just header.

Boot stuff dependencies from NetBSD.

Patch by Antoine Leca. Relocated to src/sys.

The port is using the same libminc.a as usual MINIX services (and does
not use NetBSD libkern); the headers imported from NetBSD sys/ tree
have been kept to a minimum (still numbers higher than 30 though.)

Note the peculiar way to use libraries (libsa, libi386, etc.): the
source code is shared, but each component builds its own copy of the
library, with its own set of preprocessor defines.

12 years agoPort cdboot.
Evgeniy Ivanov [Sat, 14 Jan 2012 18:43:40 +0000 (22:43 +0400)]
Port cdboot.

12 years agoImport cdboot.
Evgeniy Ivanov [Sat, 14 Jan 2012 18:33:29 +0000 (22:33 +0400)]
Import cdboot.

12 years agoPort MBR.
Evgeniy Ivanov [Tue, 10 Jan 2012 16:43:33 +0000 (20:43 +0400)]
Port MBR.

Patch by Antoine LECA.

12 years agoImport sys/arch/i386/stand/mbr.
Evgeniy Ivanov [Tue, 10 Jan 2012 10:01:31 +0000 (14:01 +0400)]
Import sys/arch/i386/stand/mbr.

12 years agoPort installboot as installboot_nbsd and rename the old one.
Evgeniy Ivanov [Tue, 10 Jan 2012 09:45:46 +0000 (13:45 +0400)]
Port installboot as installboot_nbsd and rename the old one.

Also following functionality was added:
- Add install_master to the installboot from NetBSD.
- Check if enough space for bootxx.

Old installboot was renamed to installboot_minix.

12 years agoImport usr.sbin/installboot.
Evgeniy Ivanov [Tue, 10 Jan 2012 08:46:52 +0000 (12:46 +0400)]
Import usr.sbin/installboot.

12 years agoPort bootxx.
Evgeniy Ivanov [Mon, 9 Jan 2012 14:11:34 +0000 (18:11 +0400)]
Port bootxx.

12 years agoAdjust boot from NetBSD.
Evgeniy Ivanov [Sat, 4 Feb 2012 10:21:30 +0000 (14:21 +0400)]
Adjust boot from NetBSD.

- Add load_mods command to boot2 (load_mods /dir/mod*).
- Rename resulting binary to boot_monitor.
- Change default banner when used in MINIX.

12 years agoFix bug in libsa/ls.
Evgeniy Ivanov [Sat, 4 Feb 2012 17:26:58 +0000 (21:26 +0400)]
Fix bug in libsa/ls.

12 years agoInitial import of libsa, libkern, bootxx, boot.
Evgeniy Ivanov [Mon, 9 Jan 2012 14:07:58 +0000 (18:07 +0400)]
Initial import of libsa, libkern, bootxx, boot.

12 years agoAVFS/APFS: small cleanup
Thomas Veerman [Thu, 9 Feb 2012 16:33:24 +0000 (16:33 +0000)]
AVFS/APFS: small cleanup

12 years agoAVFS: fix various system call interruption issues
Thomas Veerman [Thu, 9 Feb 2012 14:24:28 +0000 (14:24 +0000)]
AVFS: fix various system call interruption issues

 - When cancelling ioctls, VFS did not remember which file descriptor
   to cancel and sent bogus to the driver.
 - Select state was not cleaned up when select()ing process was
   interrupted.
 - Process trying to do a system call at the exact same time as a user
   trying to interrupt the process, could cause the system call worker
   thread to overwrite state belonging to the worker thread trying to
   exit the process. This led to hanging threads and eventual system hang
   when this happens often enough.

12 years agolibchardriver: fix open reply for async devices
Thomas Veerman [Thu, 9 Feb 2012 10:32:08 +0000 (10:32 +0000)]
libchardriver: fix open reply for async devices

12 years ago-lminixutil link fixes
Ben Gras [Fri, 3 Feb 2012 13:03:59 +0000 (14:03 +0100)]
-lminixutil link fixes

. not available and not needed for clang

12 years agoEnlarge ramdisk size (blocks).
Evgeniy Ivanov [Fri, 23 Dec 2011 10:56:15 +0000 (14:56 +0400)]
Enlarge ramdisk size (blocks).

12 years agoNBSD INCLUDES - fixed missing vm_remap_ro() proto
Tomas Hruby [Thu, 2 Feb 2012 23:55:38 +0000 (23:55 +0000)]
NBSD INCLUDES - fixed missing vm_remap_ro() proto

12 years agoinet: strncmp() fix
Ben Gras [Fri, 3 Feb 2012 13:49:18 +0000 (14:49 +0100)]
inet: strncmp() fix

12 years agotemporarily disable update-superblock check
Ben Gras [Tue, 31 Jan 2012 15:17:06 +0000 (16:17 +0100)]
temporarily disable update-superblock check

. incompatible with installboot -d FSDEV on mounted filesystems
. should be re-enabled when netbsd boot loader is default

12 years agoAPFS: fix link issue when compiling with Clang
Thomas Veerman [Thu, 2 Feb 2012 15:00:01 +0000 (15:00 +0000)]
APFS: fix link issue when compiling with Clang

12 years agoINET: fix 'improved' assert
Thomas Veerman [Thu, 2 Feb 2012 11:53:52 +0000 (11:53 +0000)]
INET: fix 'improved' assert

12 years agoRemove unused variables
Thomas Veerman [Thu, 2 Feb 2012 10:47:06 +0000 (10:47 +0000)]
Remove unused variables

12 years agoINET: fix a few GCC compilation warnings
Thomas Veerman [Tue, 31 Jan 2012 15:43:00 +0000 (15:43 +0000)]
INET: fix a few GCC compilation warnings

12 years agolibpuffs: make GCC happy
Thomas Veerman [Wed, 1 Feb 2012 11:44:26 +0000 (11:44 +0000)]
libpuffs: make GCC happy

12 years agoAVFS: only put mount point when it was used as one
Thomas Veerman [Wed, 1 Feb 2012 11:34:40 +0000 (11:34 +0000)]
AVFS: only put mount point when it was used as one

When a mount operation fails and the FS exits, free_proc could try and
clean up resources associated with the mount point before the mount
thread itself can do that. However, the clean up procedure should only
clean up resources that were actually in use.

12 years agoservice: allow starting service with user's realuid
Thomas Veerman [Wed, 1 Feb 2012 13:21:56 +0000 (13:21 +0000)]
service: allow starting service with user's realuid

12 years agoe1000: reset hardware before stopping
Thomas Veerman [Mon, 30 Jan 2012 14:32:31 +0000 (14:32 +0000)]
e1000: reset hardware before stopping

12 years agoINET: remove erroneous assert
Thomas Veerman [Mon, 30 Jan 2012 15:14:19 +0000 (15:14 +0000)]
INET: remove erroneous assert

The queue may contain established connections which have
tc_connInprogress clear.

12 years agoDon't panic on a misconfigured machine
Thomas Veerman [Mon, 30 Jan 2012 15:12:12 +0000 (15:12 +0000)]
Don't panic on a misconfigured machine

12 years agoAdd permission test for bind and socket
Thomas Veerman [Fri, 27 Jan 2012 16:06:43 +0000 (16:06 +0000)]
Add permission test for bind and socket

Also, apply forbidden patch to VFS from AVFS (fixes hanging test56 if
it has the permission test).

12 years agoINET: drop privileges upon startup
Thomas Veerman [Fri, 27 Jan 2012 14:21:10 +0000 (14:21 +0000)]
INET: drop privileges upon startup

12 years agoAPFS: drop privileges upon startup
Thomas Veerman [Fri, 27 Jan 2012 14:18:41 +0000 (14:18 +0000)]
APFS: drop privileges upon startup

Move SERVICE_LOGIN to rs.h global header so it's accessible for all.

12 years agoAVFS: make forbidden check for specific proc instead of fp
Thomas Veerman [Fri, 27 Jan 2012 13:54:35 +0000 (13:54 +0000)]
AVFS: make forbidden check for specific proc instead of fp

12 years agoAVFS: initialize root FS before receiving new work
Thomas Veerman [Fri, 27 Jan 2012 13:38:40 +0000 (13:38 +0000)]
AVFS: initialize root FS before receiving new work

12 years agoPM: extend srv_fork to set a specific UID
Thomas Veerman [Fri, 27 Jan 2012 11:50:11 +0000 (11:50 +0000)]
PM: extend srv_fork to set a specific UID

Currently, all servers and drivers run as root as they are forks of
RS. srv_fork now tells PM with which credentials to run the resulting
fork. Subsequently, PM lets VFS now as well.

This patch also fixes the following bugs:
 - RS doesn't initialize the setugid variable during exec, causing the
   servers and drivers to run setuid rendering the srv_fork extension
   useless.
 - PM erroneously tells VFS to run processes setuid. This doesn't
   actually lead to setuid processes as VFS sets {r,e}uid and {r,e}gid
   properly before checking PM's approval.

12 years agoPrevent the ramdisk makefile from failing if the last image is not ELF
Erik van der Kouwe [Fri, 27 Jan 2012 12:09:26 +0000 (13:09 +0100)]
Prevent the ramdisk makefile from failing if the last image is not ELF

12 years agoSMP - clock calibration spurious IRQ deadlock fix
Tomas Hruby [Thu, 26 Jan 2012 11:39:40 +0000 (11:39 +0000)]
SMP - clock calibration spurious IRQ deadlock fix

 - this patch fixes a deadlock which may occur if we get a
   spurious interrupt while calibrating clocks during the boot
   time. Since we never handle interrupts while in the kernel
   (BKL locked) the interrupt code locks the lock. This is a
   different situation, a corner case, boot time only. We do not
   return to userspace but to the kernel, so the BKL is not
   unlocked. So we need irq handler which leaves the BKL
   unlocked.  The clock handler does it already, this patch adds
   a dummy spurious irq handler for the same reason. It is better
   to handle the situation this way to keep the normal runtime
   code simple.

12 years agoSMP - no_apic=0 and acpi=1 set when CONFIG_SMP=y
Tomas Hruby [Wed, 25 Jan 2012 19:02:13 +0000 (19:02 +0000)]
SMP - no_apic=0 and acpi=1 set when CONFIG_SMP=y

- this is a temporary change which makes images compiled for SMP
  boot in SMP mode by default.

- this change is needed until we can configure the multiboot
  images from the boot loader again.

12 years agoRevert 93b9873a562b11dfedf5f4e53ef87bf256d80207
Tomas Hruby [Wed, 25 Jan 2012 18:59:18 +0000 (18:59 +0000)]
Revert 93b9873a562b11dfedf5f4e53ef87bf256d80207

- non need to have free PDEs per CPU since we only run one
  instance of the kernel at any time

12 years agomtree: zoneinfo dirs
Ben Gras [Fri, 20 Jan 2012 18:13:20 +0000 (19:13 +0100)]
mtree: zoneinfo dirs

12 years agoDon't overwrite old mv, ln, cp, etc man pages with new rm
Antoine Leca [Thu, 19 Jan 2012 10:12:55 +0000 (10:12 +0000)]
Don't overwrite old mv, ln, cp, etc man pages with new rm

12 years agoDon't print events that happen often
Thomas Veerman [Thu, 19 Jan 2012 17:06:14 +0000 (17:06 +0000)]
Don't print events that happen often

12 years agolseek should not yield a negative file position
Thomas Veerman [Mon, 16 Jan 2012 15:09:55 +0000 (15:09 +0000)]
lseek should not yield a negative file position

12 years agoDon't try to find file position beyond double indirect blocks
Thomas Veerman [Mon, 16 Jan 2012 14:46:47 +0000 (14:46 +0000)]
Don't try to find file position beyond double indirect blocks

12 years agoAdd support for survival of crashed FSs
Thomas Veerman [Thu, 19 Jan 2012 14:21:46 +0000 (14:21 +0000)]
Add support for survival of crashed FSs

When an FS crashes, VFS will clean up resources tied to that FS:
 - Pending requests to the FS are canceled (i.e., fail with EIO)
 - Threads waiting for a reply are stopped (i.e., fail with EIO)
 - Open files are marked invalid. Future operations on a file descriptor
   will cause EBADF errors.
 - vmnt entry is cleared, so in-flight system calls that got past the
   file descriptor check but not yet talking to the crashed FS, will
   fail with EIO.
 - The reference counter of the mount point is decreased, effectively
   removing the crashed FS from the file system tree. Descendants of
   this part of the tree are unreachable by means of a path, but can
   still be unmounted by feeding the block special file to unmount(2).

This patch also gets rid of the "not a known driver endpoint" messages
during shutdown.

12 years agomfs: mark blocks clean when invalidated
Ben Gras [Fri, 13 Jan 2012 15:05:32 +0000 (16:05 +0100)]
mfs: mark blocks clean when invalidated

. it could happen that newly filled blocks were still marked
  dirty
. causing unnecessary i/o and the new warning of the superblock
  being written

12 years agoUse correct value for _NSIG
Thomas Veerman [Mon, 16 Jan 2012 11:42:29 +0000 (11:42 +0000)]
Use correct value for _NSIG

User processes can send signals with number up to _NSIG. There are a few
signal numbers above that used by the kernel, but should explicitly not
be included in the range or range checks in PM will fail.

The system processes use a different version of sigaddset, sigdelset,
sigemptyset, sigfillset, and sigismember which does not include a range
check on signal numbers (as opposed to the normal functions used by normal
processes).

This patch unbreaks test37 when the boot image is compiled with GCC/Clang.

12 years agoINET: initialize timer to not-in-use
Thomas Veerman [Fri, 13 Jan 2012 16:48:46 +0000 (16:48 +0000)]
INET: initialize timer to not-in-use

12 years agoNew zoneinfo port from NetBSD
Thomas Veerman [Mon, 16 Jan 2012 11:03:25 +0000 (11:03 +0000)]
New zoneinfo port from NetBSD

12 years agoReplace rm and rmdir with NetBSD version
Thomas Veerman [Mon, 16 Jan 2012 10:46:14 +0000 (10:46 +0000)]
Replace rm and rmdir with NetBSD version

12 years agoRemove unused variable
Thomas Veerman [Thu, 12 Jan 2012 16:58:55 +0000 (16:58 +0000)]
Remove unused variable

12 years agoIncrease thread stack space for GCC compiled images
Thomas Veerman [Thu, 12 Jan 2012 16:35:36 +0000 (16:35 +0000)]
Increase thread stack space for GCC compiled images

12 years agoAVFS: Return actual last dir when path is named by a symlink
Thomas Veerman [Thu, 12 Jan 2012 11:32:31 +0000 (11:32 +0000)]
AVFS: Return actual last dir when path is named by a symlink

Last_dir didn't consider paths that end in a symlink and hence didn't
actually return the last_dir when provided with one. For example,
/var/log is a symlink to /usr/log. Issuing `>/var/log' would trigger
an assert in AVFS, because /var/ is not the actual last directory; /usr/
is.

Last_dir now verifies the final component is not a symlink. If it is, it
follows the symlink and restarts finding of the last the directory.

12 years agovfs/avfs: renumber stat calls so as to be unique
David van Moolenbroek [Thu, 12 Jan 2012 23:49:37 +0000 (00:49 +0100)]
vfs/avfs: renumber stat calls so as to be unique

The old stat call numbers are still supported for a while.

12 years agoCut PM out of the adddma/deldma/getdma call path
David van Moolenbroek [Thu, 12 Jan 2012 23:23:04 +0000 (00:23 +0100)]
Cut PM out of the adddma/deldma/getdma call path

12 years agoRemove obsolete PROCSTAT/getsigset call.
David van Moolenbroek [Thu, 12 Jan 2012 22:33:46 +0000 (23:33 +0100)]
Remove obsolete PROCSTAT/getsigset call.

12 years agoImplement AcpiOsStall, AcpiOsSleep, AcpiOsGetTimer
Jan Wieck [Fri, 13 Jan 2012 18:35:13 +0000 (18:35 +0000)]
Implement AcpiOsStall, AcpiOsSleep, AcpiOsGetTimer

- change AcpiOsRemoveInterruptHandler() to print a warning
  instead of panic.

- we do the same in AcpiOsInstallInterruptHandler().

Signed-off-by: Tomas Hruby <thruby@few.vu.nl>
12 years agovm_remap_ro
Ben Gras [Mon, 28 Nov 2011 18:05:50 +0000 (19:05 +0100)]
vm_remap_ro

- allows shared memory to be mapped in readonly

- ben@minix3.org & tom@minix3.org

12 years agoVM - vm_unmap() takes SELF as valid argument
Tomas Hruby [Tue, 18 Oct 2011 18:21:07 +0000 (18:21 +0000)]
VM - vm_unmap() takes SELF as valid argument