]> Zhao Yanbai Git Server - minix.git/log
minix.git
10 years agoCompile gold as a tool on MINIX/llvm-only system
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.

10 years agoLLVM Minix 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

10 years agoI should not have been born.
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

10 years agoLLVM Passe which fixes weak aliases overriden from bitcode
Lionel Sambuc [Fri, 7 Mar 2014 14:06:33 +0000 (15:06 +0100)]
LLVM Passe which fixes weak aliases overriden from bitcode

10 years agoImporting netbsd clang -- pristine
Lionel Sambuc [Fri, 15 Nov 2013 12:00:54 +0000 (13:00 +0100)]
Importing netbsd clang -- pristine

Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f

10 years agoKernel: fix getrusage microsecond computation
David van Moolenbroek [Thu, 10 Jul 2014 11:35:08 +0000 (13:35 +0200)]
Kernel: fix getrusage microsecond computation

Change-Id: I5e443ddbed1bcd49ed81721afda3aa3c1880ad52

10 years agoCorrect a few library dependency tracking mistakes
David van Moolenbroek [Thu, 10 Jul 2014 10:18:11 +0000 (12:18 +0200)]
Correct a few library dependency tracking mistakes

Change-Id: I3d509db3946ca6c284be64c92c4cec313cc4ca1b

10 years agoImport NetBSD mv command.
Zachary Storer [Mon, 7 Jul 2014 18:13:40 +0000 (12:13 -0600)]
Import NetBSD mv command.

Change-Id: I08cd4e866685080f7b4d617ee150f5b9d7626e7e

10 years agoarm: clear highly mapped kernel bss
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>
10 years agosize_t declaration
Ben Gras [Mon, 7 Jul 2014 13:02:28 +0000 (15:02 +0200)]
size_t declaration

10 years agoFixed usb_storage to support more USB sticks
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.

10 years agoUSB bulk only transport 'reset recovery' added
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.

10 years agoCorrected invalid URBs handling
Wojciech Zajac [Tue, 24 Jun 2014 09:35:44 +0000 (11:35 +0200)]
Corrected invalid URBs handling

10 years agoMake MUSB use 'interval' for bulk transfers
Wojciech Zajac [Mon, 23 Jun 2014 10:59:39 +0000 (12:59 +0200)]
Make MUSB use 'interval' for bulk transfers

10 years agoMore endpoint descriptor data held by usb_storage
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.

10 years agoRemoved unused transfer flags for usb_storage
Wojciech Zajac [Mon, 23 Jun 2014 09:06:20 +0000 (11:06 +0200)]
Removed unused transfer flags for usb_storage

10 years agoGraceful exiting for USBD
Wojciech Zajac [Wed, 18 Jun 2014 10:17:01 +0000 (12:17 +0200)]
Graceful exiting for USBD

10 years agoUSBD return value for wrong URB submit
Wojciech Zajac [Wed, 18 Jun 2014 09:54:24 +0000 (11:54 +0200)]
USBD return value for wrong URB submit

10 years agoGraceful exiting for mass storage driver
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.

10 years agoGeneralization of USB transfer's error handling
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.

10 years agolibc: make ttyname(3) use devname(3)
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

10 years agoFix passwd entries, from old format to new.
Ben Gras [Tue, 17 Jun 2014 15:51:52 +0000 (17:51 +0200)]
Fix passwd entries, from old format to new.

Change-Id: I78278f0cdc6b9b87bf9b3a14970a462037589d87

10 years agopty range improvement
Ben Gras [Mon, 16 Jun 2014 17:27:46 +0000 (19:27 +0200)]
pty range improvement

10 years agoMessage type for CDEV_{READ,WRITE,IOCTL}
Lionel Sambuc [Fri, 6 Jun 2014 11:00:39 +0000 (13:00 +0200)]
Message type for CDEV_{READ,WRITE,IOCTL}

Change-Id: Ia89c98410d3775fe3b6621576eadd186d60ec894

10 years agoMessage type for CDEV_SELECT
Lionel Sambuc [Fri, 6 Jun 2014 12:21:20 +0000 (14:21 +0200)]
Message type for CDEV_SELECT

Change-Id: I74e67ef2206102fe4686efb35d1aaf42db5cd236

