mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-07 05:19:20 +00:00
Fix compiler warnings
This commit is contained in:
@ -157,10 +157,10 @@ LockClass mExtTrkLock;
|
||||
* https://en.wikipedia.org/wiki/Control_register
|
||||
* https://web.archive.org/web/20160312223150/http://ncsi.com/nsatc11/presentations/wednesday/emerging_technologies/fischer.pdf
|
||||
* https://en.wikipedia.org/wiki/Supervisor_Mode_Access_Prevention
|
||||
*
|
||||
*
|
||||
* - Atomic operations:
|
||||
* https://en.cppreference.com/w/cpp/atomic/atomic
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef a64
|
||||
@ -185,7 +185,6 @@ NewLock(KernelLock);
|
||||
|
||||
#include <intrin.hpp>
|
||||
|
||||
using namespace SSE2;
|
||||
using VirtualFileSystem::File;
|
||||
using VirtualFileSystem::FileStatus;
|
||||
using VirtualFileSystem::Node;
|
||||
@ -501,6 +500,7 @@ EXTERNC __no_stack_protector NIF void Entry(BootInfo *Info)
|
||||
|
||||
EXTERNC __no_stack_protector void BeforeShutdown(bool Reboot)
|
||||
{
|
||||
UNUSED(Reboot);
|
||||
/* TODO: Announce shutdown */
|
||||
|
||||
trace("\n\n\n#################### SYSTEM SHUTTING DOWN ####################\n\n");
|
||||
|
Reference in New Issue
Block a user