Make swap_move() only be defined for INDIRECT_SWAP where it only moves the table...
authorNick Downing <nick@ndcode.org>
Mon, 3 Jun 2019 09:35:51 +0000 (19:35 +1000)
committerNick Downing <nick@ndcode.org>
Mon, 3 Jun 2019 09:35:51 +0000 (19:35 +1000)
commit56b4ac5086bff5a65617ec8ce011eb1ad35270bd
tree3783d87ae8ec2ad371cb0df21843f0c19462067c
parentf032cbcefe0c2e90f6f9ec85c3a774de7881243c
Make swap_move() only be defined for INDIRECT_SWAP where it only moves the table memory, replace core_to_swap_copy() and swap_to_core_copy() with swap_read_write() which works in blocks and takes a direction flag, implement do_swap_read_write() to abstract out the swapping code which is independent of the direction
process.c
process.h
process_test_run.c
swap.c