10 years agoMessage type for CDEV_CANCEL
Lionel Sambuc [Fri, 6 Jun 2014 11:19:58 +0000 (13:19 +0200)]
Message type for CDEV_CANCEL

Change-Id: I4a58f314e140c043392503c079e3d9b994c50b2f

10 years agoMessage type for CDEV_{OPEN,CLOSE}
Lionel Sambuc [Fri, 6 Jun 2014 07:46:13 +0000 (09:46 +0200)]
Message type for CDEV_{OPEN,CLOSE}

Change-Id: Ie58511aef2da968129a405a4ad44d0330a2adcb2

10 years agoMessage type for CDEV_SEL{1,2}
Lionel Sambuc [Mon, 19 May 2014 11:57:19 +0000 (13:57 +0200)]
Message type for CDEV_SEL{1,2}

Change-Id: I4857363a62eeede2e137f3354566699b08cb235d

10 years agoMessage type for CDEV_REPLY
Lionel Sambuc [Mon, 19 May 2014 11:14:24 +0000 (13:14 +0200)]
Message type for CDEV_REPLY

Change-Id: I555bf35a43c59e7d7b6180b625021b3c13bbeaa3

10 years agoMessage type for TTY_FKEY_CONTROL
Lionel Sambuc [Wed, 4 Jun 2014 15:23:50 +0000 (17:23 +0200)]
Message type for TTY_FKEY_CONTROL

Change-Id: Ic7a8901089f14f65e840bd88b087b733c3e3bdee

10 years agoFKEY_EVENTS cleanups
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

10 years agoMemory related fixes for DDE/USBD
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.

10 years agoUpgraded HCD transfers
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.

10 years agoUnification of various HCD types.
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.

10 years agoset NETBSDSRCDIR in kyua-atf-compat
Ben Gras [Wed, 11 Jun 2014 11:35:21 +0000 (13:35 +0200)]
set NETBSDSRCDIR in kyua-atf-compat

10 years agogold -Ttext=.. workaround
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.

10 years agoLinking blocktest without libc to allow terminal output
Wojciech Zajac [Mon, 9 Jun 2014 08:46:54 +0000 (10:46 +0200)]
Linking blocktest without libc to allow terminal output

10 years agoImporting games/colorbars
Thomas Cort [Sun, 8 Jun 2014 11:07:55 +0000 (07:07 -0400)]
Importing games/colorbars

No Minix specific changes needed.

Change-Id: Id853551c7d19adc68cfc76ddc353bccf0510387a

10 years agoFixed setup packet configuration for USBD and disconnection cleanup
Wojciech Zajac [Fri, 6 Jun 2014 08:28:38 +0000 (10:28 +0200)]
Fixed setup packet configuration for USBD and disconnection cleanup

10 years agoFix for usbd-usb_storage pairing and URB handling. Additional 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.

10 years agoResolution of some currently fixable TODOs
Wojciech Zajac [Tue, 3 Jun 2014 12:58:48 +0000 (14:58 +0200)]
Resolution of some currently fixable TODOs

10 years agoMessage type for TTY_INPUT_EVENT
Lionel Sambuc [Mon, 26 May 2014 14:34:34 +0000 (16:34 +0200)]
Message type for TTY_INPUT_EVENT

Change-Id: I2bae0a2c8326b36c438f9b340c394ec66189c1c8

10 years agoMessage type for SYS_CLEAR
Lionel Sambuc [Mon, 26 May 2014 10:12:11 +0000 (12:12 +0200)]
Message type for SYS_CLEAR

Change-Id: I3d894edcf672d180aee38fd84bd06339bdf7fa9b

10 years agoMessage type for SYS_EXEC
Lionel Sambuc [Mon, 26 May 2014 10:03:25 +0000 (12:03 +0200)]
Message type for SYS_EXEC

Change-Id: I349e28b8bb3705386f04e4860cffc6ed74a5532f

10 years agoMessage type for SYS_FORK
Lionel Sambuc [Mon, 26 May 2014 09:42:00 +0000 (11:42 +0200)]
Message type for SYS_FORK

Change-Id: Ibcf4fdfec51129b2be3d667ec07aea0f42e3fd89

