X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Finternals%2Fforeign-linkage.texinfo;h=266aa9826ec960a4022ababc0703d4a642edf71f;hb=1975bd0492ed33de669f92d8c03d75bca19ed011;hp=5e8491d78a57228d23d730b4123a1488bcd929e7;hpb=bc80839e6c4fc80a7452a44d974e796c25d10646;p=sbcl.git diff --git a/doc/internals/foreign-linkage.texinfo b/doc/internals/foreign-linkage.texinfo index 5e8491d..266aa98 100644 --- a/doc/internals/foreign-linkage.texinfo +++ b/doc/internals/foreign-linkage.texinfo @@ -84,7 +84,7 @@ Find a memory area for the linkage-table, and add it for the OS in @code{SB!VM:LINKAGE-TABLE-SPACE-END}. See existing ports and CMUCL for examples. -@subsubsection Porting to new architextures +@subsubsection Porting to new architectures Write @code{arch_write_linkage_table_jmp} and @code{arch_write_linkage_table_ref}. @@ -134,7 +134,7 @@ callback sequence has 4 parts / stages / bounces: saves the arguments from the C-call according to the alien-fun-type of the callback, and calls #'ENTER-ALIEN-CALLBACK with the index -indentifying the callback, a pointer to the arguments copied on the +identifying the callback, a pointer to the arguments copied on the stack and a pointer to return value storage. When control returns to the wrapper it returns the value to C. There is one assembler wrapper per callback.[1] The SAP to the wrapper code vector is what is passed