Diff
checker
텍스트
텍스트
이미지
문서
Excel
폴더
Legal
Enterprise
데스크톱
요금제
로그인
데스크톱 앱 다운로드
텍스트 비교
두 텍스트 파일의 차이점을 찾아보세요
도구
기록
실시간 편집
변경 없는 행 숨기기
줄바꿈 비활성화
레이아웃
나란히 보기
합쳐 보기
비교 단위
스마트
단어
글자
구문 강조
언어 선택
제외
텍스트 변환
첫 변경으로
수정
Diffchecker Desktop
가장 안전하게 Diffchecker를 사용하는 방법. 데스크톱 앱을 사용하면 비교 데이터가 외부로 전송되지 않습니다!
데스크톱 앱 받기
Untitled diff
생성일
11년 전
비교 결과 만료 없음
초기화
내보내기
공유
설명
23 삭제
행
총
삭제
글자
총
삭제
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
55 행
복사
39 추가
행
총
추가
글자
총
추가
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
75 행
복사
복사
복사됨
복사
복사됨
#ifndef _PSP2_KERNEL_
MEMORYMGR
_H_
/**
#define _PSP2_KERNEL_
MEMORYMGR
_H_
* \file
* \brief Header file which defines memory related variables and functions
*
* Copyright (C) 2015 PSP2SDK Project
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _PSP2_KERNEL_
SYSMEM
_H_
#define _PSP2_KERNEL_
SYSMEM
_H_
#include <psp2/types.h>
#include <psp2/types.h>
#ifdef __cplusplus
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
#endif
복사
복사됨
복사
복사됨
typedef int SceKernelMemBlockType;
enum {
enum {
복사
복사됨
복사
복사됨
SCE_KERNEL_MEMBLOCK_TYPE_USER_RW
= 0x0c20d060,
SCE_KERNEL_MEMBLOCK_TYPE_USER_RW
= 0x0c20d060,
SCE_KERNEL_MEMBLOCK_TYPE_USER_RW_UNCACHE
= 0x0c208060,
SCE_KERNEL_MEMBLOCK_TYPE_USER_RW_UNCACHE
= 0x0c208060,
SCE_KERNEL_MEMBLOCK_TYPE_USER_MAIN_PHYCONT_RW
= 0x0c80d060,
SCE_KERNEL_MEMBLOCK_TYPE_USER_MAIN_PHYCONT_RW
= 0x0c80d060,
SCE_KERNEL_MEMBLOCK_TYPE_USER_MAIN_PHYCONT_NC_RW
= 0x0d808060,
SCE_KERNEL_MEMBLOCK_TYPE_USER_MAIN_PHYCONT_NC_RW
= 0x0d808060,
SCE_KERNEL_MEMBLOCK_TYPE_USER_CDRAM_RW
= 0x09408060
SCE_KERNEL_MEMBLOCK_TYPE_USER_CDRAM_RW
= 0x09408060
};
};
복사
복사됨
복사
복사됨
/***
/***
* Allocates a new memoy block
* Allocates a new memoy block
*
*
* @param[in] name - Name for the memory block
* @param[in] name - Name for the memory block
* @param[in] type - Type of the memory to allocate
* @param[in] type - Type of the memory to allocate
* @param[in] size - Size of the memory to allocate
* @param[in] size - Size of the memory to allocate
* @param[in] optp - Memory block options?
* @param[in] optp - Memory block options?
*
*
* @return SceUID of the memory block on success, < 0 on error.
* @return SceUID of the memory block on success, < 0 on error.
복사
복사됨
복사
복사됨
*/
*/
SceUID sceKernelAllocMemBlock(const char *name,
int
type, int size, void *optp);
SceUID sceKernelAllocMemBlock(const char *name,
SceKernelMemBlockType
type, int size, void *optp);
SceUID sceKernelAllocMemBlockForVM(const char *, SceSize);
/***
/***
* Frees new memoy block
* Frees new memoy block
*
*
* @param[in] uid - SceUID of the memory block to free
* @param[in] uid - SceUID of the memory block to free
*
*
* @return 0 on success, < 0 on error.
* @return 0 on success, < 0 on error.
복사
복사됨
복사
복사됨
*/
*/
int sceKernelFreeMemBlock(SceUID uid);
int sceKernelFreeMemBlock(SceUID uid);
복사
복사됨
복사
복사됨
/***
/***
* Gets the base address of a memoy block
* Gets the base address of a memoy block
*
*
* @param[in] uid - SceUID of the memory block to free
* @param[in] uid - SceUID of the memory block to free
* @param[out] basep - Base address of the memory block identified by SceUID
* @param[out] basep - Base address of the memory block identified by SceUID
*
*
* @return 0 on success, < 0 on error.
* @return 0 on success, < 0 on error.
복사
복사됨
복사
복사됨
*/
*/
int sceKernelGetMemBlockBase(SceUID uid, void **basep);
int sceKernelGetMemBlockBase(SceUID uid, void **basep);
복사
복사됨
복사
복사됨
SceUID sceKernelFindMemBlockByAddr(const void *, int);
void sceKernelSyncVMDomain(SceUID, void *, SceSize);
void sceKernelOpenVMDomain();
void sceKernelCloseVMDomain();
#ifdef __cplusplus
#ifdef __cplusplus
}
}
#endif
#endif
복사
복사됨
복사
복사됨
#endif
/* _PSP2_KERNEL_MEMORYMGR_H_ */
#endif
저장된 비교 결과
원본
파일 열기
#ifndef _PSP2_KERNEL_MEMORYMGR_H_ #define _PSP2_KERNEL_MEMORYMGR_H_ #include <psp2/types.h> #ifdef __cplusplus extern "C" { #endif enum { SCE_KERNEL_MEMBLOCK_TYPE_USER_RW = 0x0c20d060, SCE_KERNEL_MEMBLOCK_TYPE_USER_RW_UNCACHE = 0x0c208060, SCE_KERNEL_MEMBLOCK_TYPE_USER_MAIN_PHYCONT_RW = 0x0c80d060, SCE_KERNEL_MEMBLOCK_TYPE_USER_MAIN_PHYCONT_NC_RW = 0x0d808060, SCE_KERNEL_MEMBLOCK_TYPE_USER_CDRAM_RW = 0x09408060 }; /*** * Allocates a new memoy block * * @param[in] name - Name for the memory block * @param[in] type - Type of the memory to allocate * @param[in] size - Size of the memory to allocate * @param[in] optp - Memory block options? * * @return SceUID of the memory block on success, < 0 on error. */ SceUID sceKernelAllocMemBlock(const char *name, int type, int size, void *optp); /*** * Frees new memoy block * * @param[in] uid - SceUID of the memory block to free * * @return 0 on success, < 0 on error. */ int sceKernelFreeMemBlock(SceUID uid); /*** * Gets the base address of a memoy block * * @param[in] uid - SceUID of the memory block to free * @param[out] basep - Base address of the memory block identified by SceUID * * @return 0 on success, < 0 on error. */ int sceKernelGetMemBlockBase(SceUID uid, void **basep); #ifdef __cplusplus } #endif #endif /* _PSP2_KERNEL_MEMORYMGR_H_ */
수정본
파일 열기
/** * \file * \brief Header file which defines memory related variables and functions * * Copyright (C) 2015 PSP2SDK Project * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef _PSP2_KERNEL_SYSMEM_H_ #define _PSP2_KERNEL_SYSMEM_H_ #include <psp2/types.h> #ifdef __cplusplus extern "C" { #endif typedef int SceKernelMemBlockType; enum { SCE_KERNEL_MEMBLOCK_TYPE_USER_RW = 0x0c20d060, SCE_KERNEL_MEMBLOCK_TYPE_USER_RW_UNCACHE = 0x0c208060, SCE_KERNEL_MEMBLOCK_TYPE_USER_MAIN_PHYCONT_RW = 0x0c80d060, SCE_KERNEL_MEMBLOCK_TYPE_USER_MAIN_PHYCONT_NC_RW = 0x0d808060, SCE_KERNEL_MEMBLOCK_TYPE_USER_CDRAM_RW = 0x09408060 }; /*** * Allocates a new memoy block * * @param[in] name - Name for the memory block * @param[in] type - Type of the memory to allocate * @param[in] size - Size of the memory to allocate * @param[in] optp - Memory block options? * * @return SceUID of the memory block on success, < 0 on error. */ SceUID sceKernelAllocMemBlock(const char *name, SceKernelMemBlockType type, int size, void *optp); SceUID sceKernelAllocMemBlockForVM(const char *, SceSize); /*** * Frees new memoy block * * @param[in] uid - SceUID of the memory block to free * * @return 0 on success, < 0 on error. */ int sceKernelFreeMemBlock(SceUID uid); /*** * Gets the base address of a memoy block * * @param[in] uid - SceUID of the memory block to free * @param[out] basep - Base address of the memory block identified by SceUID * * @return 0 on success, < 0 on error. */ int sceKernelGetMemBlockBase(SceUID uid, void **basep); SceUID sceKernelFindMemBlockByAddr(const void *, int); void sceKernelSyncVMDomain(SceUID, void *, SceSize); void sceKernelOpenVMDomain(); void sceKernelCloseVMDomain(); #ifdef __cplusplus } #endif #endif
비교하기