#
21b533d4 |
|
24-Jul-2023 |
PulkoMandy <pulkomandy@pulkomandy.tk> |
Bootloader FAT: remove unused variables The "longNameValid" variable already indicates if a long name is present and valid, and it is correctly handled, with the short name used as a fallback if the long name is either not present, or not encoded correctly. The "hasLongName" variable is useless since long names are already handled. The "partial" variable indeed indicates a partial read was done. There is nothing to do with that info, the read is already complete at this point and the correct data is read and returned to the caller. So I don't see why we should keep this variable. The "count" variable seems to serve no purpose and is easy to re-add if someone ever has a need for it. Change-Id: Ic7eb7f34a49243ecdb5dd3c6b29c3b90f3bece10 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6739 Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
|
#
b49dd60c |
|
07-Nov-2015 |
Jérôme Duval <jerome.duval@gmail.com> |
Drop namespace std after 95d4ed6778c138150a29.
|
#
95d4ed67 |
|
07-Nov-2015 |
Jonathan Schleifer <js@webkeks.org> |
Add missing "using std::nothrow"
|
#
3aeed660 |
|
07-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
include strings.h where appriopriate... instead or additionally to string.h, in preparation for functions move. * moves str[n]casecmp() functions and others to strings.h. * strings.h doesn't include string.h anymore. * this solves #10949
|
#
7f0b39a7 |
|
09-Nov-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
CID 991479 Out-of-bounds access
|
#
4b723e3f |
|
06-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
boot loader: Almost removed use of kernel_cpp.h. * For some reason that is beyond me, fat/CachedBlock.cpp needs this header, or else building the boot loader fails.
|
#
cbc85916 |
|
19-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add boot loader packagefs support * Add pread(). * Add Node::ReadLink() to read a symbolic link path. * Add Directory::LookupDontTraverse() and make Lookup() non-abstract. Lookup() is implemented via LookupDontTraverse() and Node::ReadLink(). * Adjust all FS implementations accordingly. * Add a packagefs implementation. Unlike other FS implementations it isn't a pseudo-module, but provides a function to explicitly mount a package file (packagefs_mount_file()). * Finish BootVolume::SetTo() implementation, mounting the package file and replacing fSystemDirectory. Now the boot loader can load the kernel and boot modules from a packaged system. The kernel boots up to the point where the boot volume is mounted.
|
#
085cf27b |
|
16-Mar-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added Directory::CreateFile() which can be implemented by file systems to support file creation. * Extended open() and open_from() to support O_CREAT to create files. open_from() has got an optional "permissions" parameter for that purpose. * Fixed errno. It would crash when being used. Also changed the POSIX functions to return their error code via errno as expected. * Added writev(). * FAT file system: - Added support for reading long file names. - Added support for creating files (8.3 name only) and writing to them. - Enabled scanning partitions with it. * Boot loader menu: - Enabled the "Reboot" menu item unconditionally. - Added "Save syslog from previous session" menu item to the debug menu. Currently saving the syslog to FAT32 volumes is supported. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35882 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d0eaec30 |
|
01-Feb-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Fix more operator precedence errors. These do not do what you'd expect at first sight. The comparison operator takes precedence over the binary ones. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29121 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b5e67ab6 |
|
16-Oct-2008 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fix build for gcc4 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28160 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fcbcb00e |
|
15-Oct-2008 |
François Revol <revol@free.fr> |
Turn off debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28157 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2cf4975b |
|
15-Oct-2008 |
François Revol <revol@free.fr> |
Add FAT32 support. This allows the bootloader to find a BFS image file (currently named BEOS\IMAGE.BE) and start booting for it, until the kernel tries to mount the boot partition. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28156 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3aeed6607cd07762c0e709633c012b3a632dbad9 |
|
07-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
include strings.h where appriopriate... instead or additionally to string.h, in preparation for functions move. * moves str[n]casecmp() functions and others to strings.h. * strings.h doesn't include string.h anymore. * this solves #10949
|
#
7f0b39a7916d808b09d5ce4bc1cb1e233c80d37f |
|
09-Nov-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
CID 991479 Out-of-bounds access
|
#
4b723e3fb86ecc8027728c6c26d782964419f573 |
|
06-May-2013 |
Axel Dörfler <axeld@pinc-software.de> |
boot loader: Almost removed use of kernel_cpp.h. * For some reason that is beyond me, fat/CachedBlock.cpp needs this header, or else building the boot loader fails.
|
#
cbc85916fb5c35022ba6e52eb5b55a93271b1fb6 |
|
19-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Add boot loader packagefs support * Add pread(). * Add Node::ReadLink() to read a symbolic link path. * Add Directory::LookupDontTraverse() and make Lookup() non-abstract. Lookup() is implemented via LookupDontTraverse() and Node::ReadLink(). * Adjust all FS implementations accordingly. * Add a packagefs implementation. Unlike other FS implementations it isn't a pseudo-module, but provides a function to explicitly mount a package file (packagefs_mount_file()). * Finish BootVolume::SetTo() implementation, mounting the package file and replacing fSystemDirectory. Now the boot loader can load the kernel and boot modules from a packaged system. The kernel boots up to the point where the boot volume is mounted.
|
#
085cf27b40c06dc45f633f33c41258f32bec3a23 |
|
16-Mar-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added Directory::CreateFile() which can be implemented by file systems to support file creation. * Extended open() and open_from() to support O_CREAT to create files. open_from() has got an optional "permissions" parameter for that purpose. * Fixed errno. It would crash when being used. Also changed the POSIX functions to return their error code via errno as expected. * Added writev(). * FAT file system: - Added support for reading long file names. - Added support for creating files (8.3 name only) and writing to them. - Enabled scanning partitions with it. * Boot loader menu: - Enabled the "Reboot" menu item unconditionally. - Added "Save syslog from previous session" menu item to the debug menu. Currently saving the syslog to FAT32 volumes is supported. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35882 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d0eaec308617fe6623df22fb2e41308517c5d7cb |
|
01-Feb-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Fix more operator precedence errors. These do not do what you'd expect at first sight. The comparison operator takes precedence over the binary ones. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29121 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b5e67ab6fb0176d7aa263d4c3571dbbb10724e78 |
|
16-Oct-2008 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Fix build for gcc4 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28160 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fcbcb00e18ab8c9c1811d6da894ee9ea8c3ad0d8 |
|
15-Oct-2008 |
François Revol <revol@free.fr> |
Turn off debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28157 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2cf4975b4b706bcfb741d06d0e8deb8a4783a3f6 |
|
15-Oct-2008 |
François Revol <revol@free.fr> |
Add FAT32 support. This allows the bootloader to find a BFS image file (currently named BEOS\IMAGE.BE) and start booting for it, until the kernel tries to mount the boot partition. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28156 a95241bf-73f2-0310-859d-f6bbb57e9c96
|