Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
6d267142
There was an error fetching the commit references. Please try again later.
Commit
6d267142
authored
10 years ago
by
bunnei
Browse files
Options
Downloads
Patches
Plain Diff
svc: changed unimplemented SVC log messages from "debug" messages to "error" messages
parent
58af0da7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/hle/svc.cpp
+8
-8
8 additions, 8 deletions
src/core/hle/svc.cpp
with
8 additions
and
8 deletions
src/core/hle/svc.cpp
+
8
−
8
View file @
6d267142
...
...
@@ -106,7 +106,7 @@ Result SendSyncRequest(Handle handle) {
/// Close a handle
Result
CloseHandle
(
Handle
handle
)
{
// ImplementMe
DEBUG
_LOG
(
SVC
,
"(UNIMPLEMENTED) CloseHandle called handle=0x%08X"
,
handle
);
ERROR
_LOG
(
SVC
,
"(UNIMPLEMENTED) CloseHandle called handle=0x%08X"
,
handle
);
return
0
;
}
...
...
@@ -176,14 +176,14 @@ Result WaitSynchronizationN(void* _out, void* _handles, u32 handle_count, u32 wa
/// Create an address arbiter (to allocate access to shared resources)
Result
CreateAddressArbiter
(
void
*
arbiter
)
{
DEBUG
_LOG
(
SVC
,
"(UNIMPLEMENTED) CreateAddressArbiter called"
);
ERROR
_LOG
(
SVC
,
"(UNIMPLEMENTED) CreateAddressArbiter called"
);
Core
::
g_app_core
->
SetReg
(
1
,
0xFABBDADD
);
return
0
;
}
/// Arbitrate address
Result
ArbitrateAddress
(
Handle
arbiter
,
u32
addr
,
u32
_type
,
u32
value
,
s64
nanoseconds
)
{
DEBUG
_LOG
(
SVC
,
"(UNIMPLEMENTED) ArbitrateAddress called"
);
ERROR
_LOG
(
SVC
,
"(UNIMPLEMENTED) ArbitrateAddress called"
);
ArbitrationType
type
=
(
ArbitrationType
)
_type
;
Memory
::
Write32
(
addr
,
type
);
return
0
;
...
...
@@ -199,14 +199,14 @@ Result GetResourceLimit(void* resource_limit, Handle process) {
// With regards to proceess values:
// 0xFFFF8001 is a handle alias for the current KProcess, and 0xFFFF8000 is a handle alias for
// the current KThread.
DEBUG
_LOG
(
SVC
,
"(UNIMPLEMENTED) GetResourceLimit called process=0x%08X"
,
process
);
ERROR
_LOG
(
SVC
,
"(UNIMPLEMENTED) GetResourceLimit called process=0x%08X"
,
process
);
Core
::
g_app_core
->
SetReg
(
1
,
0xDEADBEEF
);
return
0
;
}
/// Get resource limit current values
Result
GetResourceLimitCurrentValues
(
void
*
_values
,
Handle
resource_limit
,
void
*
names
,
s32
name_count
)
{
DEBUG
_LOG
(
SVC
,
"(UNIMPLEMENTED) GetResourceLimitCurrentValues called resource_limit=%08X, names=%s, name_count=%d"
,
ERROR
_LOG
(
SVC
,
"(UNIMPLEMENTED) GetResourceLimitCurrentValues called resource_limit=%08X, names=%s, name_count=%d"
,
resource_limit
,
names
,
name_count
);
Memory
::
Write32
(
Core
::
g_app_core
->
GetReg
(
0
),
0
);
// Normmatt: Set used memory to 0 for now
return
0
;
...
...
@@ -255,13 +255,13 @@ Result ReleaseMutex(Handle handle) {
/// Get current thread ID
Result
GetThreadId
(
void
*
thread_id
,
u32
thread
)
{
DEBUG
_LOG
(
SVC
,
"(UNIMPLEMENTED) GetThreadId called thread=0x%08X"
,
thread
);
ERROR
_LOG
(
SVC
,
"(UNIMPLEMENTED) GetThreadId called thread=0x%08X"
,
thread
);
return
0
;
}
/// Query memory
Result
QueryMemory
(
void
*
_info
,
void
*
_out
,
u32
addr
)
{
DEBUG
_LOG
(
SVC
,
"(UNIMPLEMENTED) QueryMemory called addr=0x%08X"
,
addr
);
ERROR
_LOG
(
SVC
,
"(UNIMPLEMENTED) QueryMemory called addr=0x%08X"
,
addr
);
return
0
;
}
...
...
@@ -277,7 +277,7 @@ Result CreateEvent(void* _event, u32 reset_type) {
/// Duplicates a kernel handle
Result
DuplicateHandle
(
void
*
_out
,
Handle
handle
)
{
Handle
*
out
=
(
Handle
*
)
_out
;
DEBUG
_LOG
(
SVC
,
"(UNIMPLEMENTED) DuplicateHandle called handle=0x%08X"
,
handle
);
ERROR
_LOG
(
SVC
,
"(UNIMPLEMENTED) DuplicateHandle called handle=0x%08X"
,
handle
);
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment