]>
Zhao Yanbai Git Server - minix.git/log
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
Lionel Sambuc [Mon, 26 May 2014 09:42:00 +0000 (11:42 +0200)]
Message type for SYS_FORK
Change-Id: Ibcf4fdfec51129b2be3d667ec07aea0f42e3fd89
Lionel Sambuc [Mon, 26 May 2014 08:41:06 +0000 (10:41 +0200)]
Message type for SYS_{S,G}ETMCONTEXT
Change-Id: I388eee89ba8cc6e6603b3193297b81179c1e6975
Lionel Sambuc [Fri, 23 May 2014 10:53:48 +0000 (12:53 +0200)]
Message type for SYS_SETGRANT
Change-Id: I542f839d7992d3348fef19c51bfcb58bb408d9f4
Lionel Sambuc [Fri, 23 May 2014 09:08:21 +0000 (11:08 +0200)]
Message type for SYS_PRIVCTL
Change-Id: I5bf4d88ca571f2a701e426aae67c6b04705ce511
Lionel Sambuc [Fri, 23 May 2014 08:18:35 +0000 (10:18 +0200)]
Message type for SYS_STATECTL
Change-Id: I19443aa018d6c670e2b44f1f98bce2fb297a7f21
Lionel Sambuc [Fri, 23 May 2014 08:09:09 +0000 (10:09 +0200)]
Message type for SYS_TRACE
Change-Id: Ib579fab949b76797ea7d6cb5ff4ae3d9b32f630c
Lionel Sambuc [Thu, 22 May 2014 13:31:51 +0000 (15:31 +0200)]
Message type for SYS_SETTIME
Change-Id: I10c2c27c0c9749b49d70735175e530b4341440dc
Lionel Sambuc [Thu, 22 May 2014 13:30:51 +0000 (15:30 +0200)]
Message type for SYS_STIME
Change-Id: Ic4401e736bb66960e2ea4b30f5e1946dd93fd76e
Lionel Sambuc [Thu, 22 May 2014 09:32:14 +0000 (11:32 +0200)]
Message type for SYS_TIMES
Change-Id: Ia408aa7d76c47da9f600a724f82b347ba6ac641b
Lionel Sambuc [Thu, 22 May 2014 08:46:02 +0000 (10:46 +0200)]
Message type for SYS_GETINFO and SYS_GETWHOAMI
Change-Id: I9cea3f65b29e30555c8b47865e12c7d19a74a3c3
Lionel Sambuc [Thu, 22 May 2014 08:05:44 +0000 (10:05 +0200)]
Message type for SYS_VUMAP
Change-Id: I9accdf887c119566429ab0803436b068729bcd85
Lionel Sambuc [Wed, 21 May 2014 15:54:35 +0000 (17:54 +0200)]
Message type for SYS_UMAP{,_REMOTE}
Change-Id: Id46df10aee6189a0d3673013b498c7cc79edcc7e
Lionel Sambuc [Wed, 21 May 2014 15:21:26 +0000 (17:21 +0200)]
Message type for SYS_{VIR,PHYS}COPY
Change-Id: I15d1acf9992d1b799f5687adffb186875fcd0c84
Lionel Sambuc [Wed, 21 May 2014 14:59:30 +0000 (16:59 +0200)]
Message type for SYS_IOPENABLE
Change-Id: I8b089c30c7f9ae75e404f63495bbb199d583f1cd
Lionel Sambuc [Wed, 21 May 2014 14:52:18 +0000 (16:52 +0200)]
Message type for SYS_ABORT
Change-Id: Ic24a4779cc7955cb94f81fec58a358057ca85cb1
Lionel Sambuc [Wed, 21 May 2014 14:44:37 +0000 (16:44 +0200)]
Message type for SYS_IRQCTL
Change-Id: Idef5a1e49aea3eea690e2a9bf046348766a8b944
Lionel Sambuc [Wed, 21 May 2014 08:52:39 +0000 (10:52 +0200)]
Message type for SYS_SETALARM
Change-Id: I2c2ee24c19085cbd1e7ffba7b2db714b2561ff17
Lionel Sambuc [Wed, 21 May 2014 08:45:19 +0000 (10:45 +0200)]
Message type for SYS_VDEVIO
Change-Id: I62ceb5d487c5acd08cb100f340dd387e733180b4
Lionel Sambuc [Tue, 20 May 2014 11:56:35 +0000 (13:56 +0200)]
Message type for SYS_SDEVIO
Change-Id: I2d60a2ccad325236998a7f9af9b4e82fe0c8131f
Lionel Sambuc [Tue, 20 May 2014 11:18:39 +0000 (13:18 +0200)]
Message type for SYS_MEMSET
Change-Id: Icebd04e0c53d9653301550bb598df8719aa66ada
Lionel Sambuc [Tue, 20 May 2014 09:19:27 +0000 (11:19 +0200)]
Message type for DL_{READ,WRITE}V_S
Change-Id: I6e25e8e994b0bdec2bb54f50e6db08e6e935c819
Lionel Sambuc [Tue, 20 May 2014 07:13:26 +0000 (09:13 +0200)]
Message type for DL_TASK_REPLY
Change-Id: I7f15f8f874366e93866f53d7a60a0c7ef9c98636
Lionel Sambuc [Mon, 19 May 2014 17:40:12 +0000 (19:40 +0200)]
Message type for DL_GETSTAT_S
Change-Id: Ia5c2bf7a3d796a6a0463af70059e82fddd43d69c
Lionel Sambuc [Mon, 19 May 2014 17:19:14 +0000 (19:19 +0200)]
Message type for DL_CONF{,_REPLY}
Change-Id: Ib0e435875b6f5cacdcbc8593f9a887b0a4c472c1
Lionel Sambuc [Mon, 19 May 2014 09:37:26 +0000 (11:37 +0200)]
Message type for {PM,VFS,RS,DS}_GETSYSINFO
Change-Id: I64d89f8a1c4704d0d0f420eb1e434cc96fd6351a
Lionel Sambuc [Mon, 19 May 2014 09:25:52 +0000 (11:25 +0200)]
Message type for SVRCTL
Change-Id: Ibdb9edb9878e06cf2a641ffc3975f878a6e41dfb
Lionel Sambuc [Mon, 19 May 2014 09:18:20 +0000 (11:18 +0200)]
Message type for {PM,VFS,VM}_GETRUSAGE
Change-Id: I793d2e9fa8eb0562a46ccbd81aae3dbb517671cc
Lionel Sambuc [Mon, 19 May 2014 08:39:55 +0000 (10:39 +0200)]
Message type for INPUT_SETLEDS
Change-Id: I84ee6ee43d771409526468ce45f1ddc27e9ca986
Lionel Sambuc [Mon, 19 May 2014 08:18:55 +0000 (10:18 +0200)]
Message type for INPUT_EVENT
Change-Id: I50a815623ff4a9b6b0113000a798a3495c911ecf
Lionel Sambuc [Mon, 19 May 2014 07:39:57 +0000 (09:39 +0200)]
Message type for INPUT_CONF
Change-Id: Ib25bd7e9717f203316e303d4f5a411d314ce46ed
Lionel Sambuc [Mon, 19 May 2014 07:19:01 +0000 (09:19 +0200)]
Message type for RTCDEV_*
Change-Id: Ie4257e745e1d8b6a151934949f10c7fdb1ac4778
Lionel Sambuc [Thu, 15 May 2014 14:39:51 +0000 (16:39 +0200)]
Message type for BUSC_I2C_EXEC
Change-Id: I4b6e33df2dd70d40af4a2f2c899324a40107c56a
Lionel Sambuc [Thu, 15 May 2014 14:14:21 +0000 (16:14 +0200)]
Message type for BUSC_I2C_RESERVE
Change-Id: Iedc2615b41c65f826868a70448fb1143bd85670f
Lionel Sambuc [Thu, 15 May 2014 09:45:42 +0000 (11:45 +0200)]
Message type for BUSC_PCI_GET_BAR
Change-Id: I5cb21f09a2c80473101f8da3f435e4dcc3b05491
Lionel Sambuc [Wed, 14 May 2014 16:29:46 +0000 (18:29 +0200)]
Message type for SCHEDULING_STOP
Change-Id: I372c6b9146b459698a0cead68d7cdd53ea074d77
Lionel Sambuc [Wed, 14 May 2014 16:10:23 +0000 (18:10 +0200)]
Message type for SCHEDULING_SET_NICE
Change-Id: I4f8450b0de235627383035653ec58761fc7e3985
Lionel Sambuc [Wed, 14 May 2014 15:57:12 +0000 (17:57 +0200)]
Message type for SCHEDULING_{START,INHERIT}
Change-Id: Iad2b4079f72488ea3c3abef2b4a4fefe26ae9066
Lionel Sambuc [Wed, 14 May 2014 14:59:14 +0000 (16:59 +0200)]
Message type for SCHEDULING_NO_QUANTUM, SYS_SCHEDULE
Change-Id: Ia0f2689067159b4d821092d4ac60efa75e396f7c
Lionel Sambuc [Wed, 14 May 2014 14:39:00 +0000 (16:39 +0200)]
Message type for SYS_SCHEDCTL
Change-Id: Iaccbac1ef99124bc494b835e0d0cf999ea2e3f5a
Lionel Sambuc [Tue, 13 May 2014 17:02:12 +0000 (19:02 +0200)]
Message type for PM_{KILL,SIGACTION}
Change-Id: I7fac9a894e319671e12bfa7430984ca1cf24da33
Lionel Sambuc [Tue, 13 May 2014 16:50:59 +0000 (18:50 +0200)]
Message type for PM_SRV_KILL
Change-Id: I2d74b68db2d006dd375732a7932f20c2cf6a342a
Lionel Sambuc [Tue, 13 May 2014 16:29:11 +0000 (18:29 +0200)]
Message type for PM_SIG{RETURN,SUSPEND,PROCMASK}
Change-Id: Id20352db47892eb6b870ea64ba52b3b1a293cbaa
Lionel Sambuc [Tue, 13 May 2014 15:33:27 +0000 (17:33 +0200)]
Message type for PM_EXIT
Change-Id: Ie78768d95358a701268129587074a48493cf5bbc
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
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
Wojciech Zajac [Mon, 2 Jun 2014 14:09:05 +0000 (16:09 +0200)]
Error checking for USB interrupt transfer
Lionel Sambuc [Tue, 3 Jun 2014 08:11:48 +0000 (10:11 +0200)]
minix/dmap.h: Add USB device major range
Change-Id: Ic7fdba4f71e55c8a7c0477ec9ec61aa7fa85a391
Wojciech Zajac [Fri, 30 May 2014 12:58:16 +0000 (14:58 +0200)]
Initial interrupt URBs support
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
Lionel Sambuc [Wed, 28 May 2014 13:30:34 +0000 (15:30 +0200)]
Fix ARM floating point for services
Change-Id: Ic5772a7a78ea13ab6bb8db3ffd7f0906fd1380cf
Wojciech Zajac [Wed, 28 May 2014 10:48:27 +0000 (12:48 +0200)]
Volatile keyword fix for MUSB reset loop.
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/
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/
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/
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/
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/
Kees Jongenburger [Mon, 26 May 2014 14:47:51 +0000 (16:47 +0200)]
build:always build and install the usb mass storage driver.
Change-Id: Ib54902a21443bd110bfc7498c00776831cbdefaf
http://gerrit.minix3.org/#/c/2693/
Kees Jongenburger [Mon, 26 May 2014 14:47:50 +0000 (16:47 +0200)]
arm:no longer disable caches in the bootloader.
Change-Id: If586c5ba19bd61776e92ff232dd1e9be7746d7be
http://gerrit.minix3.org/#/c/2692/
Kees Jongenburger [Mon, 26 May 2014 14:47:49 +0000 (16:47 +0200)]
build:indenting
Change-Id: I85840455ab0ff94c33a2abe342967f6248d1e45f
http://gerrit.minix3.org/#/c/2691/
Kees Jongenburger [Mon, 26 May 2014 14:47:48 +0000 (16:47 +0200)]
usb:adding usb mass storage driver.
Change-Id: I9e431d56eddfeec21413c290b2fa7ad35b566f6b
http://gerrit.minix3.org/#/c/2690/
Kees Jongenburger [Mon, 26 May 2014 14:47:47 +0000 (16:47 +0200)]
arm:adding the usbd source code.
Change-Id: Ia3c50a8c5e11bf20100354de266913112cc236f9
http://gerrit.minix3.org/#/c/2689/
Kees Jongenburger [Mon, 26 May 2014 14:47:46 +0000 (16:47 +0200)]
arm:also start devmand on ARM.
Change-Id: Iceffd21d23efa45110a42ce2ab471c15cd6edf66
http://gerrit.minix3.org/#/c/2688/
Kees Jongenburger [Mon, 26 May 2014 14:47:45 +0000 (16:47 +0200)]
build:Only keep one ref to .settings and allow to override it.
Rreleasetools/arm_sdimage.sh uses a ".settings" file to allow to override
the defaults settings found in arm_sdimage. This change allows to use an
alternate file for this purpose. We figured out more programs (like eclipse)
use a ".settings" file.
One can tweak the settings files to use by settings the SETTINGS_MINIX
variable
SETTING_MINIX=.settings_minix
Change-Id: I57f5ca64d2ac27c9e015ab24b864b9a5f14c42fb
http://gerrit.minix3.org/#/c/2687/
Kees Jongenburger [Mon, 26 May 2014 14:47:44 +0000 (16:47 +0200)]
libminc:vsnprintf add support for NULL destination pointer.
-Add support for returning the amount of characters that would have been
written if the buffer was large enough.
-Protect code against NULL dereference.
Change-Id: Ifb2041f4757e8a99f255d94768ba19621bc0ea16
http://gerrit.minix3.org/#/c/2560/
Kees Jongenburger [Mon, 26 May 2014 14:47:43 +0000 (16:47 +0200)]
Adding headers for libdde (not strictly part of ddekit)
Change-Id: I87ad9df2034e70eea857d436862ab89d5c0c707f
http://gerrit.minix3.org/#/c/2559/
Lionel Sambuc [Tue, 13 May 2014 14:36:03 +0000 (16:36 +0200)]
Message type for PM_EXEC
Change-Id: I6738716ba835d6196519056bb77afa8ec99f122a
Lionel Sambuc [Tue, 13 May 2014 14:21:04 +0000 (16:21 +0200)]
Message type for PM_MCONTEXT
Change-Id: I4ab9fc23ce8d78e03582580feba5ba96541f0f7e
Lionel Sambuc [Tue, 13 May 2014 13:13:12 +0000 (15:13 +0200)]
Message type for PM_GETSID
Change-Id: Ife3f9f6a7b6190baca6f379f7d3c36388baf6904
Lionel Sambuc [Tue, 13 May 2014 13:05:05 +0000 (15:05 +0200)]
Message type for PM_GETPID
Change-Id: Ib3ff13ad9c9e30bde08d4cacb6905955ace73924
Lionel Sambuc [Tue, 13 May 2014 12:55:47 +0000 (14:55 +0200)]
Message type for PM_SET{,E}GID
Change-Id: I489d9290553b28361344e0cfd59c31e7e672c22c
Lionel Sambuc [Tue, 13 May 2014 12:52:48 +0000 (14:52 +0200)]
Message type for PM_SET{,E}UID
Change-Id: I5421646713e74562400e705b4a0f8b99f1325d64
Lionel Sambuc [Tue, 13 May 2014 12:47:11 +0000 (14:47 +0200)]
Message type for PM_GETGID
Change-Id: If3f788b0ad5a7389a62ecec3da78d6d71090f9a8
Lionel Sambuc [Tue, 13 May 2014 12:41:26 +0000 (14:41 +0200)]
Message type for PM_GETUID
Change-Id: I9a04f5a8b0e9099e0df543bcf76b2610a8803b9a
Lionel Sambuc [Tue, 13 May 2014 12:27:52 +0000 (14:27 +0200)]
Message type for PM_REBOOT
Change-Id: I8de1b0de1a4c79f60a7df4720943ed9d0a19725c
Lionel Sambuc [Tue, 13 May 2014 12:14:49 +0000 (14:14 +0200)]
Message type for PM_GROUPS
Change-Id: I9e3b784143dd0294a8aad27e3cc588e5b57dabfc
Lionel Sambuc [Tue, 13 May 2014 11:56:04 +0000 (13:56 +0200)]
Message type for PM_{S,G}ET_PRIORITY
Change-Id: I3cf77f786751ca7e5a8cd13b8716b228d0fbf7fe
Lionel Sambuc [Tue, 13 May 2014 11:35:40 +0000 (13:35 +0200)]
Message type for PM_SRV_FORK
Change-Id: I0e112da380805d40901a4041fd82da6e842e1f9b
Lionel Sambuc [Tue, 13 May 2014 11:22:52 +0000 (13:22 +0200)]
Message type for PM_EXEC_RESTART
Change-Id: I0b7abd7b20a56a7982bccd0f677c1cf9d6bf7d3b
Lionel Sambuc [Tue, 13 May 2014 10:07:25 +0000 (12:07 +0200)]
Message type for PM_EXEC_NEW
Change-Id: Idff5dc394d8daf4cb0c40d65cfdf2d54c2f9acaa
Lionel Sambuc [Tue, 13 May 2014 09:31:36 +0000 (11:31 +0200)]
Message type for PM_SYSUNAME
Change-Id: I58bd2987393ea56e1886fbce70b4b2c26af4ef2b
Lionel Sambuc [Tue, 13 May 2014 08:07:12 +0000 (10:07 +0200)]
Message type for PM_PTRACE
Change-Id: I19bbd5faa5c7511cda0239109b2ac55869c47b96
Lionel Sambuc [Tue, 13 May 2014 06:43:49 +0000 (08:43 +0200)]
Message type for PM_ITIMER
Change-Id: I191ba9630028d9822f6a2fd4d7d3f461eb4d1493
Lionel Sambuc [Mon, 12 May 2014 21:40:11 +0000 (23:40 +0200)]
Message type for PM_ time-related calls
- Message type for PM_CLOCK_SETTIME, PM_CLOCK_GETTIME,
PM_CLOCK_GETRES, PM_GETTIMEOFDAY, PM_SETTIME.
- Small adaptation, message only transfert sub-second time in
nanoseconds, instead of both nano- and micro-seconds. Conversion
is done in userland, as required.
Change-Id: Ie4a6e0c457cc12626e85d2102c086a95311cf3e7
Lionel Sambuc [Mon, 12 May 2014 18:53:02 +0000 (20:53 +0200)]
Message type for PM_WAITPID
Change-Id: Ic2637a30418b9c780504f21a93ee80cef09ee1f2
Lionel Sambuc [Mon, 12 May 2014 16:55:29 +0000 (18:55 +0200)]
Message type for PM_GETEPINFO
Change-Id: I275f5c50d433fa400c5eddbc85dd3df8eb5dcb90
Lionel Sambuc [Mon, 12 May 2014 16:54:52 +0000 (18:54 +0200)]
Message type for PM_GETPROCNR
Change-Id: I4fcd682f78255afc1fdc0160fb6f1a3d2fe05d2e
Lionel Sambuc [Mon, 12 May 2014 16:17:10 +0000 (18:17 +0200)]
Message type and related cleanup
- Intorduce and use a message type for VFS_GETDENTS, VFS_READ,
VFS_WRITE.
- Some cleanup to related functions where vir_bytes are replaced (and
casted to/from, in parameter definition and local variables as well.
This allow to see more clearly which function receives unsafe
(pointer) values, or at least values which are not supposed to be
valid in the address space of VFS. The current patch does so only
for the minimal amount of functions which are concerned with the
introduction of the new message type.
Change-Id: I0cdca97409c4016d02fae067b48bf55d37572c5c
Lionel Sambuc [Mon, 12 May 2014 15:16:00 +0000 (17:16 +0200)]
Message type for VFS_CLOSE
Change-Id: Iebe5f06b0dc95cdca61d95ab875d4fa1171f4f4c
Lionel Sambuc [Mon, 12 May 2014 15:05:32 +0000 (17:05 +0200)]
Message type for VFS_FCHMOD
Change-Id: I933e5b5a214aa9e7ddb6546b459ef40688e8ca04
Lionel Sambuc [Mon, 12 May 2014 14:58:19 +0000 (16:58 +0200)]
Message type for VFS_FCHDIR
Change-Id: Ie7de90d37a39e89f35438a5b01a9e878a06194b2
Lionel Sambuc [Mon, 12 May 2014 14:48:10 +0000 (16:48 +0200)]
Message type for VFS_{,F}CHOWN
Change-Id: Ieb8cef45bfab1e35ad8854038c72b59a4d7bbaad
Lionel Sambuc [Mon, 12 May 2014 14:42:43 +0000 (16:42 +0200)]
Message type for VFS_CREAT
Change-Id: Ica111f1b2005a6ff42dc3bb59ac3158a2e12678c