]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Change engine VM memory layout as follows:
authorRudolf Polzer <divVerent@gmail.com>
Tue, 29 Oct 2024 20:51:51 +0000 (16:51 -0400)
committerRudolf Polzer <divVerent@gmail.com>
Fri, 1 Nov 2024 19:28:46 +0000 (15:28 -0400)
commit1577ac3a29e942800f41dbcc20cd8eff6641e347
treef1bd7d8af21ae042fdd789f1dc5c3116f28c37b9
parentef5f75a12d48ca661b9b42fd8fe3420d1737987a
Change engine VM memory layout as follows:

0 to 0x7FFFFFFF: reserved.
0x80000000 to 0x80000000 + num_globals - 1: global pointers.
0x80000000 + num_globals to 0x80000000 + num_globals + num_entities * num_entityfields - 1: entity field pointers.

Note that there are no instructions yet to _make_ global pointers, or to
load values from them.

This is the beginning of implementing the pointer instruction set.
prvm_exec.c
prvm_execprogram.h