]>
Zhao Yanbai Git Server - minix.git/log
Ben Gras [Sat, 26 Jul 2014 11:54:00 +0000 (13:54 +0200)]
custom message types for safecopy calls
Ben Gras [Sat, 26 Jul 2014 11:53:59 +0000 (13:53 +0200)]
custom message type for VM_UNMAP_PHYS
Ben Gras [Sat, 26 Jul 2014 11:53:58 +0000 (13:53 +0200)]
custom message type for vm_map_phys
Ben Gras [Sat, 26 Jul 2014 11:53:57 +0000 (13:53 +0200)]
custom message type for VM_BRK
Ben Gras [Sat, 26 Jul 2014 11:53:56 +0000 (13:53 +0200)]
use custom mmap struct type directly
Ben Gras [Sat, 26 Jul 2014 11:53:55 +0000 (13:53 +0200)]
custom message type for SYS_DEVIO
Ben Gras [Sat, 26 Jul 2014 11:53:54 +0000 (13:53 +0200)]
custom message type for SEMOP
Ben Gras [Sat, 26 Jul 2014 11:53:53 +0000 (13:53 +0200)]
custom message type for SHMCTL, SEMCTL, SEMGET
Ben Gras [Sat, 26 Jul 2014 11:53:52 +0000 (13:53 +0200)]
custom messages for SHMAT, SHMDT
Ben Gras [Sat, 26 Jul 2014 11:53:51 +0000 (13:53 +0200)]
custom message for SHMGET
Ben Gras [Sat, 26 Jul 2014 11:53:50 +0000 (13:53 +0200)]
custom message for vm_query_exit
Ben Gras [Sat, 26 Jul 2014 11:53:49 +0000 (13:53 +0200)]
custom message for vm_update
Ben Gras [Sat, 26 Jul 2014 11:53:48 +0000 (13:53 +0200)]
custom message type for VM_INFO
Ben Gras [Sat, 26 Jul 2014 11:53:47 +0000 (13:53 +0200)]
custom message type for VM_QUERY_EXIT
Ben Gras [Sat, 26 Jul 2014 11:53:46 +0000 (13:53 +0200)]
custom message type for VM_GETREF
Ben Gras [Sat, 26 Jul 2014 11:53:45 +0000 (13:53 +0200)]
custom message type for VM_GETPHYS
Ben Gras [Sat, 26 Jul 2014 11:53:44 +0000 (13:53 +0200)]
custom message type for VM_SHM_UNMAP
Ben Gras [Sat, 26 Jul 2014 11:53:43 +0000 (13:53 +0200)]
custom message type for VM_REMAP, VM_REMAP_RO
Ben Gras [Tue, 22 Jul 2014 16:07:35 +0000 (18:07 +0200)]
empty Makefile
. needed to avoid a build problem on native minix under some
circumstances
stux [Fri, 11 Jul 2014 15:59:23 +0000 (10:59 -0500)]
Import NetBSD which and whereis commands.
Change-Id: Ide31b4cc52c64cbd424437f649674a460fb0a754
Ben Gras [Mon, 21 Jul 2014 16:34:01 +0000 (18:34 +0200)]
<sys/socket.h>: turn off MSG_NOSIGNAL
. this unimplemented flag causes runtime problems (ENOSYS on
send()) for e.g. libfetch when used
. restores functionality of pkg_add (remote), fetch
Lionel Sambuc [Wed, 16 Jul 2014 15:45:58 +0000 (17:45 +0200)]
bin/mv: Temporary fix
The current MInix cp commands doesn't support the option mv expects
to be able to give to it. This patch can be reverted as soon as cp
has been imported.
Change-Id: If4d805726b7bfe4cd9aa2d9603c388b1df467050
Ben Gras [Thu, 10 Jul 2014 19:07:43 +0000 (21:07 +0200)]
i386 rs232: do full write in out_int
. in kvm, this does the full output without truncating
and gets rid of the messy 'enough!' case
Cristiano Giuffrida [Wed, 16 Jul 2014 12:41:11 +0000 (14:41 +0200)]
llvm: Use mfs images for clientctl buildisk.
Cristiano Giuffrida [Wed, 16 Jul 2014 12:14:05 +0000 (14:14 +0200)]
kernel: Add bitcode support.
Cristiano Giuffrida [Tue, 15 Jul 2014 10:01:30 +0000 (12:01 +0200)]
llvm: Add SERIALOUT option to clientctl script.
Koustubha Bhat [Fri, 11 Jul 2014 10:22:11 +0000 (12:22 +0200)]
build.llvm: including configure.llvm.inc must be optional
Cristiano Giuffrida [Sun, 6 Jul 2014 08:50:39 +0000 (10:50 +0200)]
llvm: Use a separate common.overrides file for MINIX.
Cristiano Giuffrida [Sat, 28 Jun 2014 21:57:47 +0000 (23:57 +0200)]
llvm: Fix rc script.
Cristiano Giuffrida [Sat, 28 Jun 2014 16:31:13 +0000 (18:31 +0200)]
llvm: Add clientctl actions for external disk support.
Cristiano Giuffrida [Sat, 28 Jun 2014 16:23:56 +0000 (18:23 +0200)]
releasetools: Add rc.local support when building x86 images.
Cristiano Giuffrida [Sun, 22 Jun 2014 09:09:51 +0000 (11:09 +0200)]
llvm: Preserve default OPTFLAGS when adding instrumentation.
Cristiano Giuffrida [Sun, 22 Jun 2014 08:31:30 +0000 (10:31 +0200)]
llvm: Use default LLVMPREFIX when building passes.
Erik van der Kouwe [Sun, 22 Jun 2014 07:10:46 +0000 (00:10 -0700)]
LLVM clientctl: activate the KVM module only if available
Erik van der Kouwe [Sun, 22 Jun 2014 07:07:27 +0000 (00:07 -0700)]
Fix LLVM clientctl: if the kvm command is not available, just use QEMU directly
Erik van der Kouwe [Sat, 21 Jun 2014 14:08:42 +0000 (07:08 -0700)]
configure.llvm: add INTERACTIVE environment variable which can be set to no to prevent questions from being asked
Cristiano Giuffrida [Wed, 18 Jun 2014 19:34:11 +0000 (21:34 +0200)]
llvm: Fix llvm-apps bridging.
Cristiano Giuffrida [Wed, 18 Jun 2014 18:56:47 +0000 (20:56 +0200)]
llvm: serverctl is now clientctl.
Cristiano Giuffrida [Wed, 18 Jun 2014 11:58:02 +0000 (13:58 +0200)]
llvm: Always build memory last.
Cristiano Giuffrida [Wed, 18 Jun 2014 11:57:16 +0000 (13:57 +0200)]
llvm: Add the serverctl script.
Cristiano Giuffrida [Wed, 18 Jun 2014 10:46:27 +0000 (12:46 +0200)]
llvm: Use common.overrides* files the llvm-apps way.
Cristiano Giuffrida [Thu, 12 Jun 2014 15:08:31 +0000 (17:08 +0200)]
sef: Add fault injection (and EDFI) support.
Cristiano Giuffrida [Tue, 17 Jun 2014 11:47:07 +0000 (13:47 +0200)]
llvm: Split BITCODE_LD_FLAGS
Split across the two linking steps for instrumentation purposes.
Cristiano Giuffrida [Tue, 17 Jun 2014 11:45:56 +0000 (13:45 +0200)]
llvm: Readd mistakenly deleted minix.inc.
Cristiano Giuffrida [Sat, 14 Jun 2014 23:33:17 +0000 (01:33 +0200)]
llvm: A few bitcode-related fixes.
Cristiano Giuffrida [Fri, 13 Jun 2014 18:25:33 +0000 (20:25 +0200)]
llvm: Remove no longer needed SLOPPY_FLIST option.
Cristiano Giuffrida [Fri, 13 Jun 2014 18:21:22 +0000 (20:21 +0200)]
llvm: Avoid versioning configuration files directly.
Koustubha Bhat [Tue, 10 Jun 2014 15:05:29 +0000 (17:05 +0200)]
CREATE_IMAGE_ONLY option added to releasetools/x86_hdimage.sh
Koustubha Bhat [Fri, 6 Jun 2014 14:20:39 +0000 (16:20 +0200)]
LLVM Hello pass: inserts printf statement in main() method.
Koustubha Bhat [Tue, 6 May 2014 08:43:42 +0000 (10:43 +0200)]
Bridging Minix & llvm-apps repos for instrumentating Minix
Allows instrumentation of Minix components using LLVM passes from
"llvm-apps" repository
In addition, the change does the following:
1. Move releasetools/generate_gold_plugin.sh to minix/llvm
2. Move external/bsd/llvm/passes to minix/llvm/passes
3. libLTO.so, LLVMgold.so and WeakAliasModuleOverride.so files
now get installed in minix/llvm/bin
Ben Gras [Thu, 17 Jul 2014 12:32:35 +0000 (12:32 +0000)]
Empty libgcc_s.
This library is built just so that something is present in
/usr/lib/libgcc_s.so.1. This is needed for dynamically programs built
with gcc, which might reference that library at runtime (i.e. all pkgsrc
packages). The necessary symbols are in libc however, so when built on a
clang-only system, so an empty library is a working stopgap.
Lionel Sambuc [Tue, 28 Jan 2014 10:33:14 +0000 (11:33 +0100)]
Remove obsolete commands/cpp
Change-Id: Ib5335286bb6f1895f9c6006aeee8828bc9f58a45
Lionel Sambuc [Tue, 28 Jan 2014 09:48:19 +0000 (10:48 +0100)]
Replace cc, c++ & cpp with symlinks
In case of installation of both clang and GCC, we want to be able to
switch which one is the default by adapting the cc, c++ & cpp symlinks.
The default behaviour implemented here is to prefer clang over gcc if
they are both installed.
Change-Id: Ic14720cd876d2bf934d345a955cb5789378209e6
Lionel Sambuc [Thu, 23 Jan 2014 13:10:10 +0000 (14:10 +0100)]
default CC to clang
Change-Id: I5a4e6bfebd0b283f8f025fa91d27b1ac832f7b81
Ben Gras [Mon, 12 May 2014 13:17:14 +0000 (15:17 +0200)]
new libunwind, updated to netbsd
b1f513eedd
existing libunwind used '0' in lsda_encoding as 'not present,'
whereas that is a valid encoding and does occur and would be
ignored. a missing encoding is actually 0xff.
The commit that addresses this is:
commit
8d4b51028d1a12b58d616f4b605254a877caafcf
Author: joerg <joerg>
Date: Tue Mar 11 23:52:17 2014 +0000
0 is a valid LSDA encoding and can be seen in statically linked
programs. Initialize lsdaEncoding to DW_EH_PE_omit and check for that
value to decide whether a value should be decoded.
more bugfixes are necessary. this update is up to:
commit
b1f513eedd332426d88acbb118b6e9070966dcb9
Author: joerg <joerg>
Date: Wed May 14 22:13:36 2014 +0000
Lazy VFP processing works a lot better if the functions contain a return
instruction.
Lionel Sambuc [Sat, 7 Dec 2013 18:53:33 +0000 (19:53 +0100)]
Importing sys/libunwind for clang
Change-Id: Ib073b27e3b883837e682414ef7df56c84ca10816
Lionel Sambuc [Wed, 16 Jul 2014 14:09:33 +0000 (16:09 +0200)]
Compile gold as a tool on MINIX/llvm-only system
This patch is mostly copy-past from answers found in:
http://www.marshut.com/ikhnkn/compiling-gold-with-libc-and-stl-hash-string.html
This combines the first submitted patch, but applied on gold/gold.h
instead of gold/system.h, as well as the freebsd changes.
Lionel Sambuc [Fri, 6 Dec 2013 15:46:30 +0000 (16:46 +0100)]
LLVM Minix changes
- import libcxx
- reduce targets to the one when compiled as a tools
Change-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
Lionel Sambuc [Tue, 25 Feb 2014 12:43:18 +0000 (13:43 +0100)]
I should not have been born.
This patch is a ugly, but a this moment I have no better alternatives to
offer.
- Add a script to compile the llvm sources through the standard
makefiles instead of the bsd build system. The produced gold plugin
is then copied into the source tree and used from there by the BSD
Makefiles.
Change-Id: I7fd7ad80be8efcedf27a047b872930ed602d7874
Lionel Sambuc [Fri, 7 Mar 2014 14:06:33 +0000 (15:06 +0100)]
LLVM Passe which fixes weak aliases overriden from bitcode
Lionel Sambuc [Fri, 15 Nov 2013 12:00:54 +0000 (13:00 +0100)]
Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
David van Moolenbroek [Thu, 10 Jul 2014 11:35:08 +0000 (13:35 +0200)]
Kernel: fix getrusage microsecond computation
Change-Id: I5e443ddbed1bcd49ed81721afda3aa3c1880ad52
David van Moolenbroek [Thu, 10 Jul 2014 10:18:11 +0000 (12:18 +0200)]
Correct a few library dependency tracking mistakes
Change-Id: I3d509db3946ca6c284be64c92c4cec313cc4ca1b
Zachary Storer [Mon, 7 Jul 2014 18:13:40 +0000 (12:13 -0600)]
Import NetBSD mv command.
Change-Id: I08cd4e866685080f7b4d617ee150f5b9d7626e7e
Jan Kobler [Tue, 3 Jun 2014 13:51:55 +0000 (15:51 +0200)]
arm: clear highly mapped kernel bss
. added bss range values for the high (paged) kernel and
clear it in pre_init
. this changes the meaning of the current _edata end _end in the
pre_init phase to mean: highly mapped bss; and the new symbols
_kern_unpaged_edata ... _kern_unpaged_edata to mean directly
mapped (pre_init) bss. This was previously _edata and _end.
. added a sanity check in kmain (ben@)
The values can be verified by:
${CROSS_TOOLS}/arm-elf32-minix-objdump -xD ${OBJ}/kernel/kernel
Signed-off-by: Jan Kobler <eng1@koblersystems.de>
Ben Gras [Mon, 7 Jul 2014 13:02:28 +0000 (15:02 +0200)]
size_t declaration
Wojciech Zajac [Wed, 25 Jun 2014 11:45:06 +0000 (13:45 +0200)]
Fixed usb_storage to support more USB sticks
More TEST UNIT READY calls, as some sticks seem to require them, while others are indifferent.
Mass storage 'reset recovery' is disabled by default, as it broke communication with some sticks.
Minor fixes.
Wojciech Zajac [Wed, 25 Jun 2014 08:09:20 +0000 (10:09 +0200)]
USB bulk only transport 'reset recovery' added
Control URB formatting for mass storage driver was also fixed.
Wojciech Zajac [Tue, 24 Jun 2014 09:35:44 +0000 (11:35 +0200)]
Corrected invalid URBs handling
Wojciech Zajac [Mon, 23 Jun 2014 10:59:39 +0000 (12:59 +0200)]
Make MUSB use 'interval' for bulk transfers
Wojciech Zajac [Mon, 23 Jun 2014 10:32:44 +0000 (12:32 +0200)]
More endpoint descriptor data held by usb_storage
Makes usb_storage remember endpoint interval and other parameters, instead of endpoint number only.
Wojciech Zajac [Mon, 23 Jun 2014 09:06:20 +0000 (11:06 +0200)]
Removed unused transfer flags for usb_storage
Wojciech Zajac [Wed, 18 Jun 2014 10:17:01 +0000 (12:17 +0200)]
Graceful exiting for USBD
Wojciech Zajac [Wed, 18 Jun 2014 09:54:24 +0000 (11:54 +0200)]
USBD return value for wrong URB submit
Wojciech Zajac [Wed, 18 Jun 2014 08:57:40 +0000 (10:57 +0200)]
Graceful exiting for mass storage driver
Exit signal is now correctly handled and allocated memory is freed, before exiting.
Wojciech Zajac [Tue, 17 Jun 2014 10:12:11 +0000 (12:12 +0200)]
Generalization of USB transfer's error handling
No longer assumes EP0 for control transfer, in general HCD code.
Some additional cleanup.
David van Moolenbroek [Sun, 24 Nov 2013 20:50:44 +0000 (21:50 +0100)]
libc: make ttyname(3) use devname(3)
There was an off-by-one in the old MINIX-specific implementation,
which caused ttyname(3) to fail at random. Since we now have a working
devname(3), there is no need for MINIX-specific code anymore here.
Change-Id: I27d8b6c4f66c84f383156ed494b740d071af02a7
Ben Gras [Tue, 17 Jun 2014 15:51:52 +0000 (17:51 +0200)]
Fix passwd entries, from old format to new.
Change-Id: I78278f0cdc6b9b87bf9b3a14970a462037589d87
Ben Gras [Mon, 16 Jun 2014 17:27:46 +0000 (19:27 +0200)]
pty range improvement
Lionel Sambuc [Fri, 6 Jun 2014 11:00:39 +0000 (13:00 +0200)]
Message type for CDEV_{READ,WRITE,IOCTL}
Change-Id: Ia89c98410d3775fe3b6621576eadd186d60ec894
Lionel Sambuc [Fri, 6 Jun 2014 12:21:20 +0000 (14:21 +0200)]
Message type for CDEV_SELECT
Change-Id: I74e67ef2206102fe4686efb35d1aaf42db5cd236
Lionel Sambuc [Fri, 6 Jun 2014 11:19:58 +0000 (13:19 +0200)]
Message type for CDEV_CANCEL
Change-Id: I4a58f314e140c043392503c079e3d9b994c50b2f
Lionel Sambuc [Fri, 6 Jun 2014 07:46:13 +0000 (09:46 +0200)]
Message type for CDEV_{OPEN,CLOSE}
Change-Id: Ie58511aef2da968129a405a4ad44d0330a2adcb2
Lionel Sambuc [Mon, 19 May 2014 11:57:19 +0000 (13:57 +0200)]
Message type for CDEV_SEL{1,2}
Change-Id: I4857363a62eeede2e137f3354566699b08cb235d
Lionel Sambuc [Mon, 19 May 2014 11:14:24 +0000 (13:14 +0200)]
Message type for CDEV_REPLY
Change-Id: I555bf35a43c59e7d7b6180b625021b3c13bbeaa3
Lionel Sambuc [Wed, 4 Jun 2014 15:23:50 +0000 (17:23 +0200)]
Message type for TTY_FKEY_CONTROL
Change-Id: Ic7a8901089f14f65e840bd88b087b733c3e3bdee
Lionel Sambuc [Wed, 4 Jun 2014 14:04:36 +0000 (16:04 +0200)]
FKEY_EVENTS cleanups
- Fix a bug where an FKEY_EVENT request would always return EINVAL
- Replace two manual usage of FKEY_EVENT messages by a call to
fkey_events which is mapped to fkey_ctl.
Change-Id: I7bc54cade45a29f14c89313b3ec4c28d81a4ec93
Wojciech Zajac [Mon, 16 Jun 2014 12:00:03 +0000 (14:00 +0200)]
Memory related fixes for DDE/USBD
DDEKit has proper thread termination now. No more memory leaks on usb stick removal.
MUSB fixes for IRQ and memory mapping.
Wojciech Zajac [Fri, 13 Jun 2014 13:23:42 +0000 (15:23 +0200)]
Upgraded HCD transfers
Types for data request are fixed and commented.
Control transfer has additional call for proper completion validation.
Wojciech Zajac [Fri, 13 Jun 2014 10:50:13 +0000 (12:50 +0200)]
Unification of various HCD types.
DDEKit URB's are no longer directly handled by HCD but rather translated and validated to avoid type conversion issues and illegal values.
Ben Gras [Wed, 11 Jun 2014 11:35:21 +0000 (13:35 +0200)]
set NETBSDSRCDIR in kyua-atf-compat
Ben Gras [Wed, 19 Mar 2014 23:01:48 +0000 (00:01 +0100)]
gold -Ttext=.. workaround
replace invocations of -Ttext=.. with --section-start=.text=.. for
gnu gold-ld. it was giving very weird results when given page-rounded
values. --section-start=.text=.. works for both bfd-ld and gold.
Wojciech Zajac [Mon, 9 Jun 2014 08:46:54 +0000 (10:46 +0200)]
Linking blocktest without libc to allow terminal output
Thomas Cort [Sun, 8 Jun 2014 11:07:55 +0000 (07:07 -0400)]
Importing games/colorbars
No Minix specific changes needed.
Change-Id: Id853551c7d19adc68cfc76ddc353bccf0510387a
Wojciech Zajac [Fri, 6 Jun 2014 08:28:38 +0000 (10:28 +0200)]
Fixed setup packet configuration for USBD and disconnection cleanup
Wojciech Zajac [Wed, 4 Jun 2014 13:40:00 +0000 (15:40 +0200)]
Fix for usbd-usb_storage pairing and URB handling. Additional cleanup.
Wojciech Zajac [Tue, 3 Jun 2014 12:58:48 +0000 (14:58 +0200)]
Resolution of some currently fixable TODOs
Lionel Sambuc [Mon, 26 May 2014 14:34:34 +0000 (16:34 +0200)]
Message type for TTY_INPUT_EVENT
Change-Id: I2bae0a2c8326b36c438f9b340c394ec66189c1c8
Lionel Sambuc [Mon, 26 May 2014 10:12:11 +0000 (12:12 +0200)]
Message type for SYS_CLEAR
Change-Id: I3d894edcf672d180aee38fd84bd06339bdf7fa9b
Lionel Sambuc [Mon, 26 May 2014 10:03:25 +0000 (12:03 +0200)]
Message type for SYS_EXEC
Change-Id: I349e28b8bb3705386f04e4860cffc6ed74a5532f