📄 swizzle.h
字号:
/* <LIC_AMD_STD> * Copyright (C) 2003-2005 Advanced Micro Devices, Inc. All Rights Reserved. * * Unless otherwise designated in writing, this software and any related * documentation are the confidential proprietary information of AMD. * THESE MATERIALS ARE PROVIDED "AS IS" WITHOUT ANY * UNLESS OTHERWISE NOTED IN WRITING, EXPRESS OR IMPLIED WARRANTY OF ANY * KIND, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, * NONINFRINGEMENT, TITLE, FITNESS FOR ANY PARTICULAR PURPOSE AND IN NO * EVENT SHALL AMD OR ITS LICENSORS BE LIABLE FOR ANY DAMAGES WHATSOEVER. * * AMD does not assume any responsibility for any errors which may appear * in the Materials nor any responsibility to support or update the * Materials. AMD retains the right to modify the Materials at any time, * without notice, and is not obligated to provide such modified * Materials to you. AMD is not obligated to furnish, support, or make * any further information available to you. * </LIC_AMD_STD> *//* <CTL_AMD_STD> * File Id and RCS Info: * $Source: /home/cvs/travis/env/swizzle.h,v $ * $Id: swizzle.h,v 1.1.1.1 2003/06/23 16:05:51 benoy Exp $ *======================================================================= * Revision History: * $Log: swizzle.h,v $ * Revision 1.1.1.1 2003/06/23 16:05:51 benoy * initial * * Revision 1.4 2003-03-27 16:28:38-06 nathans * magic endian fixes. endian sucks! * * Revision 1.3 2003-03-06 10:56:10-06 nathans * move endian to types.h to match asic_gen * * Revision 1.2 2002-07-26 09:32:36-05 nathans * add LITTLE_ENDIAN * * Revision 1.1 2002-07-25 14:15:43-05 nathans * move endian.h or #define for SunOS here * * Revision 1.0 2002-07-25 13:43:46-05 nathans * Initial revision * * Revision 1.0 2002-04-30 09:44:32-05 nathans * Initial revision * </CTL_AMD_STD> *//* <DOC_AMD_STD> * </DOC_AMD_STD> */#ifndef __swizzle_h__#define __swizzle_h__#include "types.h"void uint64_swizzle(uint32 *ptr);void uint32_swizzle(char *ptr);void uint16_swizzle(char *ptr);void uint8_swizzle(char *ptr);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -