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