wake-0 / fhvOS

This repository contains an os for the arm cortex a8 in combination with beaglebone.
GNU General Public License v2.0
7 stars 1 forks source link

[FileManager] Implement FileManager #74

Closed trylimits closed 9 years ago

trylimits commented 9 years ago

In Bug #58 we discussed the concept of a FileManager which is responsible for managing the current working directory and more. Generally, the FileManager should wrap the access to the file system, therefore opening and reading files should also be done by using the FileManager.

Functions which should be implemented:

1.) FileManagerOpenExecutable(char* name, boolean_t searchInGlobalBinPath) 2.) FileManagerReadFile(char* name) 3.) FileManagerGetCWD(..) 4.) FileManagerChangeCWD(..) 5.) FileManagerListFolderContent(..)

@mpe5651 @Blackjack92 Do you agree with that concept? Suggestions?

(Like Explorer)

trylimits commented 9 years ago

I have implemented a function which executes a program. Atm. we should also allow hard-coded programs which are compiled into the kernel, see hardcoded_programs.h as we do not have access to external storage yet.

wake-0 commented 9 years ago

OpenExecutable should provide a parameter to specify if the newly started program should block or fork the old process.

trylimits commented 9 years ago

Improved File Manager: 1.) Global bin path is searched first for programs 2.) Loader gets the program's name to propagate it to the Process Manager

File Manager DONE.