aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/vm.c
Commit message (Collapse)AuthorAgeFilesLines
* use mmap to allocate memory for generated code to be able to set PROT_EXECludwig2006-03-041-0/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@616 edf5b092-35ff-0310-97b2-ce42778d08ea
* try to fix msvc buildludwig2006-02-261-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@588 edf5b092-35ff-0310-97b2-ce42778d08ea
* - change long to intptr_t for 64bit windows compatabilityludwig2006-02-181-13/+13
| | | | | | | | - change vmMain arguments back to int. 64bit types are apparently not needed there. Only the syscall function needs them. git-svn-id: svn://svn.icculus.org/quake3/trunk@550 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fall back to interpreter if VM_Compile resets vm->compiledludwig2005-11-061-2/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@294 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replaced a bunch of inline and __inline with ID_INLINEtma2005-11-041-2/+2
| | | | | | | | | * Replaced a bunch of __i386__ with id386 * General tidy up of asm preprocessor decisions * Removed C_ONLY from the dedicated server build git-svn-id: svn://svn.icculus.org/quake3/trunk@269 edf5b092-35ff-0310-97b2-ce42778d08ea
* actually when calling from the vm to the engine there are more than 10ludwig2005-11-021-1/+1
| | | | | | | arguments git-svn-id: svn://svn.icculus.org/quake3/trunk@235 edf5b092-35ff-0310-97b2-ce42778d08ea
* pass only 10 arguments. vm_* doesn't use more anyways.ludwig2005-11-021-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@234 edf5b092-35ff-0310-97b2-ce42778d08ea
* pass only 10 arguments. vm_* doesn't use more anyways.ludwig2005-11-021-3/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@233 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-291-1/+1
| | | | | | | | | | | * Updated TODO * Moved ChangeLog to root * Updated ChangeLog * s/Foobar/Quake III Arena Source Code/ * Biggest patch EVAR. I wonder how many mail boxes this will fill... git-svn-id: svn://svn.icculus.org/quake3/trunk@196 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Deleted code/unix/vm_x86.c - wtf was that about anyway?tma2005-10-291-20/+3
| | | | | | | | | | | * Removed HAVE_VM_NATIVE * Removed DLL_ONLY * Replace HAVE_VM_COMPILED with NO_VM_COMPILED -- this means the JIT compiler should be enabled on the OS X and VC builds now * Remove the remainder of the freetype building stuff git-svn-id: svn://svn.icculus.org/quake3/trunk@194 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix the x86 vmtma2005-10-271-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@191 edf5b092-35ff-0310-97b2-ce42778d08ea
* add x86_64 vm. experimental, not enabled by default. you need as for itludwig2005-10-271-5/+14
| | | | | | | to work. git-svn-id: svn://svn.icculus.org/quake3/trunk@188 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fixed a bug with QVM loading on big endian architecturestma2005-10-261-16/+25
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@179 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Adjusted VM_LoadQVM interfacetma2005-10-141-7/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@158 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fixed some annoying code duplicationtma2005-10-131-94/+58
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@157 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (Non-trivial) fix to the "opStack corrupted in compiled code" bugtma2005-10-131-18/+72
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@156 edf5b092-35ff-0310-97b2-ce42778d08ea
* don't call VM_Compile if it's not supported so the VM_Compile symbolludwig2005-10-091-3/+4
| | | | | | | isn't needed git-svn-id: svn://svn.icculus.org/quake3/trunk@150 edf5b092-35ff-0310-97b2-ce42778d08ea
* revert int->long change as it breaks on 64bit. Actually onlyludwig2005-09-261-3/+4
| | | | | | | | VM_CallInterpreted hurts as VM_CallCompiled is only used on 32bit. Use same arg types for consistency nevertheless. git-svn-id: svn://svn.icculus.org/quake3/trunk@118 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fixed some long/int warnings, hopefully this doesn't disrupt the MSVC ↵tma2005-09-261-2/+2
| | | | | | and/or 64bit builds git-svn-id: svn://svn.icculus.org/quake3/trunk@112 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replaced lots of __linux__ || __FreeBSD__ with __GNUC__tma2005-09-231-1/+1
| | | | | | | | * MinGW port now uses asm versions of SnapVector and ftol * Improved the handling of mangled symbols in vm_x86.c git-svn-id: svn://svn.icculus.org/quake3/trunk@99 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Port to MinGWtma2005-09-221-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@97 edf5b092-35ff-0310-97b2-ce42778d08ea
* - add note about 64bit mods and the demoludwig2005-08-301-0/+2
| | | | | | | - fix mod functions for 64bit git-svn-id: svn://svn.icculus.org/quake3/trunk@37 edf5b092-35ff-0310-97b2-ce42778d08ea
* - load qvm file by default again to avoid 'unpure' errorludwig2005-08-301-2/+1
| | | | | | | - fix loading qvms in 64bit q3 git-svn-id: svn://svn.icculus.org/quake3/trunk@36 edf5b092-35ff-0310-97b2-ce42778d08ea
* support for 64bit native modsludwig2005-08-301-13/+13
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@34 edf5b092-35ff-0310-97b2-ce42778d08ea
* always try native dll firstludwig2005-08-301-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@32 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix build on ppc. no guarantee it runs thoughludwig2005-08-301-7/+14
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@27 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove svn:executable propertyludwig2005-08-281-0/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@24 edf5b092-35ff-0310-97b2-ce42778d08ea
* Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.zakk2005-08-271-5/+28
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@7 edf5b092-35ff-0310-97b2-ce42778d08ea
* newlines fixedzakk2005-08-261-835/+835
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea
* Itsa me, quake3io!zakk2005-08-261-0/+835
git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea