]> Zhao Yanbai Git Server - minix.git/log
minix.git
11 years agokernel: more stack for vm 41/341/1
Ben Gras [Tue, 19 Feb 2013 12:52:52 +0000 (13:52 +0100)]
kernel: more stack for vm

11 years agoARM: Enable caches 38/338/2
Lionel Sambuc [Sun, 10 Feb 2013 19:20:14 +0000 (20:20 +0100)]
ARM: Enable caches

First round, some more optimizations are possible and should be
activated.

Change-Id: I3b7dee7c82fbffd823a08bec1c5d5ebcf769f92f

11 years agoARM: Fix interrupt management 37/337/3
Lionel Sambuc [Fri, 15 Feb 2013 00:07:04 +0000 (01:07 +0100)]
ARM: Fix interrupt management

Interrupts where not correctly masked while in kernel, which
breaks one of the current main assumptions.

Also remove some duplication on ARM asm files, and add a function
to check the status of ARM irqs (not compiled by default)

Change-Id: I3c25d2b388f93fd8fe423998b94b3c4f140ba831

11 years agokernel:enable trace on arm. 36/336/2
Kees Jongenburger [Sat, 16 Feb 2013 21:32:19 +0000 (22:32 +0100)]
kernel:enable trace on arm.

Change-Id: Iabe6dfd758e8f1cdb4a18e2f2ab8f8ca988f3c86

11 years agoinstallboot: allow installation into disk
David van Moolenbroek [Sat, 9 Feb 2013 23:44:44 +0000 (00:44 +0100)]
installboot: allow installation into disk

Previously, installboot would require that the given target device is
a partition. This is not strictly necessary: MINIX3 can also be
installed (manually) into one or more primary partitions, requiring
that the installboot target be the entire disk. With this patch,
specifying a disk as target is now allowed, as long as the -f (force)
option is given.

11 years agoSwitch to disable bin. exp. wait time in RS
Lionel Sambuc [Sat, 16 Feb 2013 15:50:18 +0000 (16:50 +0100)]
Switch to disable bin. exp. wait time in RS

11 years agovm:Display boot process name upon failure to load or execute. 34/334/1
Kees Jongenburger [Sat, 16 Feb 2013 10:17:14 +0000 (11:17 +0100)]
vm:Display boot process name upon failure to load or execute.

Change-Id: I80fdaca09ae255622083b16dee72715f009dc0ee

11 years agopackages.install: remove a few, too big to fit. 33/333/2
Ben Gras [Fri, 15 Feb 2013 11:16:32 +0000 (11:16 +0000)]
packages.install: remove a few, too big to fit.

. the world will look better with base & packages dynamically
  linked.

Change-Id: Ifce80ad7002b530e583422d23c2ab6f4dd7841e0

11 years agokernel: correct typo in clock.c 32/332/1
Thomas Cort [Fri, 15 Feb 2013 11:10:56 +0000 (12:10 +0100)]
kernel: correct typo in clock.c

Change-Id: Iae7f482268809c5675d023d10104f49e5bd65484

11 years agoTTY: "nobeep" setting to disable beeps R3.2.1 v3.2.1
David van Moolenbroek [Sun, 10 Feb 2013 00:17:47 +0000 (01:17 +0100)]
TTY: "nobeep" setting to disable beeps

Disable the speaker by passing in "nobeep=1" as a boot option.
The option is preserved when updating the boot configuration.
Currently i386 only.

11 years agortl8169: reduce verbosity
David van Moolenbroek [Sat, 9 Feb 2013 19:54:04 +0000 (20:54 +0100)]
rtl8169: reduce verbosity

11 years agortl8169: add support for RTL8101E family
David van Moolenbroek [Wed, 13 Feb 2013 22:57:28 +0000 (23:57 +0100)]
rtl8169: add support for RTL8101E family

All cards in this family (RTL8101E, RTL8102E, RTL8103E, RTL8105E,
possibly others) should be recognized based on the added PCI ID.
The hardware version number of the RTL8105E has been added only to
serve as an example of a card that does not require modification of
certain undocumented registers.

