Lionel Sambuc
b694a09a53
Message type for SCHEDULING_NO_QUANTUM, SYS_SCHEDULE
...
Change-Id: Ia0f2689067159b4d821092d4ac60efa75e396f7c
2014-07-28 17:05:42 +02:00
Lionel Sambuc
8ba159d242
Message type for SYS_SCHEDCTL
...
Change-Id: Iaccbac1ef99124bc494b835e0d0cf999ea2e3f5a
2014-07-28 17:05:42 +02:00
Lionel Sambuc
b90d99dab3
Message type for PM_{KILL,SIGACTION}
...
Change-Id: I7fac9a894e319671e12bfa7430984ca1cf24da33
2014-07-28 17:05:42 +02:00
Lionel Sambuc
dbfa59164b
Message type for PM_SRV_KILL
...
Change-Id: I2d74b68db2d006dd375732a7932f20c2cf6a342a
2014-07-28 17:05:42 +02:00
Lionel Sambuc
9a4c1520cf
Message type for PM_SIG{RETURN,SUSPEND,PROCMASK}
...
Change-Id: Id20352db47892eb6b870ea64ba52b3b1a293cbaa
2014-07-28 17:05:42 +02:00
Lionel Sambuc
6495d409d6
Message type for PM_EXIT
...
Change-Id: Ie78768d95358a701268129587074a48493cf5bbc
2014-07-28 17:05:42 +02:00
Lionel Sambuc
f88b0001ba
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
2014-07-28 17:05:41 +02:00
Ben Gras
a65d06ef80
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
2014-07-28 17:05:41 +02:00
Wojciech Zajac
a42c8f6c41
Error checking for USB interrupt transfer
2014-07-28 17:05:41 +02:00
Lionel Sambuc
e14d4863b9
minix/dmap.h: Add USB device major range
...
Change-Id: Ic7fdba4f71e55c8a7c0477ec9ec61aa7fa85a391
2014-07-28 17:05:41 +02:00
Wojciech Zajac
fc49538d86
Initial interrupt URBs support
2014-07-28 17:05:41 +02:00
Lionel Sambuc
efa169276f
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
2014-07-28 17:05:40 +02:00
Lionel Sambuc
ecad34966a
Fix ARM floating point for services
...
Change-Id: Ic5772a7a78ea13ab6bb8db3ffd7f0906fd1380cf
2014-07-28 17:05:40 +02:00
Wojciech Zajac
5308df03ed
Volatile keyword fix for MUSB reset loop.
2014-07-28 17:05:40 +02:00
Kees Jongenburger
880ae44a72
usb:Adding usb enumeration.
...
usbd update from JPEmbedded
Change-Id: I4098b29a3188abe7110d59f0746ea40ac5818bbf
http://gerrit.minix3.org/#/c/2698/
2014-07-28 17:05:40 +02:00
Kees Jongenburger
146e5a99e4
usbd:fix get_bp workaround
...
Change-Id: I6967dc515e3da4330503eb716e8f0165df71b8f1
http://gerrit.minix3.org/#/c/2697/
2014-07-28 17:05:40 +02:00
Kees Jongenburger
9cc744ad52
arm:build and install usbd by default.
...
Change-Id: I3f7a5bf5d4b75ba820297b0d5fb4447e5126e641
http://gerrit.minix3.org/#/c/2696/
2014-07-28 17:05:40 +02:00
Kees Jongenburger
489a81f55d
arm:if present start usbd
...
Change-Id: Ide4079b993f9525d09a6a42dfb09b958dc546942
http://gerrit.minix3.org/#/c/2695/
2014-07-28 17:05:40 +02:00
Kees Jongenburger
b32ff391d3
usb:add devmand usb_storage startup script.
...
Change-Id: Ied194729ea168e8b2cc03d3b808da01860f0eac5
http://gerrit.minix3.org/#/c/2694/
2014-07-28 17:05:39 +02:00
Kees Jongenburger
27bb595b9d
build:always build and install the usb mass storage driver.
...
Change-Id: Ib54902a21443bd110bfc7498c00776831cbdefaf
http://gerrit.minix3.org/#/c/2693/
2014-07-28 17:05:39 +02:00
Kees Jongenburger
47c191720b
arm:no longer disable caches in the bootloader.
...
Change-Id: If586c5ba19bd61776e92ff232dd1e9be7746d7be
http://gerrit.minix3.org/#/c/2692/
2014-07-28 17:05:39 +02:00
Kees Jongenburger
902045e94e
build:indenting
...
Change-Id: I85840455ab0ff94c33a2abe342967f6248d1e45f
http://gerrit.minix3.org/#/c/2691/
2014-07-28 17:05:39 +02:00
Kees Jongenburger
dfb2b8398d
usb:adding usb mass storage driver.
...
Change-Id: I9e431d56eddfeec21413c290b2fa7ad35b566f6b
http://gerrit.minix3.org/#/c/2690/
2014-07-28 17:05:39 +02:00
Kees Jongenburger
ed3391fd23
arm:adding the usbd source code.
...
Change-Id: Ia3c50a8c5e11bf20100354de266913112cc236f9
http://gerrit.minix3.org/#/c/2689/
2014-07-28 17:05:38 +02:00
Kees Jongenburger
3553b1a2f5
arm:also start devmand on ARM.
...
Change-Id: Iceffd21d23efa45110a42ce2ab471c15cd6edf66
http://gerrit.minix3.org/#/c/2688/
2014-07-28 17:05:38 +02:00
Kees Jongenburger
c4a8cb3d4b
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/
2014-07-28 17:05:38 +02:00
Kees Jongenburger
51b1cfd6ea
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/
2014-07-28 17:05:38 +02:00
Kees Jongenburger
a1d08ebddc
Adding headers for libdde (not strictly part of ddekit)
...
Change-Id: I87ad9df2034e70eea857d436862ab89d5c0c707f
http://gerrit.minix3.org/#/c/2559/
2014-07-28 17:05:38 +02:00
Lionel Sambuc
048d0f0d62
Message type for PM_EXEC
...
Change-Id: I6738716ba835d6196519056bb77afa8ec99f122a
2014-07-28 17:05:38 +02:00
Lionel Sambuc
e1986cd160
Message type for PM_MCONTEXT
...
Change-Id: I4ab9fc23ce8d78e03582580feba5ba96541f0f7e
2014-07-28 17:05:37 +02:00
Lionel Sambuc
ca31c1caae
Message type for PM_GETSID
...
Change-Id: Ife3f9f6a7b6190baca6f379f7d3c36388baf6904
2014-07-28 17:05:37 +02:00
Lionel Sambuc
f63d2f0eaf
Message type for PM_GETPID
...
Change-Id: Ib3ff13ad9c9e30bde08d4cacb6905955ace73924
2014-07-28 17:05:37 +02:00
Lionel Sambuc
cc852e7783
Message type for PM_SET{,E}GID
...
Change-Id: I489d9290553b28361344e0cfd59c31e7e672c22c
2014-07-28 17:05:37 +02:00
Lionel Sambuc
a6c5528e96
Message type for PM_SET{,E}UID
...
Change-Id: I5421646713e74562400e705b4a0f8b99f1325d64
2014-07-28 17:05:37 +02:00
Lionel Sambuc
b9939b3ed8
Message type for PM_GETGID
...
Change-Id: If3f788b0ad5a7389a62ecec3da78d6d71090f9a8
2014-07-28 17:05:37 +02:00
Lionel Sambuc
ba70f58845
Message type for PM_GETUID
...
Change-Id: I9a04f5a8b0e9099e0df543bcf76b2610a8803b9a
2014-07-28 17:05:36 +02:00
Lionel Sambuc
70a744da37
Message type for PM_REBOOT
...
Change-Id: I8de1b0de1a4c79f60a7df4720943ed9d0a19725c
2014-07-28 17:05:36 +02:00
Lionel Sambuc
c3629bba0b
Message type for PM_GROUPS
...
Change-Id: I9e3b784143dd0294a8aad27e3cc588e5b57dabfc
2014-07-28 17:05:36 +02:00
Lionel Sambuc
865f761364
Message type for PM_{S,G}ET_PRIORITY
...
Change-Id: I3cf77f786751ca7e5a8cd13b8716b228d0fbf7fe
2014-07-28 17:05:36 +02:00
Lionel Sambuc
594521214a
Message type for PM_SRV_FORK
...
Change-Id: I0e112da380805d40901a4041fd82da6e842e1f9b
2014-07-28 17:05:36 +02:00
Lionel Sambuc
7fb63c6182
Message type for PM_EXEC_RESTART
...
Change-Id: I0b7abd7b20a56a7982bccd0f677c1cf9d6bf7d3b
2014-07-28 17:05:36 +02:00
Lionel Sambuc
aeedd5c718
Message type for PM_EXEC_NEW
...
Change-Id: Idff5dc394d8daf4cb0c40d65cfdf2d54c2f9acaa
2014-07-28 17:05:36 +02:00
Lionel Sambuc
a297e52a32
Message type for PM_SYSUNAME
...
Change-Id: I58bd2987393ea56e1886fbce70b4b2c26af4ef2b
2014-07-28 17:05:35 +02:00
Lionel Sambuc
345b3b5114
Message type for PM_PTRACE
...
Change-Id: I19bbd5faa5c7511cda0239109b2ac55869c47b96
2014-07-28 17:05:35 +02:00
Lionel Sambuc
a5ed845b20
Message type for PM_ITIMER
...
Change-Id: I191ba9630028d9822f6a2fd4d7d3f461eb4d1493
2014-07-28 17:05:35 +02:00
Lionel Sambuc
1ae60bd2e8
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
2014-07-28 17:05:35 +02:00
Lionel Sambuc
ee2f1ee4cd
Message type for PM_WAITPID
...
Change-Id: Ic2637a30418b9c780504f21a93ee80cef09ee1f2
2014-07-28 17:05:35 +02:00
Lionel Sambuc
de7aa3340b
Message type for PM_GETEPINFO
...
Change-Id: I275f5c50d433fa400c5eddbc85dd3df8eb5dcb90
2014-07-28 17:05:35 +02:00
Lionel Sambuc
a1c31f335c
Message type for PM_GETPROCNR
...
Change-Id: I4fcd682f78255afc1fdc0160fb6f1a3d2fe05d2e
2014-07-28 17:05:34 +02:00
Lionel Sambuc
7031438f58
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
2014-07-28 17:05:34 +02:00