mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-08 05:49:15 +00:00
Userspace process creation stub
This commit is contained in:
23
include/exec.hpp
Normal file
23
include/exec.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
#ifndef __FENNIX_KERNEL_FILE_EXECUTE_H__
|
||||
#define __FENNIX_KERNEL_FILE_EXECUTE_H__
|
||||
|
||||
#include <types.h>
|
||||
|
||||
namespace Execute
|
||||
{
|
||||
enum ExStatus
|
||||
{
|
||||
OK,
|
||||
Unknown,
|
||||
InvalidFile,
|
||||
InvalidFileFormat,
|
||||
InvalidFileHeader,
|
||||
InvalidFileData,
|
||||
InvalidFileEntryPoint,
|
||||
InvalidFilePath
|
||||
};
|
||||
|
||||
ExStatus Spawn(char *Path, uint64_t Arg0, uint64_t Arg1);
|
||||
}
|
||||
|
||||
#endif // !__FENNIX_KERNEL_FILE_EXECUTE_H__
|
Reference in New Issue
Block a user