11 years agopkgin_all: script to auto-install all packages 31/331/1
Ben Gras [Thu, 14 Feb 2013 22:56:17 +0000 (22:56 +0000)]
pkgin_all: script to auto-install all packages

Change-Id: I858c6d2b1c117c1fb5f702ab9c4921e86fb0cec5

11 years agommc:Ignore SIGTERM if open count > 0 28/328/2
Kees Jongenburger [Wed, 13 Feb 2013 16:54:40 +0000 (17:54 +0100)]
mmc:Ignore SIGTERM if open count > 0

Change-Id: I996497335b4209ff7ef95dfa977d97e5557456e9

11 years agorelease.sh: allow REPO and GITBRANCH env override 29/329/2
Ben Gras [Wed, 13 Feb 2013 19:15:02 +0000 (19:15 +0000)]
release.sh: allow REPO and GITBRANCH env override

patch by Antoine Leca

Change-Id: Iabcf1189d8b5250536bb17e650f48f0e73fcde2c

11 years agoash: default to an editing mode 27/327/1
Ben Gras [Wed, 13 Feb 2013 16:19:15 +0000 (16:19 +0000)]
ash: default to an editing mode

. otherwise line editing is not initialized at all

Change-Id: I4b1aa5659720b1fd955ab0450b111085dcdc9dee

11 years agoahci: more robustness against flaky devices
David van Moolenbroek [Wed, 13 Feb 2013 14:29:44 +0000 (14:29 +0000)]
ahci: more robustness against flaky devices

- if supported, override BSY/DRQ flags and start the port anyway if it
  times out with DET=3h status during device detection;
- no longer rely on the device signature to be set; unless a valid
  signature is obtained, try both ATA and ATAPI device identification.

11 years agoahci: device detection rewrite
David van Moolenbroek [Wed, 13 Feb 2013 14:22:45 +0000 (14:22 +0000)]
ahci: device detection rewrite

- do not start a port before the BSY and DRQ flags have been cleared;
  as such, poll on device status rather than signature availability.
- change "ahci_sig_timeout" to "ahci_device_timeout" variable setting
  accordingly; this variable determines the polling duration before a
  newly attached device is given up on, and uses 30 seconds as default;
- use port connect changes (PCS/X/DET->1h) to kick off polling for an
  attached device; detachment is still detected by means of PhyRdy
  status changes (PRCS/N/DET<->3h).

11 years agoahci: rewrite timeout initialization code
David van Moolenbroek [Tue, 12 Feb 2013 13:53:09 +0000 (13:53 +0000)]
ahci: rewrite timeout initialization code

- the "ahci_sig_timeout" variable now denotes the entire checking
  period, and the delay between checks has been hardcoded; what was
  previously "ahci_sig_checks" is now computed from those two;
- timeout values are no longer used for both millisecond and clock
  tick values, and better typed;
- the computation of timeouts is no longer off by half a second.

11 years agoahci: centralize, fix port reset
David van Moolenbroek [Tue, 12 Feb 2013 13:52:52 +0000 (13:52 +0000)]
ahci: centralize, fix port reset

11 years agoahci: link FIS receive mode to memory allocation
David van Moolenbroek [Tue, 12 Feb 2013 13:52:33 +0000 (13:52 +0000)]
ahci: link FIS receive mode to memory allocation

There is no need to set/clear PxCMD.FRE on every port start/stop.

Also remove some already useless and now also incomplete port
reinitialization at startup.

11 years agoahci: use macros to access HBA and port registers
David van Moolenbroek [Tue, 12 Feb 2013 13:52:01 +0000 (13:52 +0000)]
ahci: use macros to access HBA and port registers

11 years ago__aeabi_ldivmod: fix sign logic 26/326/2
Ben Gras [Mon, 11 Feb 2013 01:02:08 +0000 (02:02 +0100)]
__aeabi_ldivmod: fix sign logic

. signed 64-bit divide incorrectly tested for sign compensation
  bits in the NEG (R5) register, causing the signedness of the
  quotient and modulus to be wrong for negative numerators.

Fixes test45 on ARM.

Change-Id: Id0df8fd97ea67cd0722db8cdd70a07e01b3d7870

11 years agoimpove memory accounting 19/319/3
Ben Gras [Fri, 8 Feb 2013 18:11:42 +0000 (19:11 +0100)]
impove memory accounting

. the total amount of memory in the system didn't include the memory
  used by the boot-time modules and some dynamic allocation by the
  kernel at boot time (to map in VM). especially apparent on our
  ARM board with 'only' 512MB of memory and a huge ramdisk.
. also: *add* the VM loaded module to the freelist after it has
  been allocated for & mapped in instead of cutting it *out* of the
  freelist! so we get a few more MB free..

Change-Id: If37ac32b21c9d38610830e21421264da4f20bc4f

11 years agoVM: slight pagedir mapping generalization 25/325/2
Ben Gras [Sun, 10 Feb 2013 18:37:12 +0000 (19:37 +0100)]
VM: slight pagedir mapping generalization

. allow any number of pde's used for pagedir mapping
. allows >1024 NR_PROCS on x86, >64 on ARM
. allows NR_PROCS to be the same in both cases
. also cleanup: allocating spare PDE's is not necessary
  throw that function out

Change-Id: Ibb8f8cf6e7db6a4d6384b6911d1a3f3f5e5d8256

11 years agolibexec: quiet 24/324/1
Ben Gras [Sun, 10 Feb 2013 18:52:25 +0000 (19:52 +0100)]
libexec: quiet

. harmless errors in the case of shell scripts

Change-Id: I461776024a21233e291102ca6d05dc7fa767f71a

11 years agoARM divsi3.S: raise(SIGFPE) when called for 23/323/1
Ben Gras [Sat, 9 Feb 2013 19:38:45 +0000 (20:38 +0100)]
ARM divsi3.S: raise(SIGFPE) when called for

. raise(SIGFPE) for modulo-0/divide-0 operations in
  internal int division functions
. gcc: do not link with -lgcc anywhere so these internal
  functions are always used from libc instead of (sometimes)
  masked by -lgcc
. together fixes test53 on ARM

Change-Id: I31ec19dfdd68b8a92695595da901874e63106f9d

11 years agot40c term[] count fix 22/322/2
Ben Gras [Sat, 9 Feb 2013 17:42:33 +0000 (18:42 +0100)]
t40c term[] count fix

. term[] did not have the promised number of entries

Change-Id: I06a45ca0d948a6876bf1bffd0ec4706c88b7a3b0

11 years agodrivers: build random for arm too 21/321/2
Ben Gras [Sat, 9 Feb 2013 14:52:03 +0000 (15:52 +0100)]
drivers: build random for arm too

Change-Id: I801643281fdacc6cb7950cc79a29bec28dcf40ec

11 years agoopendir change: refinement
Ben Gras [Fri, 8 Feb 2013 23:09:21 +0000 (23:09 +0000)]
opendir change: refinement

Change-Id: I90cc6929c9e7678da8e200688dcd40441efe030f

11 years agoadd opendir alias 20/320/2
Ben Gras [Fri, 8 Feb 2013 21:40:57 +0000 (21:40 +0000)]
add opendir alias

Change-Id: Ib121e763bac7bea44a2f2533c454ff7d9361dc8d

11 years agoldivmod, uldivmod: fix qdivrem calls 18/318/1
Ben Gras [Fri, 8 Feb 2013 12:12:45 +0000 (13:12 +0100)]
ldivmod, uldivmod: fix qdivrem calls

. ldivmod, uldivmod were passing the modulo argument pointer
  in R4, which is bogus, as qdivrem expects it on the stack as
  per the EABI, causing essentially 'random' memory to be trampled
  by qdivrem. fix by pushing R4 before the call.
. also add these functions to -minc so -lminc clients can be
  linked without -lgcc

Change-Id: I90b0b28b51a188c93da5de6afb108224749ea794

11 years agoramdisk Makefile: CLEANFILES fix 17/317/1
Ben Gras [Thu, 7 Feb 2013 22:08:37 +0000 (23:08 +0100)]
ramdisk Makefile: CLEANFILES fix

11 years agotest41: relax maximum timer tick rate 00/300/1
Ben Gras [Wed, 6 Feb 2013 16:38:13 +0000 (17:38 +0100)]
test41: relax maximum timer tick rate

