Commit Graph

7017 Commits

Author SHA1 Message Date
Jean-Baptiste Boric
bdc9fdfc65 fixup build artefacts commited 2016-12-29 09:07:35 +00:00
Jean-Baptiste Boric
cfbb0c09fc wip import mount_sysvbfs 2016-12-27 23:39:59 +01:00
Jean-Baptiste Boric
5084102fbc wip mount() NetBSD emulation 2016-12-27 23:39:58 +01:00
Jean-Baptiste Boric
a32bbb008e wip fixup libpuffs 2016-12-27 23:39:52 +01:00
Jean-Baptiste Boric
32b574077f rump: import libp2k 2016-12-27 23:39:51 +01:00
Jean-Baptiste Boric
3ebab8327b rump: import libukfs 2016-12-27 23:39:51 +01:00
Jean-Baptiste Boric
dba634132e mthread: add pthread spinlock emulation 2016-12-27 23:39:50 +01:00
Jean-Baptiste Boric
25e6e2acbd mthread: fix pthread_mutex_trylock emulation 2016-12-27 23:39:49 +01:00
Jean-Baptiste Boric
22d09ff4d0 rump: import rump client utilities 2016-12-27 23:39:49 +01:00
Jean-Baptiste Boric
377739cc06 rump: import librumpclient 2016-12-27 23:39:48 +01:00
Jean-Baptiste Boric
dc0601aab4 rump: import dev libraries (most of them) 2016-12-27 23:39:47 +01:00
Jean-Baptiste Boric
4bca51d7fc rump: import net libraries 2016-12-27 23:39:47 +01:00
Jean-Baptiste Boric
9fde26f6a9 fixup librumpuser 2016-12-27 23:39:46 +01:00
Jean-Baptiste Boric
6d280e2195 rump: import librumpuser
Without pthread support, the fibril implementation is used instead.
2016-12-18 17:05:56 +01:00
Jean-Baptiste Boric
5dec96dcef rump: import librumpdev, librumpnet, librumpvfs 2016-12-18 12:07:32 +01:00
Jean-Baptiste Boric
40d2a8cdbc rump: import librump 2016-12-18 12:07:32 +01:00
Jean-Baptiste Boric
8f23f5a3ba rump: import fs libraries 2016-12-18 12:07:31 +01:00
Jean-Baptiste Boric
306a51c7fe rump: import rump kernel libraries 2016-12-18 12:07:30 +01:00
Jean-Baptiste Boric
3fc9818735 rump: build librumpdev, librumpnet, librumpvfs 2016-12-18 12:07:29 +01:00
Jean-Baptiste Boric
296443cea1 rump: build librump 2016-12-18 12:07:27 +01:00
Jean-Baptiste Boric
c0ceb89a47 import config tool 2016-12-18 12:07:26 +01:00
Jean-Baptiste Boric
fee8e88355 import config command 2016-12-18 12:07:26 +01:00
Jean-Baptiste Boric
ccee9c2e7b import common library libppath 2016-12-18 12:07:25 +01:00
Jean-Baptiste Boric
70bc652f19 fix common libraries 2016-12-18 12:07:24 +01:00
Jean-Baptiste Boric
1795f7afcc rump: import rump include files 2016-12-18 12:07:23 +01:00
Jean-Baptiste Boric
e2fe8bb5b6 rump: fix kernel headers 2016-12-18 12:07:09 +01:00
Jean-Baptiste Boric
9a141b4152 rump: turn MKRUMP into a no-op 2016-12-18 12:02:34 +01:00
Antoine Leca
3f862305f8 Fix the process for GNU tools on MINIX
This is a fix over commit a150b26ee8
On a MINIX station, the tools are not usually built and
on a first-time building of the tree, the fetching script
of texinfo was not triggered in some cases. Let force it.
Reported on minix3 googlegroup by Chris Card.

