]> Zhao Yanbai Git Server - minix.git/log
minix.git
13 years agotail(1): write partial last line also with -f
David van Moolenbroek [Fri, 25 Mar 2011 10:59:48 +0000 (10:59 +0000)]
tail(1): write partial last line also with -f

13 years agoVFS: bugfixes for handling block-special files:
David van Moolenbroek [Fri, 25 Mar 2011 10:56:43 +0000 (10:56 +0000)]
VFS: bugfixes for handling block-special files:
- on driver restarts, reopen devices on a per-file basis, not per-mount
- do not assume that there is just one vnode per block-special device
- update block-special files in the uncommon mounting success paths, too
- upon mount, sync but also invalidate affected buffers on the root FS
- upon unmount, check whether a vnode is in use before updating it

13 years agoPFS: UDS code cleanup:
David van Moolenbroek [Fri, 25 Mar 2011 10:52:53 +0000 (10:52 +0000)]
PFS: UDS code cleanup:
- coalesce lots of duplicate code
- avoid using errno as much as possible
- fix bugs in some error handling cases

13 years agodrivers/sb16: delete altogether; the latest copy is in drivers/audio/sb16
David van Moolenbroek [Fri, 25 Mar 2011 10:48:16 +0000 (10:48 +0000)]
drivers/sb16: delete altogether; the latest copy is in drivers/audio/sb16

13 years agomisc drivers: remove more non-safecopy support
David van Moolenbroek [Fri, 25 Mar 2011 10:45:57 +0000 (10:45 +0000)]
misc drivers: remove more non-safecopy support

13 years agoTTY/LOG driver cleanup:
David van Moolenbroek [Fri, 25 Mar 2011 10:43:24 +0000 (10:43 +0000)]
TTY/LOG driver cleanup:
- remove non-safecopy support from TTY
- make TTY warning-free with gcc -Wall
- remove obsolete diagnostics support

13 years agoAdd libasyn, asynchio support for netbsd libc.
Gianluca Guida [Wed, 23 Mar 2011 15:28:22 +0000 (15:28 +0000)]
Add libasyn, asynchio support for netbsd libc.

13 years agoNBSD includes: Include sys/reboot.h in unistd.h
Gianluca Guida [Tue, 22 Mar 2011 14:54:38 +0000 (14:54 +0000)]
NBSD includes: Include sys/reboot.h in unistd.h

Minix expect RBT_* ops to be defined in unistd.h.

13 years agoAdd libminlib for NBSD libc compilation.
Gianluca Guida [Tue, 22 Mar 2011 13:47:35 +0000 (13:47 +0000)]
Add libminlib for NBSD libc compilation.

This library includes various random and minix-specific functions
included in the Minix libc. Most of them should be part of libsys,
and in general it would be nice to extinguish this library over
time.

13 years agoAdd libcompat_minix for NBSD libc
Gianluca Guida [Fri, 18 Mar 2011 16:08:26 +0000 (16:08 +0000)]
Add libcompat_minix for NBSD libc

libcompat_minix is a compatibility layer meant to let existing commands to work
with the new libc.

13 years agoImport unmodified NetBSD's libm for compiling with new libc.
Gianluca Guida [Fri, 18 Mar 2011 15:52:16 +0000 (15:52 +0000)]
Import unmodified NetBSD's libm for compiling with new libc.

As the current libc includes a libm implementation, with the new libc
this is needed. Unneeded (for the moment) archs have been removed.

13 years agoMove elf headers in common/include and libexec.h in lib/libexec.
Gianluca Guida [Fri, 18 Mar 2011 15:13:05 +0000 (15:13 +0000)]
Move elf headers in common/include and libexec.h in lib/libexec.

It also fixes elf headers for NBSD compilation.

13 years ago- Refactor mthread structure fields to prevent name clashes
Thomas Veerman [Fri, 18 Mar 2011 10:29:54 +0000 (10:29 +0000)]
- Refactor mthread structure fields to prevent name clashes
- Remove sanity checks for initialized mutexes and condition variables. This
  significantly boosts performance. The checks can be turned back on by
  compiling libmthread with MTHREAD_STRICT. According to POSIX operations on
  uninitialized variables are a MAY fail if, therefore allowing this
  optimization.
