Eladash
|
d85bb3f4eb
|
vm_ptr.h: Improve try_read() (#10627)
|
2021-07-29 21:14:29 +03:00 |
|
Eladash
|
9a392d2b5c
|
vm_ptr.h: Do not allow dereferencing for void ptr
Do not create vm::ref from it as well.
|
2021-07-17 20:02:21 +02:00 |
|
Eladash
|
a981c65d2f
|
Minor fixup of vm::ptr
const pointers shouldn't disable reading, they should disable writing.
|
2021-07-17 20:02:21 +02:00 |
|
Eladash
|
b6fccee6a4
|
Improve ppu_thread::stack_push
Save actual stack memory allocation size locally. (not in PS3 memory)
|
2021-06-28 14:09:24 +03:00 |
|
Eladash
|
23468a2d07
|
vm_ptr.h: Use concepts
|
2021-06-28 14:01:58 +03:00 |
|
Eladash
|
76bfe54c7e
|
Improve bitwise serialization trait
|
2021-06-11 16:54:17 +03:00 |
|
Eladash
|
0628a5d931
|
serialization.hpp: Fixes
|
2021-06-11 08:59:02 +03:00 |
|
Nekotekina
|
d862817485
|
vm::ref: remove erroneous default constructor
|
2021-05-31 15:31:20 +03:00 |
|
Nekotekina
|
2491aad6f2
|
types.hpp: implement min_v<>, max_v<>, SignedInt, UnsignedInt, FPInt concepts
Restrict smax to only work with signed values for consistency.
Cleanup <climits> includes.
Cleanup <limits> includes.
|
2021-05-23 19:43:51 +03:00 |
|
Nekotekina
|
0bd64a0e72
|
Don't fatal on sparse file initialization failure
Also try two different locations (Win32).
|
2021-05-10 00:39:28 +03:00 |
|
Nekotekina
|
e24ada37bf
|
fs: implement fs::get_temp_dir() (Win32)
Trying to workaround issues with sparse files (#10231)
|
2021-05-05 19:38:36 +03:00 |
|
Nekotekina
|
546b52200b
|
vm: disable locking main/video/stack for now (TODO)
|
2021-05-04 19:18:57 +03:00 |
|
Nekotekina
|
1b0b2fe21e
|
vm: add "hook" memory (32G)
Implement overcommit emulation for shm.
|
2021-05-04 18:02:52 +03:00 |
|
Nekotekina
|
f8e05f8e3c
|
Remove redundant operators !=
|
2021-04-29 22:57:40 +03:00 |
|
Nekotekina
|
7a9561b966
|
vm_native: document some unmap_critical behaviour (posix)
|
2021-04-18 13:13:15 +03:00 |
|
Eladash
|
67e2e154fa
|
Replace simple_type with std::common_type
|
2021-04-17 10:27:55 +03:00 |
|
Megamouse
|
a16d8ba3ea
|
More random changes
|
2021-04-11 14:01:51 +03:00 |
|
Nekotekina
|
10bbb7fa1f
|
Fix some warnings (deprecate enum arithmetics)
|
2021-04-09 10:26:13 +03:00 |
|
Nekotekina
|
95725bf7fc
|
Add -Werror=missing-noreturn (GCC, clang)
May be useful to diagnose functions which fail assertions unconditionally.
|
2021-04-08 10:29:47 +03:00 |
|
Nick Renieris
|
396c129d41
|
vm: Flag names (refactoring)
|
2021-04-06 13:07:54 +03:00 |
|
Nekotekina
|
5dc3467337
|
vm: fix reservation_update notification
Rare function.
|
2021-03-23 21:09:37 +03:00 |
|
Eladash
|
1864419561
|
Fix SPU mapped memory page size
|
2021-03-19 22:25:08 +03:00 |
|
Nekotekina
|
a4fdbf0a88
|
Enable -Wstrict-aliasing=1 (GCC)
Fixed partially.
|
2021-03-09 03:10:15 +03:00 |
|
Nekotekina
|
87af905018
|
Enable -Wunused-parameter
|
2021-03-06 18:07:08 +03:00 |
|
Eladash
|
004ebfdaee
|
SPU debugger: Implement MFC journal
* Allow to dump up to 1820 commands with up 128 bytes of data each, using key D with the debugger.
|
2021-03-02 21:57:51 +03:00 |
|
Nekotekina
|
ea5e837bd6
|
fixed_typemap.hpp: return reference
|
2021-03-02 16:08:14 +03:00 |
|
Nekotekina
|
d788b12a8e
|
fixed_typemap.hpp: reduce indirection
Backported some changes from auto_typemap.hpp
Implemented methods init(), reset(), clear()
Disabled recreation support.
|
2021-03-02 16:08:14 +03:00 |
|
Eladash
|
73d45f3bf0
|
Remove vm::cleanup_unlock
|
2021-02-22 12:47:45 +03:00 |
|
Eladash
|
5b044a93c1
|
Fix vm::falloc() for misaligned args (#9764)
Force addr/size alignment.
|
2021-02-14 13:19:14 +03:00 |
|
Nekotekina
|
4f8cac731b
|
Fix SAFE_BUFFERS attribute for GCC
|
2021-02-09 12:33:50 +03:00 |
|
Eladash
|
0652870204
|
New RSX Debugger
|
2021-01-28 17:40:26 +03:00 |
|
Nekotekina
|
a69248299d
|
SPU: Don't use shm::map_critical in SPU LS allocations
Use shm::try_map instead until proper area is found.
|
2021-01-25 17:45:47 +03:00 |
|
Nekotekina
|
aaaeb66cc8
|
vm: Minor fix in vm::close
Supplied size was wrong.
|
2021-01-15 20:12:30 +03:00 |
|
Eladash
|
e4c3b1c2bd
|
vm: Remove vm::dealloc_verbose_nothrow
|
2021-01-15 17:37:52 +03:00 |
|
Nekotekina
|
db8e6fe7a7
|
Enable -Wunused-variable
|
2021-01-12 14:34:14 +03:00 |
|
Nekotekina
|
5227e65808
|
vm: implement vm::atomic_op, fetch_op helpers
Can help to reduce lambda depth hell a little.
|
2020-12-30 20:11:02 +03:00 |
|
Eladash
|
66581d115b
|
vm: Fix access violations on super memory, support super memory in vm::get_addr
|
2020-12-26 17:56:49 +03:00 |
|
Nekotekina
|
567d23d856
|
Implement util/auto_typemap.hpp
Used in vm::block_t as an example.
|
2020-12-24 14:55:25 +03:00 |
|
Nekotekina
|
43a58df8a0
|
Butcher narrow cast a little (don't print value).
Also remove some forward declarations from util/types.hpp
If they don't work properly, it's easier to remove them.
|
2020-12-22 14:32:30 +03:00 |
|
Nekotekina
|
b7bf316c1a
|
Don't randomly include "stdafx.h"
It's file for precompiled headers.
Include what is used, don't rely on transitive includes.
|
2020-12-22 14:32:30 +03:00 |
|
Nekotekina
|
bd269bccaf
|
types.hpp: remove intrinsic includes
Replace v128 with u128 in some places.
Removed some unused files.
|
2020-12-21 21:11:25 +03:00 |
|
Nekotekina
|
eec11bfba9
|
Move align helpers to util/asm.hpp
Also add some files:
GLTextureCache.cpp
VKTextureCache.cpp
|
2020-12-18 18:07:42 +03:00 |
|
Nekotekina
|
fb29933d3d
|
Add usz alias for std::size_t
|
2020-12-18 12:23:53 +03:00 |
|
Nekotekina
|
e82bef425f
|
vm: fix warnings and add narrow cast for u64 ptrs
|
2020-12-15 20:10:16 +03:00 |
|
Nekotekina
|
e321765c54
|
Split BEType.h to util/v128.hpp and util/to_endian.hpp
|
2020-12-13 16:34:45 +03:00 |
|
Nekotekina
|
62fdcf50ea
|
vm: initialize g_pages at vm::init
Can reduce compile time/overhead.
|
2020-12-13 15:39:36 +03:00 |
|
Nekotekina
|
b59f142d4e
|
Move types.h to util/types.hpp
|
2020-12-12 15:12:01 +03:00 |
|
Nekotekina
|
b382d3b3e9
|
Remove ASSUME macro
It's dangerous and sometimes bluntly misused feature.
Its optimization potential is near-zero.
|
2020-12-10 14:08:02 +03:00 |
|
Nekotekina
|
36c8654fb8
|
Remove HERE macro
Some cleanup.
Add location to some functions.
|
2020-12-10 12:30:22 +03:00 |
|
Nekotekina
|
e055d16b2c
|
Replace verify() with ensure() with auto src location.
Expression ensure(x) returns x.
Using comma operator removed.
|
2020-12-09 15:43:38 +03:00 |
|