1*40fef049SGabe Black /* 2*40fef049SGabe Black * Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 3*40fef049SGabe Black * Use of this source code is governed by a BSD-style license that can be 4*40fef049SGabe Black * found in the LICENSE file. 5*40fef049SGabe Black * 6*40fef049SGabe Black * Alternatively, this software may be distributed under the terms of the 7*40fef049SGabe Black * GNU General Public License ("GPL") version 2 as published by the Free 8*40fef049SGabe Black * Software Foundation. 9*40fef049SGabe Black */ 10*40fef049SGabe Black 11*40fef049SGabe Black /* 12*40fef049SGabe Black * These functions work like memset but operate on physical memory which may 13*40fef049SGabe Black * not be accessible directly. 14*40fef049SGabe Black * 15*40fef049SGabe Black * @param s The physical address to start setting memory at. 16*40fef049SGabe Black * @param c The character to set each byte of the region to. 17*40fef049SGabe Black * @param n The number of bytes to set. 18*40fef049SGabe Black * 19*40fef049SGabe Black * @return The physical address of the memory which was set. 20*40fef049SGabe Black */ 21*40fef049SGabe Black phys_addr_t arch_phys_memset(phys_addr_t s, int c, phys_size_t n); 22