Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
ライブエディター
未変更行を折りたたむ
折り返しなし
レイアウト
分割
統合
比較精度
スマート
単語
文字
シンタックスハイライト
構文を選択
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
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
違いを見つける