mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-14 23:16:55 -04:00
Add some debug
This commit is contained in:
parent
f08489831c
commit
7a92d8f3ed
@ -20,6 +20,7 @@
|
||||
#include "interrupts.hpp"
|
||||
#include "timer.hpp"
|
||||
#include "pci.hpp"
|
||||
#include "logging.hpp"
|
||||
|
||||
#include "mutex.hpp"
|
||||
#include "semaphore.hpp"
|
||||
@ -33,6 +34,8 @@ extern "C" {
|
||||
* \brief Initialize the OSL
|
||||
*/
|
||||
ACPI_STATUS AcpiOsInitialize(){
|
||||
logging::logf(logging::log_level::DEBUG, "ACPICA started initialization\n");
|
||||
|
||||
//Nothing to initialize
|
||||
|
||||
return AE_OK;
|
||||
@ -187,6 +190,8 @@ ACPI_STATUS AcpiOsExecute(ACPI_EXECUTE_TYPE /*type*/, ACPI_OSD_EXEC_CALLBACK fun
|
||||
auto& process = scheduler::create_kernel_task_args(user_stack, kernel_stack, function, context);
|
||||
process.ppid = scheduler::get_pid();
|
||||
|
||||
logging::logf(logging::log_level::DEBUG, "ACPICA new process %u\n", process.pid);
|
||||
|
||||
scheduler::queue_system_process(process.pid);
|
||||
|
||||
return AE_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user