10 years agoMessage type for SYS_{S,G}ETMCONTEXT
Lionel Sambuc [Mon, 26 May 2014 08:41:06 +0000 (10:41 +0200)]
Message type for SYS_{S,G}ETMCONTEXT

Change-Id: I388eee89ba8cc6e6603b3193297b81179c1e6975

10 years agoMessage type for SYS_SETGRANT
Lionel Sambuc [Fri, 23 May 2014 10:53:48 +0000 (12:53 +0200)]
Message type for SYS_SETGRANT

Change-Id: I542f839d7992d3348fef19c51bfcb58bb408d9f4

10 years agoMessage type for SYS_PRIVCTL
Lionel Sambuc [Fri, 23 May 2014 09:08:21 +0000 (11:08 +0200)]
Message type for SYS_PRIVCTL

Change-Id: I5bf4d88ca571f2a701e426aae67c6b04705ce511

10 years agoMessage type for SYS_STATECTL
Lionel Sambuc [Fri, 23 May 2014 08:18:35 +0000 (10:18 +0200)]
Message type for SYS_STATECTL

Change-Id: I19443aa018d6c670e2b44f1f98bce2fb297a7f21

10 years agoMessage type for SYS_TRACE
Lionel Sambuc [Fri, 23 May 2014 08:09:09 +0000 (10:09 +0200)]
Message type for SYS_TRACE

Change-Id: Ib579fab949b76797ea7d6cb5ff4ae3d9b32f630c

10 years agoMessage type for SYS_SETTIME
Lionel Sambuc [Thu, 22 May 2014 13:31:51 +0000 (15:31 +0200)]
Message type for SYS_SETTIME

Change-Id: I10c2c27c0c9749b49d70735175e530b4341440dc

10 years agoMessage type for SYS_STIME
Lionel Sambuc [Thu, 22 May 2014 13:30:51 +0000 (15:30 +0200)]
Message type for SYS_STIME

Change-Id: Ic4401e736bb66960e2ea4b30f5e1946dd93fd76e

10 years agoMessage type for SYS_TIMES
Lionel Sambuc [Thu, 22 May 2014 09:32:14 +0000 (11:32 +0200)]
Message type for SYS_TIMES

Change-Id: Ia408aa7d76c47da9f600a724f82b347ba6ac641b

10 years agoMessage type for SYS_GETINFO and SYS_GETWHOAMI
Lionel Sambuc [Thu, 22 May 2014 08:46:02 +0000 (10:46 +0200)]
Message type for SYS_GETINFO and SYS_GETWHOAMI

Change-Id: I9cea3f65b29e30555c8b47865e12c7d19a74a3c3

10 years agoMessage type for SYS_VUMAP
Lionel Sambuc [Thu, 22 May 2014 08:05:44 +0000 (10:05 +0200)]
Message type for SYS_VUMAP

Change-Id: I9accdf887c119566429ab0803436b068729bcd85

10 years agoMessage type for SYS_UMAP{,_REMOTE}
Lionel Sambuc [Wed, 21 May 2014 15:54:35 +0000 (17:54 +0200)]
Message type for SYS_UMAP{,_REMOTE}

Change-Id: Id46df10aee6189a0d3673013b498c7cc79edcc7e

10 years agoMessage type for SYS_{VIR,PHYS}COPY
Lionel Sambuc [Wed, 21 May 2014 15:21:26 +0000 (17:21 +0200)]
Message type for SYS_{VIR,PHYS}COPY

Change-Id: I15d1acf9992d1b799f5687adffb186875fcd0c84

10 years agoMessage type for SYS_IOPENABLE
Lionel Sambuc [Wed, 21 May 2014 14:59:30 +0000 (16:59 +0200)]
Message type for SYS_IOPENABLE

Change-Id: I8b089c30c7f9ae75e404f63495bbb199d583f1cd

10 years agoMessage type for SYS_ABORT
Lionel Sambuc [Wed, 21 May 2014 14:52:18 +0000 (16:52 +0200)]
Message type for SYS_ABORT

Change-Id: Ic24a4779cc7955cb94f81fec58a358057ca85cb1