. on ARM (hz=1000) does not give code a chance to stop the timer

Change-Id: Id626bfed088400c3c3962ddfc5e8fbe23dd2a797

11 years agoGPIO:further development 96/296/5
Kees Jongenburger [Wed, 6 Feb 2013 14:46:21 +0000 (15:46 +0100)]
GPIO:further development

* Generalize GPIO handling.
* Add libs to configure gpio's clocks and pads
* Add Interrupt handling.
* Introduce mmio.h and log.h

Change-Id: I928e4c807d15031de2eede4b3ecff62df795f8ac

11 years agobuild:remove minix-sys.plist from version management. 99/299/1
Kees Jongenburger [Wed, 6 Feb 2013 14:44:31 +0000 (15:44 +0100)]
build:remove minix-sys.plist from version management.

Remove minix-sys.plist from version management it is generated by
the build system.

Change-Id: I6fc831992ea619e598130450f0f46b6fc01145ed

11 years agoarm: protect state after signal handler 95/295/1
Ben Gras [Tue, 5 Feb 2013 16:17:19 +0000 (17:17 +0100)]
arm: protect state after signal handler

. set MF_CONTEXT_SET after signal handler state
  is set so it doesn't get clobbered by the kernel
  afterwards (i.e. by delivermsg()).

fixes at least test41.

Change-Id: I7e5e0e9311c8bbc1c0a9c7ca466ceddd9edfa03f

11 years agolibexec: detect short files 92/292/2
Ben Gras [Mon, 4 Feb 2013 00:49:48 +0000 (01:49 +0100)]
libexec: detect short files

if an exec() fails partway through reading in the sections, the target
process is already gone and a defunct process remains. sanity checking
the binary beforehand helps that.

test10 mutilates binaries and exec()s them on purpose; making an exec()
fail cleanly in such cases seems like acceptable behaviour.

fixes test10 on ARM.

Change-Id: I1ed9bb200ce469d4d349073cadccad5503b2fcb0

11 years agokernel, libc: signals fixes 93/293/2
Ben Gras [Mon, 4 Feb 2013 03:08:12 +0000 (04:08 +0100)]
kernel, libc: signals fixes

. kernel: signal handler args for ARM
. kernel: sanity check return address (LSB indicates thumb mode)
. libc: properly retrieve signal mask for ARM

together fix test37 on ARM.

Change-Id: I4e00f754c50104ed85c7fdf8ec5ad54568f20a81

11 years agoumount: getopt return value is int, not char 94/294/2
Ben Gras [Mon, 4 Feb 2013 04:09:28 +0000 (05:09 +0100)]
umount: getopt return value is int, not char

. causes infinite loop on ARM (default unsigned char?)

Change-Id: If00184f37317c8597a8203f68ec96f1ce5030853

11 years agokernel: scheduling fix for ARM 89/289/2
Ben Gras [Sun, 3 Feb 2013 18:28:24 +0000 (19:28 +0100)]
kernel: scheduling fix for ARM

. make read_tsc_64 use the free-running clock, significantly
  improving scheduling behaviour

Change-Id: Idf6a12f6e26be7fe3b3664c278cae846d8b2a442

11 years agoFix warning about double rule for rc in ramdisk 83/283/3
Lionel Sambuc [Wed, 30 Jan 2013 19:09:02 +0000 (20:09 +0100)]
Fix warning about double rule for rc in ramdisk

Change-Id: I870364455e5cbfe178b3dba44a1c944ca7ed9d19

11 years agoUpgrading sync 82/282/3
Lionel Sambuc [Wed, 30 Jan 2013 18:11:42 +0000 (19:11 +0100)]
Upgrading sync

Change-Id: Ied34ebd1d2dc963f5a2af8fc3bbf8e6c94df61cf

11 years agoUpgrading ls 81/281/3
Lionel Sambuc [Wed, 30 Jan 2013 18:06:57 +0000 (19:06 +0100)]
Upgrading ls

Change-Id: Ie0bacf04e727fac5c6df7b2bcf5039e9ce800616

11 years agovm: fix sanity checks on arm 86/286/1
Ben Gras [Fri, 1 Feb 2013 16:48:40 +0000 (17:48 +0100)]
vm: fix sanity checks on arm

The 'polarity' of the RW bit is inversed on ARM, causing one
of the sanity check compensations to fail. ARM now runs basic
stuff with sanity checks passing.

Change-Id: Iee28ab63e430e759f204eeb204b24c301d5ea3c9

11 years agommc:development 71/271/2
Kees Jongenburger [Fri, 19 Oct 2012 13:44:10 +0000 (15:44 +0200)]
mmc:development

* let busy loops timeout.
* Start using interrupt handlers.
* Allocate the ramdisk only when used.

Change-Id: Ie08d66eefef3c8cd3ee16c04f74a9a50cc12b021

11 years agoImporting bin/ln 80/280/2
Lionel Sambuc [Wed, 30 Jan 2013 18:04:17 +0000 (19:04 +0100)]
Importing bin/ln

Change-Id: I318e79f2d02dcff10bda8af335d286a78be5c5a2

11 years agoUpgrading kill 79/279/2
Lionel Sambuc [Wed, 30 Jan 2013 18:01:43 +0000 (19:01 +0100)]
Upgrading kill

Change-Id: I9ad71f08998ac17651d243afecbcc362e0f91b56

11 years agoUpgrading pwd 78/278/2
Lionel Sambuc [Wed, 30 Jan 2013 17:57:00 +0000 (18:57 +0100)]
Upgrading pwd

Change-Id: I3bab8335ac58f2d0af20c5cee4b772b1175c2ede

11 years agoImporting NetBSD expr 77/277/2
Lionel Sambuc [Wed, 30 Jan 2013 17:52:21 +0000 (18:52 +0100)]
Importing NetBSD expr

Change-Id: Ifdb1160cbfeb1324f6fcd612e66112fa0940227c

11 years agoUpgrading echo 76/276/2
Lionel Sambuc [Wed, 30 Jan 2013 17:49:19 +0000 (18:49 +0100)]
Upgrading echo

Change-Id: Idaa5da742b3cc9a1ee2f5c03f10e0627690556fa

11 years agoUpgrading test 75/275/2
Lionel Sambuc [Wed, 30 Jan 2013 14:53:50 +0000 (15:53 +0100)]
Upgrading test

Change-Id: I1cd8e24475030989c95ba60b4e7462dacf945b9f

11 years agoUpgrading printf 74/274/2
Lionel Sambuc [Wed, 30 Jan 2013 14:45:47 +0000 (15:45 +0100)]
Upgrading printf

Change-Id: I78dbbf0d14e4d61f5dfbec53d3938453b3e03ee6

11 years agoFix command line history in ash 73/273/2
Lionel Sambuc [Wed, 30 Jan 2013 14:36:51 +0000 (15:36 +0100)]
Fix command line history in ash

Also did some cleanup in ash sources, to make minix modifications
more obvious, as well as some simplifications (by removing code which
is never compiled)

Removed EDITLINE support, use libedit, which does the termcap/terminfo
handling.

Change-Id: I19f7f425ed6a61298844631f9d7f3173cf7f30c0

11 years agoFix file permissions in usr.bin/tput
Lionel Sambuc [Tue, 29 Jan 2013 18:17:51 +0000 (18:17 +0000)]
Fix file permissions in usr.bin/tput

Change-Id: Ieb29d7a91bbd90273e37406f5454e23c3131634a

11 years agoARM: provide free running clock to replace ccnt 84/284/2
Thomas Veerman [Tue, 29 Jan 2013 19:58:00 +0000 (20:58 +0100)]
ARM: provide free running clock to replace ccnt

The Cycle CouNTer on ARM cannot be used reliably as it wraps around
rather quickly and can be altered by user space (on Minix). Furthermore,
it's buggy when wrapping and is not implemented at all on the Linaro
Beagleboard emulator.

