LibXenon
Bare-metal Xbox 360 homebrew library
|
#include <stdio.h>
#include <xenon_smc/xenon_smc.h>
#include <xenon_soc/xenon_power.h>
#include <xenon_soc/xenon_io.h>
#include <xenon_nand/xenon_config.h>
#include <ppc/register.h>
#include <ppc/xenonsprs.h>
#include <ppc/atomic.h>
#include <time/time.h>
#include <pci/io.h>
#include <debug.h>
Go to the source code of this file.
Functions | |
void | xenon_yield (void) |
void | wakeup_cpus (void) |
void | prepare_sleep (uint64_t *save) |
void | cpusleep (void) |
void | secondary_wakeup (void) |
void | xenon_thread_sleep (void) |
void | xenon_set_speed (int new_speed, int vid_delta) |
int | xenon_get_speed () |
int | xenon_run_thread_task (int thread, void *stack, void *task) |
int | xenon_is_thread_task_running (int thread) |
void | xenon_make_it_faster (int speed) |
void | xenon_thread_startup (void) |
void | xenon_sleep_thread (int thread) |
void | xenon_set_single_thread_mode () |
Variables | |
volatile int | wait [12] |
volatile int | secondary_alive |
unsigned int | secondary_lock |
void cpusleep | ( | void | ) |
void prepare_sleep | ( | uint64_t * | save | ) |
Definition at line 45 of file xenon_power.c.
void secondary_wakeup | ( | void | ) |
void wakeup_cpus | ( | void | ) |
Definition at line 29 of file xenon_power.c.
int xenon_get_speed | ( | ) |
Definition at line 202 of file xenon_power.c.
int xenon_is_thread_task_running | ( | int | thread | ) |
Definition at line 217 of file xenon_power.c.
void xenon_make_it_faster | ( | int | speed | ) |
Definition at line 226 of file xenon_power.c.
int xenon_run_thread_task | ( | int | thread, |
void * | stack, | ||
void * | task | ||
) |
Definition at line 208 of file xenon_power.c.
void xenon_set_single_thread_mode | ( | ) |
Definition at line 276 of file xenon_power.c.
void xenon_set_speed | ( | int | new_speed, |
int | vid_delta | ||
) |
Definition at line 72 of file xenon_power.c.
void xenon_sleep_thread | ( | int | thread | ) |
Definition at line 270 of file xenon_power.c.
void xenon_thread_sleep | ( | void | ) |
Definition at line 60 of file xenon_power.c.
void xenon_thread_startup | ( | void | ) |
Definition at line 263 of file xenon_power.c.
void xenon_yield | ( | void | ) |
Definition at line 20 of file xenon_power.c.
|
extern |
|
extern |
|
extern |