- Test59 has to be accommodated to the lack of sanity checks on uninitialized
  variables in the library. It specifically tests for them and will run into
  segfaults when the checks are absent in the library.
- Fix a few bugs related to the scheduler
- Do some general code cleanups

13 years agoAdd cttybaud boot monitor variable to control speed of serial console (combine with...
Erik van der Kouwe [Wed, 16 Mar 2011 12:25:10 +0000 (12:25 +0000)]
Add cttybaud boot monitor variable to control speed of serial console (combine with ctty 0)

13 years agoremove some debugging output from vm/region.c
Ben Gras [Wed, 16 Mar 2011 11:57:35 +0000 (11:57 +0000)]
remove some debugging output from vm/region.c

 - don't print verbose process map when legitimate errors occur

13 years agoAdd support for the 82567LM flavor of e1000
Thomas Veerman [Tue, 15 Mar 2011 10:04:35 +0000 (10:04 +0000)]
Add support for the 82567LM flavor of e1000

13 years agoFix compilation error. Does not need ansi.h header.
Thomas Veerman [Thu, 10 Mar 2011 14:10:16 +0000 (14:10 +0000)]
Fix compilation error. Does not need ansi.h header.

13 years agorelease.sh: explicitly use the pkgin pkg_install pkg_add
Ben Gras [Thu, 10 Mar 2011 12:54:58 +0000 (12:54 +0000)]
release.sh: explicitly use the pkgin pkg_install pkg_add

  . when switching from the base pkg_install to the pkgin pkg_install,
    the version number changed, causing a compatability problem if the
    old base system binary was inadvertently left behind.

  . this change checks for that situation by specifically invoking
    the pkgin instance of pkg_install and telling the user to install
    it if it doesn't exist.

13 years agoCleaning up Makefiles (thx antoine)
Dirk Vogt [Mon, 7 Mar 2011 13:54:17 +0000 (13:54 +0000)]
Cleaning up Makefiles (thx antoine)

13 years agoSmall fix, implemented getvid/did
Dirk Vogt [Mon, 7 Mar 2011 13:31:48 +0000 (13:31 +0000)]
Small fix, implemented getvid/did

13 years agoVarious fixes for NBSD include.
Gianluca Guida [Fri, 4 Mar 2011 23:15:48 +0000 (23:15 +0000)]
Various fixes for NBSD include.

This patch include various fixes to NBSD includes.

- unistd.h: Avoid different linkages on non-_NETBSD_SOURCE
 compilation;
- stdlib.h: remove devname declaration.
- sys/select.h: Add _MINIX specific flags.
- limits.h: Add SYMLOOP_MAX and SYMLINK_MAX
- time.h: Fix CLOCKS_PER_SEC and remove BSD's timer_t, as it
  confuses minix own specific timers.
- utmp.h: Set Minix-specific paths and use Minix utmp format.
- param.h: Do not set BSD4_4, as this mostly means sa_len in
  struct sock_addr.
- arch/i386/include/param.h: include <machine/vmparam.h> to
  add PAGE_SIZE and related macros, defined round_page() and
  trunc_page() for minix compatibility.

- dirent.h: remove DIRBLKSIZ and fix d_ino/d_fileno.
- sys/dir.h: ADD from existing includes and edit include
  conditions.
- sys/dirent.h: include <minix/dirent.h>, fix d_ino/d_fileno.

- sys/fd_set.h: set default FD_SETSIZE at __MINIX_OPENMAX, as
  the default NetBSD value is too big and cause vfs to return
  an error.
- sys/cdefs.h: Always include <minix/ansi.h>

- minix/paths.h: Add Minix-specific paths.
- minix/dirent.h: ADD, keep only "direct" and "flex"definitions.
- minix/types.h: include <minix/ansi.h>

- sys/Makefile: add sys/dirent.h and statfs.h (forgot!)
- minix/Makefile: add minix/dirent.h

   nbsd_include/minix-port.patch updated accordingly.

13 years agoSync NBSD libc errno.h with minix errno.h
Gianluca Guida [Fri, 4 Mar 2011 22:37:43 +0000 (22:37 +0000)]
Sync NBSD libc errno.h with minix errno.h

This patch fixes some wrong error code number in nbsd libc's sys/errno.h
and adds new ones.

As in NetBSD the errno.h is used to automatically generate errlist.c array,
EBADCPU set to 1000 to be a bit too large, so we instruct the awk script
to stop at EDEADEPT (ELAST).

13 years agoFix stat, add fstat and other NBSD libc fixes.
Gianluca Guida [Fri, 4 Mar 2011 22:31:31 +0000 (22:31 +0000)]
Fix stat, add fstat and other NBSD libc fixes.

This patch changes the NBSD libc stat implemenation and adds
fstat (and headers), taken from current libc.
It also adds weaks alias to functions in the resolver that
were removed from public use in NetBSD but that are still
used by Minix, and fixes a NetBSD non-REENTRANT bug in
in gen/initdir.c.

13 years agoNBSD libc: fix forgot weak_alias
Gianluca Guida [Thu, 3 Mar 2011 16:44:18 +0000 (16:44 +0000)]
NBSD libc: fix forgot weak_alias

This patch add a few weak_alias forgotten, so that non-internal
symbols are defined to be used from application.

Modifying only the minix-specific part, this patch needs no update
to minix-port.patch.

13 years agomk scripts: add flag for compiling with nbsd libc.
Gianluca Guida [Thu, 3 Mar 2011 16:41:19 +0000 (16:41 +0000)]
mk scripts: add flag for compiling with nbsd libc.

This patch changes the system mk scripts to enable compilation
of programs using the BSD make system to compile with the new
libc.

In details, it does the following:

- it always defines the __MINIX make variable. This can be used,
 in porting applications, to specialize Makefiles for Minix.

 - If the environment variable NBSD is set to something different
  than 'no' and if the compiler is not ack, set NBSD_LIBC to 'yes'.
  This will set the destination lib directory to '/usr/netbsd/lib'
  and set up CPPFLAGS and LDFLAGS to use new libc's includes and
  library directory.

13 years agoMove even more includes to common/include.
Gianluca Guida [Thu, 3 Mar 2011 16:39:02 +0000 (16:39 +0000)]
Move even more includes to common/include.

This patch moves more includes (most of them, to tell the truth) to
common/include directory. This completes the list of includes needed
to compile current trunk with the new libc (but to do that you need
more patches in queue).

This patch also contains some modification (for compilation with new
headers) to the common includes under __NBSD_LIBC, the define used
in mk script to specialize compilation with new includes.

13 years agorename aligned() macro to _minix_aligned
Ben Gras [Wed, 2 Mar 2011 16:05:59 +0000 (16:05 +0000)]
rename aligned() macro to _minix_aligned

13 years agoauto-tune mfs cache size based on FS usage and remaining system memory
Ben Gras [Mon, 28 Feb 2011 14:19:19 +0000 (14:19 +0000)]
auto-tune mfs cache size based on FS usage and remaining system memory

13 years agoonly declare builtin prototypes in C mode
Ben Gras [Mon, 28 Feb 2011 11:01:31 +0000 (11:01 +0000)]
only declare builtin prototypes in C mode

13 years agominor fix for clang - do_unbind() becomes void
Ben Gras [Sun, 27 Feb 2011 00:10:33 +0000 (00:10 +0000)]
minor fix for clang - do_unbind() becomes void

13 years agoUpdate docs/UPDATING
Arun Thomas [Sat, 26 Feb 2011 23:01:27 +0000 (23:01 +0000)]
Update docs/UPDATING

13 years agoVM and kernel support for ELF
Arun Thomas [Sat, 26 Feb 2011 23:00:55 +0000 (23:00 +0000)]
VM and kernel support for ELF

13 years agobuild fix
Ben Gras [Sat, 26 Feb 2011 11:42:25 +0000 (11:42 +0000)]
build fix

13 years agodon't define CHIP at all any more, just use the namespace-trained name
Ben Gras [Sat, 26 Feb 2011 10:28:48 +0000 (10:28 +0000)]
don't define CHIP at all any more, just use the namespace-trained name

13 years agoKernel: small comment fix (Bug#562, reported by Ryan Riley)
David van Moolenbroek [Fri, 25 Feb 2011 16:46:30 +0000 (16:46 +0000)]
Kernel: small comment fix (Bug#562, reported by Ryan Riley)

13 years agofix rs/service data structures (add devman_id)
Dirk Vogt [Fri, 25 Feb 2011 16:15:54 +0000 (16:15 +0000)]
fix rs/service data structures (add devman_id)

13 years agoadd /usr/include/ddekit dirs
Ben Gras [Fri, 25 Feb 2011 15:42:53 +0000 (15:42 +0000)]
add /usr/include/ddekit dirs

13 years agoadded libddekit
Dirk Vogt [Fri, 25 Feb 2011 12:40:31 +0000 (12:40 +0000)]
added libddekit

13 years agoadded DDEkit headers
Dirk Vogt [Fri, 25 Feb 2011 12:31:20 +0000 (12:31 +0000)]
added DDEkit headers

13 years agolibdevman: IPC wrapper for devman
Dirk Vogt [Fri, 25 Feb 2011 12:28:07 +0000 (12:28 +0000)]
libdevman: IPC wrapper for devman

13 years agoincoporate davman into server/rs
Dirk Vogt [Fri, 25 Feb 2011 12:25:03 +0000 (12:25 +0000)]
incoporate davman into server/rs

13 years agoforgot to add devman to system.conf
Dirk Vogt [Wed, 23 Feb 2011 14:50:31 +0000 (14:50 +0000)]
forgot to add devman to system.conf

13 years agofix for elf2aout
Ben Gras [Wed, 23 Feb 2011 14:24:17 +0000 (14:24 +0000)]
fix for elf2aout

introduced while making the diff with the original prettier :/

13 years agoAdded Device Manager (USB hotplug support)
Dirk Vogt [Wed, 23 Feb 2011 13:48:03 +0000 (13:48 +0000)]
Added Device Manager (USB hotplug support)

13 years agoramdisk: Add procfs to ramdisk
Arun Thomas [Wed, 23 Feb 2011 13:05:28 +0000 (13:05 +0000)]
ramdisk: Add procfs to ramdisk

-Prevents kernel/procfs mismatches
-Also, strip ELF binaries in ramdisk

13 years agoservice: Improve failure message
Arun Thomas [Wed, 23 Feb 2011 12:55:10 +0000 (12:55 +0000)]
service: Improve failure message

13 years agoelf2out from netbsd (ported for minix aout)
Ben Gras [Wed, 23 Feb 2011 12:21:21 +0000 (12:21 +0000)]
elf2out from netbsd (ported for minix aout)

13 years agoRestart process after response from async driver on non-blocking select
Erik van der Kouwe [Wed, 23 Feb 2011 10:27:48 +0000 (10:27 +0000)]
Restart process after response from async driver on non-blocking select

13 years agoprocfs: only initialize the first time procfs is mounte
Dirk Vogt [Tue, 22 Feb 2011 18:03:33 +0000 (18:03 +0000)]
procfs: only initialize the first time procfs is mounte

13 years ago_mount.c: don't check for excutable if MS_EXISTING is set
Dirk Vogt [Tue, 22 Feb 2011 17:59:08 +0000 (17:59 +0000)]
_mount.c: don't check for excutable if MS_EXISTING is set

13 years agoadded libusb, a IPC abstraction lib for USB stuff
Dirk Vogt [Tue, 22 Feb 2011 10:23:38 +0000 (10:23 +0000)]
added libusb, a IPC abstraction lib for USB stuff

13 years agoSet MACHINE_ARCH and MACHINE_CPU to in NBSD libc Makefile
Gianluca Guida [Tue, 22 Feb 2011 09:22:26 +0000 (09:22 +0000)]
Set MACHINE_ARCH and MACHINE_CPU to  in NBSD libc Makefile

13 years agoAdd Minix-specific siglist.c
Gianluca Guida [Tue, 22 Feb 2011 09:19:14 +0000 (09:19 +0000)]
Add Minix-specific siglist.c

13 years agoSimplify (and fix) NBSD libc's weak references of getcwd.
Gianluca Guida [Tue, 22 Feb 2011 09:08:24 +0000 (09:08 +0000)]
Simplify (and fix) NBSD libc's weak references of getcwd.

13 years agoclang - let buildsystem figure out how to invoke AR, etc., for clang too.
Ben Gras [Tue, 22 Feb 2011 01:08:29 +0000 (01:08 +0000)]
clang - let buildsystem figure out how to invoke AR, etc., for clang too.

13 years agoFix signal handling in NBSD libc.
Gianluca Guida [Mon, 21 Feb 2011 18:06:54 +0000 (18:06 +0000)]
Fix signal handling in NBSD libc.

lib/nbsd_libc/minix-port.patch updated.

13 years agoadd clean clang libraries target
Ben Gras [Mon, 21 Feb 2011 16:07:22 +0000 (16:07 +0000)]
add clean clang libraries target

13 years agoclang: support for building elf using temporary elf-targeted binutils.
Ben Gras [Mon, 21 Feb 2011 16:06:58 +0000 (16:06 +0000)]
clang: support for building elf using temporary elf-targeted binutils.

13 years agoAdd usb message types to com.h
Dirk Vogt [Mon, 21 Feb 2011 15:16:29 +0000 (15:16 +0000)]
Add usb message types to com.h

13 years agomark forked process as such in the kernel p_name
Ben Gras [Mon, 21 Feb 2011 15:05:32 +0000 (15:05 +0000)]
mark forked process as such in the kernel p_name

  . helps debugging output; you can see the difference
    between parent and child easily (it's sometimes
    confusing to see an expected endpoint number with
    an unexpected name, i.e. before exec())
  . when processes crash after fork and before exec, it's
    an instant hint that that's what's going on, instead of
    it being the parent (endpoint numbers don't usually convey
    this)
  . name returns to 'normal' after exec(), so *F isn't visible
    normally at all. (Except for for RS which forks apparently.)

13 years agoUSB chapter 9 definitions
Dirk Vogt [Mon, 21 Feb 2011 14:09:08 +0000 (14:09 +0000)]
USB chapter 9 definitions

13 years agoAdd NBSD-like Minix system includes.
Gianluca Guida [Mon, 21 Feb 2011 13:13:55 +0000 (13:13 +0000)]
Add NBSD-like Minix system includes.

13 years agogrep - letting calloc() return NULL for 0 storage makes grep "" work
Ben Gras [Sun, 20 Feb 2011 13:34:53 +0000 (13:34 +0000)]
grep - letting calloc() return NULL for 0 storage makes grep "" work

13 years agopm - sys_sigsend can fail legitimately
Ben Gras [Fri, 18 Feb 2011 15:44:54 +0000 (15:44 +0000)]
pm - sys_sigsend can fail legitimately

  . specifically, if a signal handler can't be invoked due
    to process memory, EFAULT is returned from the kernel.
    don't panic() then.

13 years agoIncrease maximum filename length for /sys/
Dirk Vogt [Fri, 18 Feb 2011 12:47:25 +0000 (12:47 +0000)]
Increase maximum filename length for /sys/

13 years agoAdd NBSDLibc Minix specific files.
Gianluca Guida [Thu, 17 Feb 2011 17:11:09 +0000 (17:11 +0000)]
Add NBSDLibc Minix specific files.

This patch mainly copies and modifies files existing in
the current libc implementing minix specific functions.

To keep consisten with the NetBSD libc, we remove
namespace stubs and we use "namespace.h" and weak
links.

13 years agocleantmp.c - protect against double definition of NDEBUG
Ben Gras [Wed, 16 Feb 2011 19:04:29 +0000 (19:04 +0000)]
cleantmp.c - protect against double definition of NDEBUG

13 years agoadd NOASSERTS make flag that disables assert()s (NDEBUG=1).
Ben Gras [Wed, 16 Feb 2011 18:58:30 +0000 (18:58 +0000)]
add NOASSERTS make flag that disables assert()s (NDEBUG=1).

  . made some checks in vfs/vnode.c also respond to NDEBUG=1.
  . turned on in release builds

13 years agoClean up NetBSD includes Minix port.
Gianluca Guida [Tue, 15 Feb 2011 20:16:12 +0000 (20:16 +0000)]
Clean up NetBSD includes Minix port.

This patch add the proper .if/.else/.endif to the Makefiles,
and cleans a bit some includes.

The patch containing all changes required by Minix is
nbsd_include/minix-port.patch

13 years ago Fix NetBSD a.out bug in common/libc and port Makefile
Gianluca Guida [Tue, 15 Feb 2011 20:12:04 +0000 (20:12 +0000)]
 Fix NetBSD a.out bug in common/libc and port Makefile

This patch includes the required modifications (summarized
in common/lib/libc/minix-port.patch) to make the common
part of the NetBSD libc to compile and work under Minix.

13 years agoClean up NetBSD libc Minix port.
Gianluca Guida [Tue, 15 Feb 2011 16:31:16 +0000 (16:31 +0000)]
Clean up NetBSD libc Minix port.

This patch add the proper .if/.else/.endif to the Makefiles, add places I forgot #ifdef __minix and remove newlines.

13 years agoPort NetBSD libc functions to Minix.
Gianluca Guida [Tue, 15 Feb 2011 12:19:40 +0000 (12:19 +0000)]
Port NetBSD libc functions to Minix.

This patch contains changes to NetBSD libc code base to make it
compile and work on Minix. Some of them are due to actual NetBSD
libc bugs, as we're compiling it in non-reentrant mode and with
a.out support, something not exactly frequent in NetBSD.
Others are proper fixes to port it to Minix (mostly sa_len
parameter missing in socket and a few mmap from files).

13 years agoThis patch modifies the NetBSD basic includes to be Minix
Gianluca Guida [Tue, 15 Feb 2011 12:03:42 +0000 (12:03 +0000)]
This patch modifies the NetBSD basic includes to be Minix
compatible. There are also changes in the make file, mostly to
let them install in /usr/netbsd/include.

13 years agoImport unmodified NetBSD libc in trunk
Gianluca Guida [Mon, 14 Feb 2011 19:36:03 +0000 (19:36 +0000)]
Import unmodified NetBSD libc in trunk

This patch imports the unmodified current version of NetBSD libc.
The NetBSD includes are in /nbsd_include, while the libc code itself is
split between lib/nbsd_libc and common/lib/libc.

13 years agoUnbreak build by fixing typo.
Gianluca Guida [Mon, 14 Feb 2011 15:15:12 +0000 (15:15 +0000)]
Unbreak build by fixing typo.

Sorry.

13 years ago Use __NBSD_LIBC to specialize common headers for NetBSD headers compilation.
Gianluca Guida [Mon, 14 Feb 2011 15:10:57 +0000 (15:10 +0000)]
 Use __NBSD_LIBC to specialize common headers for NetBSD headers compilation.

This patch contains the required changes (under __NBSD_LIBC definition) of the common headers to compile the NetBSD libc.

13 years agoMove network includes and lib.h into common/include subdir.
Gianluca Guida [Mon, 14 Feb 2011 12:49:18 +0000 (12:49 +0000)]
Move network includes and lib.h into common/include subdir.

This patch moves further includes (the network part and lib.h) in common/.
It is the last part to get the netbsd libc to compile under minix. Further moves will be needed as we get the netbsd libc to compile minix itself.

Also, this patch add #ifndef's to termios.h, as it create problems with netbsd's namespace.h.

13 years agovm: only suspend and resume process with vmctls in pt_writemap in smp mode
Ben Gras [Fri, 11 Feb 2011 14:56:52 +0000 (14:56 +0000)]
vm: only suspend and resume process with vmctls in pt_writemap in smp mode

13 years agousr/Makefile: added missing sh minibootstrap.sh
Ben Gras [Thu, 10 Feb 2011 17:00:02 +0000 (17:00 +0000)]
usr/Makefile: added missing sh minibootstrap.sh

13 years agomemory driver: munmap() imgrd after first close.
Ben Gras [Thu, 10 Feb 2011 15:39:56 +0000 (15:39 +0000)]
memory driver: munmap() imgrd after first close.

(that munmap() range not supported yet by vm.)

13 years agotake pkgsrc.conf out of the base system.
Ben Gras [Thu, 10 Feb 2011 15:05:18 +0000 (15:05 +0000)]
take pkgsrc.conf out of the base system.

  . use bmake for pkgsrc instead, reads mk.conf from /usr/pkg/etc/mk.conf
  . tracking bmake from pkgsrc eases tracking pkgsrc
  . further disentangles pkgsrc from base system, reducing maintenance
    burden of pkgsrc

13 years agominor release.sh fixes and tweaks
Ben Gras [Wed, 9 Feb 2011 16:48:10 +0000 (16:48 +0000)]
minor release.sh fixes and tweaks

- pre-install bmake for further (future) base/pkgsrc disentanglement
- print url properly for pre-install source
- correct <minix/sys_config.h> source location

13 years agotop - able to account kernel cpu time to process
Ben Gras [Tue, 8 Feb 2011 14:00:48 +0000 (14:00 +0000)]
top - able to account kernel cpu time to process

13 years agoprocfs - export extra kernel time accounting fields
Ben Gras [Tue, 8 Feb 2011 13:59:21 +0000 (13:59 +0000)]
procfs - export extra kernel time accounting fields

13 years agokernel - account for kernel cpu time (ipc, kcalls) in caller
Ben Gras [Tue, 8 Feb 2011 13:58:32 +0000 (13:58 +0000)]
kernel - account for kernel cpu time (ipc, kcalls) in caller

13 years agokernel - change print*() functions for ipc to generic ipc hook functions.
Ben Gras [Tue, 8 Feb 2011 13:54:33 +0000 (13:54 +0000)]
kernel - change print*() functions for ipc to generic ipc hook functions.

  - used to implement ipc stats tracking code

13 years agoMove shared headers in common/include
Gianluca Guida [Sun, 6 Feb 2011 22:59:02 +0000 (22:59 +0000)]
Move shared headers in common/include

Headers that will be shared between old includes and NetBSD-like includes
are moved into common/include tree. They are still copied in /usr/include
in 'make includes', so compilation and programs aren't be affected.

13 years agoinclude - throw out gettiminglocks stuff from include
Ben Gras [Fri, 4 Feb 2011 13:42:54 +0000 (13:42 +0000)]
include - throw out gettiminglocks stuff from include

13 years agokernel - doesn't do lock timings any more
Ben Gras [Fri, 4 Feb 2011 13:42:17 +0000 (13:42 +0000)]
kernel - doesn't do lock timings any more

13 years agois - no more getlocktimings.
Ben Gras [Fri, 4 Feb 2011 13:34:43 +0000 (13:34 +0000)]
is - no more getlocktimings.

13 years agoFix comment mutilated by find/replace
Erik van der Kouwe [Wed, 2 Feb 2011 14:53:49 +0000 (14:53 +0000)]
Fix comment mutilated by find/replace

13 years ago/usr/Makefile - automatically update pkgin database too.
Ben Gras [Mon, 31 Jan 2011 16:53:53 +0000 (16:53 +0000)]
/usr/Makefile - automatically update pkgin database too.

13 years ago/usr/Makefile - automatically install git
Ben Gras [Mon, 31 Jan 2011 00:58:50 +0000 (00:58 +0000)]
/usr/Makefile - automatically install git

13 years agosome extra math functions from netbsd for netpbm.
Ben Gras [Sun, 30 Jan 2011 23:40:51 +0000 (23:40 +0000)]
some extra math functions from netbsd for netpbm.

13 years agoalways define PKG_TOOLS_BIN
Ben Gras [Sun, 30 Jan 2011 23:36:45 +0000 (23:36 +0000)]
always define PKG_TOOLS_BIN

13 years ago<ansi.h> -> <minix/ansi.h>
Ben Gras [Fri, 28 Jan 2011 11:50:47 +0000 (11:50 +0000)]
<ansi.h> -> <minix/ansi.h>

13 years ago<ansi.h> -> <minix/ansi.h>
Ben Gras [Fri, 28 Jan 2011 11:35:02 +0000 (11:35 +0000)]
<ansi.h> -> <minix/ansi.h>

13 years agotake pkg_install out of the base system and pre-install it using the
Ben Gras [Fri, 28 Jan 2011 00:02:27 +0000 (00:02 +0000)]
take pkg_install out of the base system and pre-install it using the
pkgsrc binary packages.

rationale:
  . pkg_install (which is the pkg_* tools) is entangled with pkgsrc,
    not with minix, so tracking it from pkgsrc (easier than with
    base system) makes more sense
  . simplifies upstreaming minix specific changes for pkg_* tools
  . reduce pkgsrc-in-basesystem maintenance burden

13 years agoupdate package names in packages.install to new pkgsrc versions
Ben Gras [Thu, 27 Jan 2011 23:59:02 +0000 (23:59 +0000)]
update package names in packages.install to new pkgsrc versions

13 years agoRemove code for kernel task stack initialization
Arun Thomas [Thu, 27 Jan 2011 12:18:33 +0000 (12:18 +0000)]
Remove code for kernel task stack initialization

We no longer have kernel tasks, so this code is unnecessary