quakeforge/libs/gamecode
Bill Currie 208cba85eb [gamecode] Move return buffer to end of progs memory map
With the return buffer in progs_t, it could not be addressed by the
progs on 64-bit machines (this was intentional, actually), but in order
to get obj_msg_sendv working properly, I needed a way to "bounce" the
return address of a calling function to the called function. The
cleanest solution I could think of was to add a mode to the with
instruction allowing the return pointer to be loaded into a register and
then calling the function with a 0 offset for the return value but using
the relevant register (next few commits). Testing promptly segfaulted
due to the 64-bit offset not fitting into a 32-bit value.
2022-02-05 18:37:23 +09:00
..
test [gamecode] Add 64-bit load/store instructions 2022-02-02 14:47:36 +09:00
convert.py [gamecode] Add a fixme about using gcc's vec convert 2022-01-17 10:32:19 +09:00
hops.py [gamecode] Add tests for the hops instructions 2022-01-16 18:46:29 +09:00
Makemodule.am [gamecode] Implement the HOPS sub-instructions 2022-01-16 16:28:48 +09:00
opcodes.py [gamecode] Add 64-bit load/store instructions 2022-02-02 14:47:36 +09:00
pr_builtins.c [gamecode] Rename parm to param 2022-01-27 10:55:06 +09:00
pr_debug.c [gamecode] Count calls to builtins in profile 2022-02-04 21:49:59 +09:00
pr_edict.c [gamecode] Use unsigned for entity values 2022-01-16 22:15:18 +09:00
pr_exec.c [gamecode] Count calls to builtins in profile 2022-02-04 21:49:59 +09:00
pr_load.c [gamecode] Move return buffer to end of progs memory map 2022-02-05 18:37:23 +09:00
pr_opcode.c [gamecode] Create macros for progs sizeof and alignof 2022-01-23 14:29:33 +09:00
pr_parse.c [gamecode] Use a struct for offset/count pairs 2022-01-26 19:30:25 +09:00
pr_resolve.c [gamecode] Use an explicit size for the null page 2022-02-01 16:43:29 +09:00
pr_resource.c [util] Make hash-tables semi-thread-safe 2020-03-25 15:43:16 +09:00
pr_strings.c [gamecode] Use a struct for offset/count pairs 2022-01-26 19:30:25 +09:00
pr_v6p_opcode.c [qfcc] Change v6p's jumpb opname to jump 2022-01-30 22:39:21 +09:00
pr_zone.c [gamecode] Conform with libc malloc for pr zone 2021-09-26 12:03:44 +09:00
swizzle.py [gamecode] Add tests for the swizzle instructions 2022-01-15 22:44:58 +09:00