10 years agoMessage type for SYS_IRQCTL
Lionel Sambuc [Wed, 21 May 2014 14:44:37 +0000 (16:44 +0200)]
Message type for SYS_IRQCTL

Change-Id: Idef5a1e49aea3eea690e2a9bf046348766a8b944

10 years agoMessage type for SYS_SETALARM
Lionel Sambuc [Wed, 21 May 2014 08:52:39 +0000 (10:52 +0200)]
Message type for SYS_SETALARM

Change-Id: I2c2ee24c19085cbd1e7ffba7b2db714b2561ff17

10 years agoMessage type for SYS_VDEVIO
Lionel Sambuc [Wed, 21 May 2014 08:45:19 +0000 (10:45 +0200)]
Message type for SYS_VDEVIO

Change-Id: I62ceb5d487c5acd08cb100f340dd387e733180b4

10 years agoMessage type for SYS_SDEVIO
Lionel Sambuc [Tue, 20 May 2014 11:56:35 +0000 (13:56 +0200)]
Message type for SYS_SDEVIO

Change-Id: I2d60a2ccad325236998a7f9af9b4e82fe0c8131f

10 years agoMessage type for SYS_MEMSET
Lionel Sambuc [Tue, 20 May 2014 11:18:39 +0000 (13:18 +0200)]
Message type for SYS_MEMSET

Change-Id: Icebd04e0c53d9653301550bb598df8719aa66ada

10 years agoMessage type for DL_{READ,WRITE}V_S
Lionel Sambuc [Tue, 20 May 2014 09:19:27 +0000 (11:19 +0200)]
Message type for DL_{READ,WRITE}V_S

Change-Id: I6e25e8e994b0bdec2bb54f50e6db08e6e935c819

10 years agoMessage type for DL_TASK_REPLY
Lionel Sambuc [Tue, 20 May 2014 07:13:26 +0000 (09:13 +0200)]
Message type for DL_TASK_REPLY

Change-Id: I7f15f8f874366e93866f53d7a60a0c7ef9c98636

10 years agoMessage type for DL_GETSTAT_S
Lionel Sambuc [Mon, 19 May 2014 17:40:12 +0000 (19:40 +0200)]
Message type for DL_GETSTAT_S

Change-Id: Ia5c2bf7a3d796a6a0463af70059e82fddd43d69c

10 years agoMessage type for DL_CONF{,_REPLY}
Lionel Sambuc [Mon, 19 May 2014 17:19:14 +0000 (19:19 +0200)]
Message type for DL_CONF{,_REPLY}

Change-Id: Ib0e435875b6f5cacdcbc8593f9a887b0a4c472c1

10 years agoMessage type for {PM,VFS,RS,DS}_GETSYSINFO
Lionel Sambuc [Mon, 19 May 2014 09:37:26 +0000 (11:37 +0200)]
Message type for {PM,VFS,RS,DS}_GETSYSINFO

Change-Id: I64d89f8a1c4704d0d0f420eb1e434cc96fd6351a

10 years agoMessage type for SVRCTL
Lionel Sambuc [Mon, 19 May 2014 09:25:52 +0000 (11:25 +0200)]
Message type for SVRCTL

Change-Id: Ibdb9edb9878e06cf2a641ffc3975f878a6e41dfb

10 years agoMessage type for {PM,VFS,VM}_GETRUSAGE
Lionel Sambuc [Mon, 19 May 2014 09:18:20 +0000 (11:18 +0200)]
Message type for {PM,VFS,VM}_GETRUSAGE

Change-Id: I793d2e9fa8eb0562a46ccbd81aae3dbb517671cc

10 years agoMessage type for INPUT_SETLEDS
Lionel Sambuc [Mon, 19 May 2014 08:39:55 +0000 (10:39 +0200)]
Message type for INPUT_SETLEDS

Change-Id: I84ee6ee43d771409526468ce45f1ddc27e9ca986

10 years agoMessage type for INPUT_EVENT
Lionel Sambuc [Mon, 19 May 2014 08:18:55 +0000 (10:18 +0200)]
Message type for INPUT_EVENT

Change-Id: I50a815623ff4a9b6b0113000a798a3495c911ecf