This patch programs GPTIMER10 as a free running clock at 1.625 MHz (it
doesn't generate interrupts). It's memory mapped into every process,
which enables libsys to provide micro_delay().

Change-Id: Iba004c6c62976762fe154ea390d69e518eec1531

11 years agoarm: make signal handlers work
Ben Gras [Wed, 30 Jan 2013 02:13:24 +0000 (03:13 +0100)]
arm: make signal handlers work

A few kernel and calling convention adjustments to make sigsend and
sigreturn work for arm.

. provide a arch_proc_setcontext for earm in kernel
. set LR in context of signal handler to provide a proper
  return address (to __sigreturn)
. change __sigreturn to retrieve the sigcontext pointer
  from the sigframe struct and pass it to _sigreturn() in r0

Change-Id: Icd135a70595382c79d11d8dd9876f6a6f1df41f8

11 years agolibc: add stat aliases 69/269/2
Ben Gras [Tue, 29 Jan 2013 18:59:30 +0000 (18:59 +0000)]
libc: add stat aliases

. add non-internal aliases for stat, lstat, fstat

Change-Id: I87e025b2bf073ff56a5742fc1dcf5badb2b7b321

11 years agovm: fix kernel-requested mappings for arm 68/268/1
Ben Gras [Tue, 29 Jan 2013 17:52:08 +0000 (17:52 +0000)]
vm: fix kernel-requested mappings for arm

. make vm tell kernel virtual locations of mappings
. makes _minix_kerninfo feature work
. fix for mappings being larger than what 1 pde can address
  (e.g. devices memory requested on arm)
. still requires a special case for devices memory for the
  kernel, which has to switch to virtual addressing

Change-Id: I2e94090aa432346fa4da0edeba72f0b7406c2ad7

11 years agogpio:Initial GPIO driver.(ARM) 67/267/3
Kees Jongenburger [Mon, 28 Jan 2013 11:54:44 +0000 (12:54 +0100)]
gpio:Initial GPIO driver.(ARM)

Small GPIO driver that exports a few pins using a virtual file
system. Currently the two user leds and the user button are exported.

Change-Id: I001d017ae27cd17b635587873f7da981054da459

11 years agoImport infocmp from NetBSD 66/266/1
Antoine Leca [Fri, 25 Jan 2013 11:19:17 +0000 (11:19 +0000)]
Import infocmp from NetBSD

Convert the content of the terminfo database into human-readable
form, the same as used by the tic(1) command already present.

11 years agoimport tput from NetBSD 65/265/1
Antoine Leca [Fri, 18 Jan 2013 17:20:49 +0000 (17:20 +0000)]
import tput from NetBSD

Posix tool to allow direct use of the terminfo database.
The clear script is adjusted accordingly.
The (MINIX-specific) clr equivalent is now gone.

11 years agoMined: allow Ins to mark 64/264/1
Antoine Leca [Tue, 17 Jan 2012 12:53:27 +0000 (13:53 +0100)]
Mined: allow Ins to mark

11 years agomake: correct a typo of NetBSD source 63/263/1
Antoine Leca [Wed, 23 Jan 2013 18:20:42 +0000 (18:20 +0000)]
make: correct a typo of NetBSD source

11 years agoReplace tell_config with NetBSD osrelease.sh 62/262/1
Antoine Leca [Wed, 23 Jan 2013 08:13:24 +0000 (08:13 +0000)]
Replace tell_config with NetBSD osrelease.sh

11 years agoRamdisk: remove mtab, as now obsolete 61/261/1
Antoine Leca [Tue, 22 Jan 2013 12:49:15 +0000 (12:49 +0000)]
Ramdisk: remove mtab, as now obsolete

11 years agomkdep: restore NetBSD behaviour 60/260/1
Antoine Leca [Sat, 19 Jan 2013 15:12:04 +0000 (16:12 +0100)]
mkdep: restore NetBSD behaviour

Since MINIX has a working cc, do not introduce spurious differences

11 years agoGNU tools: improvements to fetching process 59/259/1
Antoine Leca [Mon, 21 Jan 2013 14:30:17 +0000 (14:30 +0000)]
GNU tools: improvements to fetching process

- Do not run the fetch.sh script every time
- Do not run the configure script with MKUPDATE=yes (build.sh -u)
- The fetched GNU source are hidden from `git status`
- With CLEANFETCHED=yes, `nbmake -C tools cleandir` will remove the
fetched GNU source and return the MINIX tree to its pristine state.
- Avoid (harmless) message when building in parallel, about find
running against an inexistant path

Notice that the GNU tools are "installed" on every run, even with
MKUPDATE=yes; this is a feature of the NetBSD build system, because
in case of changes in dependencies it is impossible to know them.
See commit 1.27 2004-06-12 of tools/Makefile.gnuhost in NetBSD's src/

The downloaded tarballs are not removed with CLEANFETCHED:
they are supposed to be unmodified, and the exact name is not known
to the Makefile's, since it is engraved in each fetch.sh script (and
we do not want to have the same information in several places.)

