Subversion Repositories HelenOS

Rev

Rev 1787 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1787 Rev 1860
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
 /** @addtogroup sparc64   
29
/** @addtogroup sparc64
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef __sparc64_MEMSTR_H__
35
#ifndef KERN_sparc64_MEMSTR_H_
36
#define __sparc64_MEMSTR_H__
36
#define KERN_sparc64_MEMSTR_H_
37
 
37
 
38
#define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
38
#define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
39
 
39
 
40
extern void memsetw(uintptr_t dst, size_t cnt, uint16_t x);
40
extern void memsetw(uintptr_t dst, size_t cnt, uint16_t x);
41
extern void memsetb(uintptr_t dst, size_t cnt, uint8_t x);
41
extern void memsetb(uintptr_t dst, size_t cnt, uint8_t x);
42
 
42
 
43
extern int memcmp(uintptr_t src, uintptr_t dst, int cnt);
43
extern int memcmp(uintptr_t src, uintptr_t dst, int cnt);
44
 
44
 
45
#endif
45
#endif
46
 
46
 
47
 /** @}
47
/** @}
48
 */
48
 */
49
 
-