haiku/headers
Adrien Destugues cef80a1fb7 devfs: translate partition offsets in B_TRIM_DEVICE
Fixes bfs part of #10336. Untested on SATA (don't have a testing drive
to sacrifice) but working fine on SD/MMC.

This requires moving the copy from kernel to userland into the devfs. As
a result the code in the disk drivers becomes a bit simpler.

Also add some documentation for the common ioctls to implement for a
disk device.

Change-Id: Ie84b6a1d293828d33902a64b3c9d4b19aa6eacb1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3640
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2021-01-23 12:20:59 +00:00
..
build Fix definition of PAGESIZE and B_PAGE_SIZE 2021-01-08 12:02:16 +00:00
compatibility features.h: undef before define 2021-01-07 09:14:57 +00:00
config ARM64: Initial changes so we can compile GCC toolchain 2019-08-30 19:05:16 +00:00
cpp build fix. 2015-11-12 22:24:16 +01:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs agg: fix build. 2020-01-22 19:25:16 +01:00
os devfs: translate partition offsets in B_TRIM_DEVICE 2021-01-23 12:20:59 +00:00
posix Fix definition of PAGESIZE and B_PAGE_SIZE 2021-01-08 12:02:16 +00:00
private sd/mmc: Cleanup and improve reliability 2021-01-20 19:02:38 +00:00
tools Fix #12799: Enable elf symbol patching for Haiku 2016-10-30 10:42:24 +01:00