Skip to content

Commit

Permalink
Add a warning about Pexec(PE_LOAD)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikrosk committed Jan 21, 2025
1 parent 1952ee5 commit de06fe8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gemdos/prozess/pexec.ui
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ for loading programs in a debugger. Corresponds to (!I)mode 0(!i) with the
difference that the program is not launched immediately, but that a pointer
to the child processes' basepage is returned as a LONG. The parent owns the
memory of the child's environment and basepage and hence must free them when
finished with the child.
finished with the child. (!B)Note:(!b) flushing of the data cache and invalidation
of the instruction cache is caller's responsibility in case the intention is not to
use Pexec mode 4 but calling the the program's function manually instead (e.g. plugins
with a jump table).

!item [4]
int32_t Pexec (4, 0L, PD *basepage, 0L);
Expand Down

0 comments on commit de06fe8

Please sign in to comment.