Change-Id: I8beafdeaec66bb1f1f3250bd64c1e14c0023e9d0
2016-11-30 08:42:36 +01:00
Lionel Sambuc
117b6ea003 Fix OPSYS constant in pkg_install tools
Change-Id: I84c1596e4ca9b5a016b628deb75c8133d51a6a75
2016-11-30 08:35:38 +01:00
Jia-Ju Bai
8d98f2e579 Add the driver for IC Plus 1000A Ethernet card
Change-Id: I9ac119c6285bc63a8b795b44d9ab7d245d9a8832
2016-11-24 17:22:28 +01:00
Jia-Ju Bai
8dc24c0650 Update vt6105
Change-Id: I8136a17eb47f626141bb20b9d6a30f82117425b7
2016-11-24 17:22:15 +01:00
rlfnb
fee60e45e6 introducing libacpi
Change-Id: I0808545fefaefc9a8fc8d1101bd85b676467fea0
2016-10-29 17:08:10 +02:00
rlfnb
e154914956 Added vendor- and device id for Via Rhine III
The device id added is used by ALIX boards.

Change-Id: I78d1ce9f2fa0ee121e68d2c84818f669eeab3092
2016-10-24 14:20:37 +02:00
Jia-Ju Bai
9784113fda vt6105: add a README file
Change-Id: I8dbb122afc130f2f2504743fa4fcbada5c97dff5
2016-10-24 14:18:54 +02:00
David van Moolenbroek
286d266fd0 PM: fix alarm signal delivery
As of change git-87c599d, when processing CLOCK notifications, PM no
longer set the current process pointer 'mp'.  That pointer is however
used when delivering signals through check_sig(), to see whether the
current process may deliver a signal to the target process.  As a
result, delivering SIGALARM signals used a previous pointer in these
checks, causing alarm signals not to be delivered in some cases.
This patch ensures that alarm signals are again delivered with PM as
current process.

Change-Id: I94ccbe8b71289df0e1d6d67928e55297bbc28360
2016-10-24 12:11:52 +00:00
David van Moolenbroek
dd41186aac libc: remove MINIX3 restrictions from getnameinfo(3)
Change-Id: I4679f6804f229520d6399a06a5da0655f2bfd899
2016-10-24 12:11:07 +00:00
David van Moolenbroek
f221d2ce48 RMIB: add support for vector copy-out
Change-Id: I9e9b4b8d6eed39fdb511c6bd2a375ddf898064a5
2016-10-24 12:10:34 +00:00
io12
9f11521a37 Fix grammar errors in a comment
Change-Id: I0ad2b6a28afb44e42d1830f1b0944579dc032261
2016-10-19 23:51:07 +02:00
Jia-Ju Bai
022136b354 Add the driver for VIA Technology 6105/6106S Ethernet card
Change-Id: I690c34f0a37bcbb20a5b7748e3dd315707460caf
2016-10-19 21:54:58 +02:00
rlfnb
702ec7400f fixed git checkout and updated latest known changeset working for grub
Change-Id: If4a1e8bfb42a20cf50d847105cc8f96c3cf1cd00
2016-10-18 14:22:28 +02:00
Richard Sailer
a0814afb2e VFS: Convert K&R C -> ANSI C
Aditionally this removes all trailing whitespaces
using: sed -i 's/[[:space:]]*$//' *.c

Change-Id: I88451fdb6f6e79e61f8aae5bd5a7f2e3538f9944
2016-10-18 14:20:21 +02:00
Richard Sailer
4aa48abab9 is: Convert K&R C -> ANSI C
Aditionally this removes all trailing whitespaces
using: sed -i 's/[[:space:]]*$//' *.c

Change-Id: I274fccee9ec320e474ac26fbe19f3bd50bec271a
2016-10-18 14:19:48 +02:00
David van Moolenbroek
6956dd2b51 libc: bugfixes for minix's poll(3) wrapper
- clear "revents" fields even when the call times out;
- do not call FD_ISSET with a negative file descriptor number.

