Compare commits
2 Commits
01f5b872f2
...
2359cf2744
Author | SHA1 | Date | |
---|---|---|---|
|
2359cf2744 | ||
|
ee42ba1350 |
@ -11,7 +11,7 @@ It's targetting x86 and inspirated by http://sos.enix.org/fr/PagePrincipale
|
||||
To generate iso image
|
||||
|
||||
* `mtools xorriso (which is libisoburn on ArchLinux)`
|
||||
* gcc >= 6
|
||||
* gcc for 32bits (e.g. gcc-multilib for ubuntu) >= 11
|
||||
* sfdisk (util-linux)
|
||||
|
||||
# Run it
|
||||
|
@ -164,6 +164,10 @@ int processSetName(struct process *proc, char *name)
|
||||
return 0;
|
||||
}
|
||||
|
||||
char *processGetName(struct process *proc){
|
||||
return proc->name;
|
||||
}
|
||||
|
||||
struct mmu_context *processGetMMUContext(struct process *proc)
|
||||
{
|
||||
return uAddrSpaceGetMMUContext(proc->addrSpace);
|
||||
|
@ -12,6 +12,7 @@ void processListPrint();
|
||||
int processRef(struct process *proc);
|
||||
int processUnref(struct process *proc);
|
||||
int processSetName(struct process *proc, char *name);
|
||||
char *processGetName(struct process *proc);
|
||||
int processAddThread(struct process *proc, struct thread *th);
|
||||
int processRemoveThread(struct thread *th);
|
||||
struct mmu_context *processGetMMUContext(struct process *th);
|
||||
|
Loading…
x
Reference in New Issue
Block a user