10 years agoMessage type for INPUT_CONF
Lionel Sambuc [Mon, 19 May 2014 07:39:57 +0000 (09:39 +0200)]
Message type for INPUT_CONF

Change-Id: Ib25bd7e9717f203316e303d4f5a411d314ce46ed

10 years agoMessage type for RTCDEV_*
Lionel Sambuc [Mon, 19 May 2014 07:19:01 +0000 (09:19 +0200)]
Message type for RTCDEV_*

Change-Id: Ie4257e745e1d8b6a151934949f10c7fdb1ac4778

10 years agoMessage type for BUSC_I2C_EXEC
Lionel Sambuc [Thu, 15 May 2014 14:39:51 +0000 (16:39 +0200)]
Message type for BUSC_I2C_EXEC

Change-Id: I4b6e33df2dd70d40af4a2f2c899324a40107c56a

10 years agoMessage type for BUSC_I2C_RESERVE
Lionel Sambuc [Thu, 15 May 2014 14:14:21 +0000 (16:14 +0200)]
Message type for BUSC_I2C_RESERVE

Change-Id: Iedc2615b41c65f826868a70448fb1143bd85670f

10 years agoMessage type for BUSC_PCI_GET_BAR
Lionel Sambuc [Thu, 15 May 2014 09:45:42 +0000 (11:45 +0200)]
Message type for BUSC_PCI_GET_BAR

Change-Id: I5cb21f09a2c80473101f8da3f435e4dcc3b05491

10 years agoMessage type for SCHEDULING_STOP
Lionel Sambuc [Wed, 14 May 2014 16:29:46 +0000 (18:29 +0200)]
Message type for SCHEDULING_STOP

Change-Id: I372c6b9146b459698a0cead68d7cdd53ea074d77

10 years agoMessage type for SCHEDULING_SET_NICE
Lionel Sambuc [Wed, 14 May 2014 16:10:23 +0000 (18:10 +0200)]
Message type for SCHEDULING_SET_NICE

Change-Id: I4f8450b0de235627383035653ec58761fc7e3985

10 years agoMessage type for SCHEDULING_{START,INHERIT}
Lionel Sambuc [Wed, 14 May 2014 15:57:12 +0000 (17:57 +0200)]
Message type for SCHEDULING_{START,INHERIT}

Change-Id: Iad2b4079f72488ea3c3abef2b4a4fefe26ae9066

10 years agoMessage type for SCHEDULING_NO_QUANTUM, SYS_SCHEDULE
Lionel Sambuc [Wed, 14 May 2014 14:59:14 +0000 (16:59 +0200)]
Message type for SCHEDULING_NO_QUANTUM, SYS_SCHEDULE

Change-Id: Ia0f2689067159b4d821092d4ac60efa75e396f7c

10 years agoMessage type for SYS_SCHEDCTL
Lionel Sambuc [Wed, 14 May 2014 14:39:00 +0000 (16:39 +0200)]
Message type for SYS_SCHEDCTL

Change-Id: Iaccbac1ef99124bc494b835e0d0cf999ea2e3f5a

10 years agoMessage type for PM_{KILL,SIGACTION}
Lionel Sambuc [Tue, 13 May 2014 17:02:12 +0000 (19:02 +0200)]
Message type for PM_{KILL,SIGACTION}

Change-Id: I7fac9a894e319671e12bfa7430984ca1cf24da33

10 years agoMessage type for PM_SRV_KILL
Lionel Sambuc [Tue, 13 May 2014 16:50:59 +0000 (18:50 +0200)]
Message type for PM_SRV_KILL

Change-Id: I2d74b68db2d006dd375732a7932f20c2cf6a342a

10 years agoMessage type for PM_SIG{RETURN,SUSPEND,PROCMASK}
Lionel Sambuc [Tue, 13 May 2014 16:29:11 +0000 (18:29 +0200)]
Message type for PM_SIG{RETURN,SUSPEND,PROCMASK}

Change-Id: Id20352db47892eb6b870ea64ba52b3b1a293cbaa

10 years agoMessage type for PM_EXIT
Lionel Sambuc [Tue, 13 May 2014 15:33:27 +0000 (17:33 +0200)]
Message type for PM_EXIT

Change-Id: Ie78768d95358a701268129587074a48493cf5bbc

