mirror of
https://github.com/rvtr/ctr_firmware.git
synced 2025-06-18 16:55:31 -04:00
c++でビルドが通るように修正。
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_firmware@264 b871894f-2f95-9b40-918c-086798483c85
This commit is contained in:
parent
771b186193
commit
80a01841ca
@ -760,15 +760,15 @@ int vlink_dos_remove(char *fname)
|
||||
return rval;
|
||||
}
|
||||
|
||||
int vlink_dos_rename(char *old,char *new)
|
||||
int vlink_dos_rename(char *oldname,char *newname)
|
||||
{
|
||||
int rval;
|
||||
|
||||
VLINK_START
|
||||
putOSEMU(OSEMU);
|
||||
putPT(EMU_RENAME);
|
||||
vlinkPutPTstring(old);
|
||||
vlinkPutPTstring(new);
|
||||
vlinkPutPTstring(oldname);
|
||||
vlinkPutPTstring(newname);
|
||||
rval=0;
|
||||
if(getPT()==0xff){
|
||||
vlink_dos_errno=getPT();
|
||||
|
@ -256,14 +256,7 @@ static inline OSIntrMask osRestoreInterruptMask( OSIntrMask mask )
|
||||
|
||||
Returns: irq factor which is set now
|
||||
*---------------------------------------------------------------------------*/
|
||||
static inline OSIntrMask osGetInterruptMask(void)
|
||||
{
|
||||
#ifdef SDK_ARM11
|
||||
return reg_OS_IDR_SET_IE_ALL;
|
||||
#else // SDK_ARM9
|
||||
return reg_OS_IE;
|
||||
#endif // SDK_ARM9
|
||||
}
|
||||
OSIntrMask osGetInterruptMask(void);
|
||||
|
||||
//================================================================================
|
||||
// INTERRUPT PENDING
|
||||
@ -375,14 +368,7 @@ BOOL osIsInterruptPendingID( OSIntrID id );
|
||||
|
||||
Returns: value of IF
|
||||
*---------------------------------------------------------------------------*/
|
||||
static inline OSIntrMask osGetInterruptPendingMask( void )
|
||||
{
|
||||
#ifdef SDK_ARM11
|
||||
return reg_OS_IDR_SET_PND_ALL;
|
||||
#else // SDK_ARM9
|
||||
return reg_OS_IF;
|
||||
#endif // SDK_ARM9
|
||||
}
|
||||
OSIntrMask osGetInterruptPendingMask( void );
|
||||
|
||||
|
||||
//================================================================================
|
||||
|
@ -58,7 +58,7 @@ extern "C" {
|
||||
|
||||
|
||||
//---- structure of lock variable
|
||||
typedef volatile struct OSLockByte
|
||||
typedef struct OSLockByte
|
||||
{
|
||||
u8 lockFlag;
|
||||
u8 ownerID;
|
||||
|
@ -60,7 +60,7 @@ int vlink_dos_set_file_time(int fd,unsigned short *timep);
|
||||
int vlink_dos_mkdir(char *path);
|
||||
int vlink_dos_rmdir(char *path);
|
||||
int vlink_dos_remove(char *fname);
|
||||
int vlink_dos_rename(char *old,char *new);
|
||||
int vlink_dos_rename(char *oldname,char *newname);
|
||||
int vlink_dos_getcwd(char *path,int drvno);
|
||||
int vlink_dos_chdir(char *path);
|
||||
int vlink_dos_getcdrv(void);
|
||||
|
Loading…
Reference in New Issue
Block a user