From de06fe8b23dd489817200eb6fac9d05e36286639 Mon Sep 17 00:00:00 2001 From: Miro Kropacek Date: Tue, 21 Jan 2025 19:19:00 +0100 Subject: [PATCH] Add a warning about Pexec(PE_LOAD) --- gemdos/prozess/pexec.ui | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gemdos/prozess/pexec.ui b/gemdos/prozess/pexec.ui index 3b0c0a1a7..a680dcaf4 100644 --- a/gemdos/prozess/pexec.ui +++ b/gemdos/prozess/pexec.ui @@ -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);