10 years agolibsys/sef.c: cleanup around sef_exit
Lionel Sambuc [Tue, 13 May 2014 15:26:56 +0000 (17:26 +0200)]
libsys/sef.c: cleanup around sef_exit

 - use weak_alias for _exit and __exit instead of stub functions
 - remove fallback on PM_EXIT, as sys_exit can't fail, and we busy loop
   afterwards if that fails too. There is no reason that a PM_EXIT would
   work for a driver or server when sys_exit failed anyway.

Change-Id: I0327fb5c6fba25687cc9dc99fbf9c6d4db7d26e8

10 years agolibminixfs: fix assert
Ben Gras [Wed, 21 May 2014 17:32:39 +0000 (19:32 +0200)]
libminixfs: fix assert

Came across this bug.

 . setcache assert should be when block currently isn't in use,
   as setcache happens when buf becomes unused

10 years agoError checking for USB interrupt transfer
Wojciech Zajac [Mon, 2 Jun 2014 14:09:05 +0000 (16:09 +0200)]
Error checking for USB interrupt transfer

10 years agominix/dmap.h: Add USB device major range
Lionel Sambuc [Tue, 3 Jun 2014 08:11:48 +0000 (10:11 +0200)]
minix/dmap.h: Add USB device major range

Change-Id: Ic7fdba4f71e55c8a7c0477ec9ec61aa7fa85a391

10 years agoInitial interrupt URBs support
Wojciech Zajac [Fri, 30 May 2014 12:58:16 +0000 (14:58 +0200)]
Initial interrupt URBs support

10 years agoWeatherStation: slight update
Lionel Sambuc [Wed, 28 May 2014 15:14:21 +0000 (17:14 +0200)]
WeatherStation: slight update

 - Replaced the use of string.find by string.match, as it was not
   working as expected with the new lua interpretor.

 - Slight simplification of extract_value as we now can use a full-blown
   regular expression.

Change-Id: I1d7df66a272120cd10aa40f8e9326057b9709e3d

10 years agoFix ARM floating point for services
Lionel Sambuc [Wed, 28 May 2014 13:30:34 +0000 (15:30 +0200)]
Fix ARM floating point for services

Change-Id: Ic5772a7a78ea13ab6bb8db3ffd7f0906fd1380cf

10 years agoVolatile keyword fix for MUSB reset loop.
Wojciech Zajac [Wed, 28 May 2014 10:48:27 +0000 (12:48 +0200)]
Volatile keyword fix for MUSB reset loop.

10 years agousb:Adding usb enumeration.
Kees Jongenburger [Mon, 26 May 2014 14:47:56 +0000 (16:47 +0200)]
usb:Adding usb enumeration.

usbd update from JPEmbedded

Change-Id: I4098b29a3188abe7110d59f0746ea40ac5818bbf

http://gerrit.minix3.org/#/c/2698/

10 years agousbd:fix get_bp workaround
Kees Jongenburger [Mon, 26 May 2014 14:47:55 +0000 (16:47 +0200)]
usbd:fix get_bp workaround

Change-Id: I6967dc515e3da4330503eb716e8f0165df71b8f1

http://gerrit.minix3.org/#/c/2697/

10 years agoarm:build and install usbd by default.
Kees Jongenburger [Mon, 26 May 2014 14:47:54 +0000 (16:47 +0200)]
arm:build and install usbd by default.

Change-Id: I3f7a5bf5d4b75ba820297b0d5fb4447e5126e641

http://gerrit.minix3.org/#/c/2696/

10 years agoarm:if present start usbd
Kees Jongenburger [Mon, 26 May 2014 14:47:53 +0000 (16:47 +0200)]
arm:if present start usbd

Change-Id: Ide4079b993f9525d09a6a42dfb09b958dc546942

http://gerrit.minix3.org/#/c/2695/

10 years agousb:add devmand usb_storage startup script.
Kees Jongenburger [Mon, 26 May 2014 14:47:52 +0000 (16:47 +0200)]
usb:add devmand usb_storage startup script.

Change-Id: Ied194729ea168e8b2cc03d3b808da01860f0eac5

http://gerrit.minix3.org/#/c/2694/