Whether these parameters are provided in registers or on the stack is entirely
dictated by the platform's calling convention these days.
* @param vm region allocating from
* @param size desired block size
*/
-static void *bestalloc(Vmalloc_t *vm, reg size_t size) {
+static void *bestalloc(Vmalloc_t *vm, size_t size) {
Vmdata_t *vd = vm->data;
void *p;
* @param size new size
* @param type ignored
*/
-static void *bestresize(Vmalloc_t *vm, void *data, reg size_t size, int type) {
+static void *bestresize(Vmalloc_t *vm, void *data, size_t size, int type) {
Vmdata_t *vd = vm->data;
size_t i;