Commit Graph

35 Commits

Author SHA1 Message Date
Doczom
2160c0e6f7 [KERNEL] Added the "FsAdd" function for drivers on file systems.
TODO: added functions for lock\unlock partition and read\write sectors for user programs 

git-svn-id: svn://kolibrios.org@9894 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-21 18:07:32 +00:00
Marat Zakiyanov
f8da95f800 exFAT file system support (only read)
git-svn-id: svn://kolibrios.org@9734 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-03-03 22:00:47 +00:00
Magomed Kostoev (mkostoevr)
743ff0dfff [KERNEL] Update documentation of disk.inc
git-svn-id: svn://kolibrios.org@9404 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-05 15:51:25 +00:00
b6f769987c kernel: Check for base+len overflow in is_region_userspace
git-svn-id: svn://kolibrios.org@9045 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 09:22:44 +00:00
6beb99fc30 kernel: Implement sf70.5 for default FS stub
Only get partition size, not its label.

Information of a block device and FS on it should be reported by
different system calls.

git-svn-id: svn://kolibrios.org@9043 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 03:20:12 +00:00
41d12fe88a docs: Fix adjust_cache_size prototype: it takes userdata too.
git-svn-id: svn://kolibrios.org@7727 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-02-21 02:41:21 +00:00
c780425437 Relax Protective MBR checks.
git-svn-id: svn://kolibrios.org@7546 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-09 21:18:56 +00:00
02da1fd4f3 Fix for GPT partitions scan.
GPT partition entry array (GPEA) has 128 entries by default, unused ones
must be zeroed. Due to memory corruption GPEA contained non-zero data of
first sectors of partitions. This led to fake partitions detected which
were mostly filtered out by their start:length and thus didn't show up.
Pass ebx=three-sector-sized buffer to disk_add_partition as expected.

git-svn-id: svn://kolibrios.org@7270 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-05-05 13:50:04 +00:00
pathoswithin
cb0c6cee9a sysfunction 70.10 new name validation
git-svn-id: svn://kolibrios.org@7040 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-03 10:27:20 +00:00
pathoswithin
fc631064ea New sysfunction 70.10 "rename/move"
git-svn-id: svn://kolibrios.org@6917 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-08 10:03:01 +00:00
pathoswithin
b27bd68162 sysfunction 70.5: get device size
git-svn-id: svn://kolibrios.org@6875 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-06 13:45:37 +00:00
pathoswithin
201a5bf041 fs: prevalidation for root folder, code despaghettizing
git-svn-id: svn://kolibrios.org@6845 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-22 16:19:39 +00:00
e828b2c8b5 Enable capacity checks for Protective MBR and GPT
git-svn-id: svn://kolibrios.org@6844 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-21 00:21:05 +00:00
56b3fa9987 Fix parsing of Protective MBR and GPT headers
git-svn-id: svn://kolibrios.org@6828 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-18 21:05:31 +00:00
34df6be0da Support GUID Partition Table (GPT) disk layout
git-svn-id: svn://kolibrios.org@6827 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-14 21:28:27 +00:00
pathoswithin
1048443a57 one-string path for filesystems, some cleaning
git-svn-id: svn://kolibrios.org@6468 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-02 20:28:34 +00:00
pathoswithin
ee14b53b33 sysfunction 70 cleaning
git-svn-id: svn://kolibrios.org@6464 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-07-29 11:12:13 +00:00
Yogev Ezra
76a0cbdfe5 Change copyright year in kernel and drivers to 2015. No code changes.
git-svn-id: svn://kolibrios.org@5363 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 20:10:22 +00:00
CleverMouse
9d022746fd disk cache: support for sector sizes other than 512 bytes
git-svn-id: svn://kolibrios.org@5089 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-03 12:11:19 +00:00
CleverMouse
a6e24bafb0 disk cache: new 64-bit multi-sector interface for file systems & prefetching in legacy interface
git-svn-id: svn://kolibrios.org@4437 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-10 11:56:03 +00:00
CleverMouse
1842871f8f support for PnP disks, part 5: FAT12, ramdisk, floppies
git-svn-id: svn://kolibrios.org@4273 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-21 16:07:16 +00:00
0ad6f9623f basic xfs read support
git-svn-id: svn://kolibrios.org@3913 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-17 21:28:18 +00:00
CleverMouse
d59bc76c6d support for PnP disks, part 4: move NTFS,EXT2,/hd*,/bd* to the new interface
git-svn-id: svn://kolibrios.org@3742 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-01 16:29:16 +00:00
CleverMouse
1a7694e453 malloc/free do not change ebx now
git-svn-id: svn://kolibrios.org@3681 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-18 10:33:19 +00:00
CleverMouse
a77e7ee15d make macro for push imm/pop dst
git-svn-id: svn://kolibrios.org@3598 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-04 11:14:37 +00:00
CleverMouse
6edb329ec0 replace align with explicit padding (align in struct is silently ignored after r2381)
git-svn-id: svn://kolibrios.org@3460 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-09 11:40:03 +00:00
CleverMouse
edce644b61 make DiskDel save ebx
git-svn-id: svn://kolibrios.org@3202 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-28 12:49:55 +00:00
CleverMouse
de94fe74ac make caching for PnP disks really work
git-svn-id: svn://kolibrios.org@3164 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-14 09:24:25 +00:00
CleverMouse
46ebef439c support for PnP disks, part 3: FAT16/FAT32
git-svn-id: svn://kolibrios.org@2643 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-23 09:19:34 +00:00
Marat Zakiyanov (Mario79)
2f699083c4 1) Correcting information about copiright
2) VESA draw the small speedup

git-svn-id: svn://kolibrios.org@2455 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-13 16:51:57 +00:00
hidnplayr
58fe32f210 Usage of struct.inc from fasm in trunk kernel.
git-svn-id: svn://kolibrios.org@2381 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-22 15:46:09 +00:00
CleverMouse
037099f50d Style corrected for new rules, no semantic changes
git-svn-id: svn://kolibrios.org@2288 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-14 21:38:50 +00:00
killerkirill
02004e9c11 Minor changes to English comments - grammatical, etc.
git-svn-id: svn://kolibrios.org@2257 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-03 17:52:42 +00:00
CleverMouse
a632fb94b0 fix virtual root enumeration broken in r2129
git-svn-id: svn://kolibrios.org@2145 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-02 19:03:49 +00:00
CleverMouse
57633abf05 support for PnP disks, part 2: adapt current caching
git-svn-id: svn://kolibrios.org@2140 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-31 16:26:51 +00:00