1*c9cdf0a5SStacey Son /* 2*c9cdf0a5SStacey Son * memory management system conversion routines 3*c9cdf0a5SStacey Son * 4*c9cdf0a5SStacey Son * Copyright (c) 2013 Stacey D. Son 5*c9cdf0a5SStacey Son * 6*c9cdf0a5SStacey Son * This program is free software; you can redistribute it and/or modify 7*c9cdf0a5SStacey Son * it under the terms of the GNU General Public License as published by 8*c9cdf0a5SStacey Son * the Free Software Foundation; either version 2 of the License, or 9*c9cdf0a5SStacey Son * (at your option) any later version. 10*c9cdf0a5SStacey Son * 11*c9cdf0a5SStacey Son * This program is distributed in the hope that it will be useful, 12*c9cdf0a5SStacey Son * but WITHOUT ANY WARRANTY; without even the implied warranty of 13*c9cdf0a5SStacey Son * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14*c9cdf0a5SStacey Son * GNU General Public License for more details. 15*c9cdf0a5SStacey Son * 16*c9cdf0a5SStacey Son * You should have received a copy of the GNU General Public License 17*c9cdf0a5SStacey Son * along with this program; if not, see <http://www.gnu.org/licenses/>. 18*c9cdf0a5SStacey Son */ 19*c9cdf0a5SStacey Son #include "qemu/osdep.h" 20*c9cdf0a5SStacey Son #include "qemu.h" 21*c9cdf0a5SStacey Son #include "qemu-bsd.h" 22*c9cdf0a5SStacey Son 23*c9cdf0a5SStacey Son struct bsd_shm_regions bsd_shm_regions[N_BSD_SHM_REGIONS]; 24*c9cdf0a5SStacey Son 25*c9cdf0a5SStacey Son abi_ulong target_brk; 26*c9cdf0a5SStacey Son abi_ulong initial_target_brk; 27*c9cdf0a5SStacey Son 28*c9cdf0a5SStacey Son void target_set_brk(abi_ulong new_brk) 29*c9cdf0a5SStacey Son { 30*c9cdf0a5SStacey Son target_brk = TARGET_PAGE_ALIGN(new_brk); 31*c9cdf0a5SStacey Son initial_target_brk = target_brk; 32*c9cdf0a5SStacey Son } 33