11 years agoVFS: fix select again
Thomas Veerman [Fri, 25 Jan 2013 17:42:36 +0000 (17:42 +0000)]
VFS: fix select again

Change-Id: Ia5e26cdbfe38e3fb293dd57269a76b15c1fe236b

11 years agoARM: run with 64 processes only for now
Thomas Veerman [Fri, 25 Jan 2013 13:42:14 +0000 (14:42 +0100)]
ARM: run with 64 processes only for now

11 years agoKernel/ARM: faster context save
Thomas Veerman [Fri, 25 Jan 2013 13:41:43 +0000 (14:41 +0100)]
Kernel/ARM: faster context save

11 years agoKernel/ARM: use modern srsdb invocation
Thomas Veerman [Fri, 25 Jan 2013 13:31:40 +0000 (14:31 +0100)]
Kernel/ARM: use modern srsdb invocation

11 years agolibcsu: store argc and argv on the stack
Thomas Veerman [Fri, 25 Jan 2013 13:29:29 +0000 (14:29 +0100)]
libcsu: store argc and argv on the stack

11 years agoRamdisk: fix ramdisk creation for ARM
Thomas Veerman [Fri, 25 Jan 2013 12:49:18 +0000 (13:49 +0100)]
Ramdisk: fix ramdisk creation for ARM

11 years agoAlso build and install log for ARM
Thomas Veerman [Wed, 23 Jan 2013 14:12:19 +0000 (15:12 +0100)]
Also build and install log for ARM

11 years agoARM: disable __minix_init for now
Thomas Veerman [Wed, 23 Jan 2013 14:07:04 +0000 (15:07 +0100)]
ARM: disable __minix_init for now

On ARM we can't yet globally map pages into every process. So now that
we correctly receive the pointer to the globally mapped kern_info
struct, we have to ignore it on ARM because attempting to dereference
the pointer yields a segfault.

11 years agoARM: correctly store kernel_info_struct pointer
Thomas Veerman [Wed, 23 Jan 2013 13:56:48 +0000 (14:56 +0100)]
ARM: correctly store kernel_info_struct pointer

11 years agoVM: ARM needs more spare pages
Thomas Veerman [Wed, 23 Jan 2013 13:54:41 +0000 (14:54 +0100)]
VM: ARM needs more spare pages

11 years agoARM: Provide linker script for VM
Thomas Veerman [Thu, 17 Jan 2013 14:40:23 +0000 (15:40 +0100)]
ARM: Provide linker script for VM

11 years agoSplit libsys in arch dependent parts
Thomas Veerman [Thu, 17 Jan 2013 13:50:01 +0000 (14:50 +0100)]
Split libsys in arch dependent parts

The ARM part is not finished yet and will be fixed in a later commit.

11 years agoARM: clear BSS upon boot
Thomas Veerman [Thu, 17 Jan 2013 12:35:07 +0000 (13:35 +0100)]
ARM: clear BSS upon boot

11 years agoARM: provide means to pass boot cmdline
Thomas Veerman [Thu, 17 Jan 2013 11:37:53 +0000 (11:37 +0000)]
ARM: provide means to pass boot cmdline

11 years agoPFS: verify nrbytes
Thomas Veerman [Fri, 25 Jan 2013 11:57:32 +0000 (11:57 +0000)]
PFS: verify nrbytes

11 years agotests: print error locations verbosely 43/243/2
Ben Gras [Fri, 25 Jan 2013 01:00:10 +0000 (01:00 +0000)]
tests: print error locations verbosely

