-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fill in missing objects in bank 8 objects.json (#340)
* Fill out missing objects in objects.json Also tweak a couple splits, and output missing objects when running splits_generate_sources.py * tweak this as well while we're at it Will be necessary down the line * Fix smaller build issues * Move RVL_SDK .c files to RVL_SDK/src Required to distinguish between public and internal headers * Re-integrate wpad_11dec2009 more cleanly * Fix build of WPAD files * Fix WPAD mismatch
- Loading branch information
1 parent
8855194
commit 6d6b28e
Showing
55 changed files
with
2,265 additions
and
713 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 36 additions & 6 deletions
42
...sdk/RVL_SDK/revolution/wpad/context_bte.h → src/sdk/RVL_SDK/revolution/bte/context_bte.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
#ifndef RVL_SDK_OS_ADDRESS_H | ||
#define RVL_SDK_OS_ADDRESS_H | ||
|
||
#include "types.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
static inline void* OSPhysicalToCached(u32 ofs) { | ||
return (void*)(ofs + 0x80000000); | ||
} | ||
|
||
static inline void* OSPhysicalToUncached(u32 ofs) { | ||
return (void*)(ofs + 0xC0000000); | ||
} | ||
|
||
static inline void* OSCachedToPhysical(const void* ofs) { | ||
return (char*)ofs - 0x80000000; | ||
} | ||
#if defined(NDEBUG) | ||
# define OSPhysicalToCached(addr) (void *)((u32)(addr) + 0x80000000) | ||
# define OSPhysicalToUncached(addr) (void *)((u32)(addr) + 0xC0000000) | ||
# define OSCachedToPhysical(addr) (void *)((u32)(addr) - 0x80000000) | ||
# define OSUncachedToPhysical(addr) (void *)((u32)(addr) - 0xC0000000) | ||
#else | ||
void *(OSPhysicalToCached)(void *addr); | ||
void *(OSPhysicalToUncached)(void *addr); | ||
void *(OSCachedToPhysical)(void *addr); | ||
void *(OSUncachedToPhysical)(void *addr); | ||
#endif | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.