mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
Undo some changes exposing unused functions
This commit is contained in:
parent
351730d585
commit
0d4c93d1c2
@ -313,7 +313,12 @@ static void IntToGdbHex(u8* dest, u32 v) {
|
||||
}
|
||||
}
|
||||
|
||||
u32 GdbHexToInt(const u8* src) {
|
||||
/**
|
||||
* Convert a gdb-formatted hex string into a u32.
|
||||
*
|
||||
* @param src Pointer to hex string.
|
||||
*/
|
||||
static u32 GdbHexToInt(const u8* src) {
|
||||
u32 output = 0;
|
||||
|
||||
for (int i = 0; i < 8; i += 2) {
|
||||
@ -337,7 +342,12 @@ static void LongToGdbHex(u8* dest, u64 v) {
|
||||
}
|
||||
}
|
||||
|
||||
u64 GdbHexToLong(const u8* src) {
|
||||
/**
|
||||
* Convert a gdb-formatted hex string into a u64.
|
||||
*
|
||||
* @param src Pointer to hex string.
|
||||
*/
|
||||
static u64 GdbHexToLong(const u8* src) {
|
||||
u64 output = 0;
|
||||
|
||||
for (int i = 0; i < 16; i += 2) {
|
||||
|
@ -111,25 +111,11 @@ void SetCpuStepFlag(bool is_step);
|
||||
void SendTrap(Kernel::Thread* thread, int trap);
|
||||
|
||||
/**
|
||||
u32 HexToInt(const u8* src, std::size_t len) {
|
||||
* Converts input hex string characters into an array of equivalent of u8 bytes.
|
||||
*
|
||||
* @param src Pointer to array of output hex string characters.
|
||||
* @param len Length of src array.
|
||||
*/
|
||||
u32 HexToInt(const u8* src, std::size_t len);
|
||||
|
||||
/**
|
||||
* Convert a gdb-formatted hex string into a u32.
|
||||
*
|
||||
* @param src Pointer to hex string.
|
||||
*/
|
||||
u32 GdbHexToInt(const u8* src);
|
||||
|
||||
/**
|
||||
* Convert a gdb-formatted hex string into a u64.
|
||||
*
|
||||
* @param src Pointer to hex string.
|
||||
*/
|
||||
u64 GdbHexToLong(const u8* src);
|
||||
|
||||
} // namespace GDBStub
|
||||
|
Loading…
Reference in New Issue
Block a user