So we don't have to figure out which line generated this error by
searching for the subtest/error code combination.

Change-Id: Icca0a776fd19f0f3d250ddb76916f5f932dd9b5e

11 years agogetifaddrs: add un-namespaced alias 42/242/1
Ben Gras [Thu, 24 Jan 2013 21:52:48 +0000 (21:52 +0000)]
getifaddrs: add un-namespaced alias

. needed for security/heimdal, needed for git

Change-Id: I8638945dffd0abffd487c47281ad7616da1b70db

11 years agoTermcap update, replacing elvis by nvi. 41/241/1
Lionel Sambuc [Tue, 22 Jan 2013 11:03:53 +0000 (12:03 +0100)]
Termcap update, replacing elvis by nvi.

Removing elvis, importing nvi, ctags, updating libedit.

Change-Id: I881eb04d2dc64cf112facd992de1114e1a59107f

11 years agoRe-adding extended keys in minix termcap entry 40/240/1
Lionel Sambuc [Mon, 21 Jan 2013 14:08:04 +0000 (14:08 +0000)]
Re-adding extended keys in minix termcap entry

11 years agoFixing cross build i386 on minix 39/239/1
Lionel Sambuc [Thu, 17 Jan 2013 23:06:11 +0000 (00:06 +0100)]
Fixing cross build i386 on minix

11 years agobuild:fixes Files in DESTDIR but missing from flist. 37/237/2
Kees Jongenburger [Wed, 23 Jan 2013 11:29:18 +0000 (12:29 +0100)]
build:fixes Files in DESTDIR but missing from flist.

* virtio

Change-Id: I0c3262cb346692b6caaed0b80ffc1e725dbc0c66

11 years agobuild:fixes Files in DESTDIR but missing from flist. 36/236/1
Kees Jongenburger [Wed, 23 Jan 2013 10:26:46 +0000 (11:26 +0100)]
build:fixes Files in DESTDIR but missing from flist.

Change-Id: I9bf6de1697d1173898de2eda03f042f316427007

11 years agoVFS/PFS: remove remnants of file position in pipes
Thomas Veerman [Tue, 22 Jan 2013 16:40:53 +0000 (16:40 +0000)]
VFS/PFS: remove remnants of file position in pipes

11 years agoVFS: fix select bug on pipes
Thomas Veerman [Tue, 22 Jan 2013 15:49:02 +0000 (15:49 +0000)]
VFS: fix select bug on pipes

11 years agoramdisk: traditional-cpp does not work with clang
Thomas Veerman [Tue, 22 Jan 2013 10:29:47 +0000 (10:29 +0000)]
ramdisk: traditional-cpp does not work with clang

11 years agobuild:fixes Files in DESTDIR but missing from flist. 35/235/2
Kees Jongenburger [Tue, 22 Jan 2013 15:24:52 +0000 (16:24 +0100)]
build:fixes Files in DESTDIR but missing from flist.

Change-Id: Idb3d53a22bee6731fb22f435bf672a0ff180b863

11 years agoramdisk: add virtio-blk to proto and boot option
Joachim Henke [Sat, 15 Dec 2012 12:59:08 +0000 (13:59 +0100)]
ramdisk: add virtio-blk to proto and boot option

11 years agovirtio: virtio-net driver
Arne Welzel [Sat, 15 Dec 2012 12:55:07 +0000 (13:55 +0100)]
virtio: virtio-net driver

11 years agovirtio: virtio-blk driver
Arne Welzel [Sat, 15 Dec 2012 12:54:11 +0000 (13:54 +0100)]
virtio: virtio-blk driver

11 years agopci: add virtio pci device ids
Joachim Henke [Sat, 15 Dec 2012 12:52:17 +0000 (13:52 +0100)]
pci: add virtio pci device ids

11 years agovirtio: generic virtio library
Arne Welzel [Sat, 15 Dec 2012 12:47:37 +0000 (13:47 +0100)]
virtio: generic virtio library

11 years agokernel: fix sanity check
Ben Gras [Fri, 18 Jan 2013 02:24:00 +0000 (02:24 +0000)]
kernel: fix sanity check