Change-Id: I7aeaae79e73e39aed127a75495ea08256b18c182
2016-10-18 14:18:41 +02:00
David van Moolenbroek
3ac58492b3 Add LLVM GCOV coverage support
With this patch, it is now possible to generate coverage information
for MINIX3 system services with LLVM.  In particular, the system can
be built with MKCOVERAGE=yes, either with a native "make build" or
with crosscompilation.  Either way, MKCOVERAGE=yes will build the
MINIX3 system services with coverage profiling support, generating a
.gcno file for each source module.  After a reboot it is possible to
obtain runtime coverage data (.gcda files) for individual system
services using gcov-pull(8).  The combination of the .gcno and .gcda
files can then be inspected with llvm-cov(1).

For reasons documented in minix.gcov.mk, only system service program
modules are supported for now; system service libraries (libsys etc.)
are not included.  Userland programs are not affected by MKCOVERAGE.

The heart of this patch is the libsys code that writes data generated
by the LLVM coverage hooks into a serialized format using the routines
we already had for GCC GCOV.  Unfortunately, the new llvm_gcov.c code
is LLVM ABI dependent, and may therefore have to be updated later when
we upgrade LLVM.  The current implementation should support all LLVM
versions 3.x with x >= 4.

The rest of this patch is mostly a light cleanup of our existing GCOV
infrastructure, with as most visible change that gcov-pull(8) now
takes a service label string rather than a PID number.

Change-Id: I6de055359d3d2b3f53e426f3fffb17af7877261f
2016-09-24 22:18:31 +00:00
rlfnb
92dfb2dc8e Removed redundant ifdef
Change-Id: Ifb7df30591d658700d6293632f5f944c32376fdf
2016-09-10 13:44:04 +02:00
Antoine Leca
2aa07764b8 [boot-i386] Reduce differences with NetBSD
Change-Id: I50c183d283858a098f0766cf3053fa6e78ce06ad
2016-09-10 12:47:42 +02:00
Antoine Leca
7a3aae8b5b Adjust .gitignore for MINIX file system
Some files in LLVM have more than Minix-maximum of 60 characters.
Also drop some obsolete stuff, and add obj which are symlinks added
to every directory when using /usr/obj as OBJDIR (hinted in wiki.)

Change-Id: Iac82bb064f68689f247a2ee1b1d2f365344ab793
2016-09-10 12:47:03 +02:00
Jean-Baptiste Boric
6afe26749a Enable building with MKDEBUG and MKDEBUGLIB
The way these options work is by creating files that contain debugging
symbols and stashing them in a dedicated set. The minix-debug set has
been created for this purpose, but it will probably have to be refined
since it has been tested only with the default options with an i386
cross-build.

LSC: Amended to support many combination of MKDEBUG, MKDEBUGLIB, with
     and without X11, for both intel and arm.

Change-Id: I2901952e8229938f9ac79c8656484acf704ccd9b
2016-09-10 12:42:45 +02:00
Antoine Leca
a150b26ee8 Improve the process for GNU tools
Split the process to fetch GNU tools (until now embedded
within tools/Makefile.gnuhost) into a new Makefile.fetchgnu,
MINIX-specific hence relocated, which is to be also used
to fetch sources even when not building the tools.
Use it for binutils too.
Improve documentation.

Also do not run configure on each run when MKUPDATE=yes
The .WAIT serialization instruction between fetching and other
configure sources was raising a new run of configure at each
compilation. Avoid it by using two rules.

Change-Id: Ie24950ccbb5c5067f3c1ea57b7bd8294e4c9445e
2016-09-01 21:16:13 +02:00
Antoine Leca
76c7f3dac9 Obey HAVE_GOLD=no to no intent to build gold
This is useful when the host C++ compiler is broken or not compliant.

Change-Id: I09933e81ae07e95e5696b177cd4670cab33ce6c1
2016-09-01 07:47:09 +02:00