LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
Functions | Variables
edram.c File Reference
#include <xenos/edram.h>
#include "xe.h"
#include "xe_internal.h"
#include <stdio.h>
#include <stdlib.h>
#include <time/time.h>
#include <string.h>
#include <assert.h>
#include <xetypes.h>
Include dependency graph for edram.c:

Go to the source code of this file.

Functions

void xenos_write32 (int reg, uint32_t val)
 
uint32_t xenos_read32 (int reg)
 
void edram_p3 (int *res)
 
void edram_p4 (int *res)
 
int edram_p2 (int r3, int r4, int r5, int r6, int r7, int r8, int r9, int r10)
 
void edram_pc (void)
 
int edram_compare_crc (uint32_t *crc)
 
void edram_init_state1 (void)
 
void edram_72c (struct XenosDevice *xe)
 
void edram_974 (struct XenosDevice *xe)
 
void edram_9e4 (struct XenosDevice *xe)
 
void edram_bec (struct XenosDevice *xe)
 
void edram_4c (struct XenosDevice *xe)
 
void edram_init (struct XenosDevice *xe)
 

Variables

u32 xenos_id
 
u32 edram_id =0
 
u32 edram_rev =0
 
int reloc [10]
 

Function Documentation

◆ edram_4c()

void edram_4c ( struct XenosDevice xe)

Definition at line 1001 of file edram.c.

◆ edram_72c()

void edram_72c ( struct XenosDevice xe)

Definition at line 623 of file edram.c.

◆ edram_974()

void edram_974 ( struct XenosDevice xe)

Definition at line 737 of file edram.c.

◆ edram_9e4()

void edram_9e4 ( struct XenosDevice xe)

Definition at line 766 of file edram.c.

◆ edram_bec()

void edram_bec ( struct XenosDevice xe)

Definition at line 865 of file edram.c.

◆ edram_compare_crc()

int edram_compare_crc ( uint32_t crc)

Definition at line 549 of file edram.c.

◆ edram_init()

void edram_init ( struct XenosDevice xe)

Definition at line 1209 of file edram.c.

◆ edram_init_state1()

void edram_init_state1 ( void  )

Definition at line 590 of file edram.c.

◆ edram_p2()

int edram_p2 ( int  r3,
int  r4,
int  r5,
int  r6,
int  r7,
int  r8,
int  r9,
int  r10 
)

Definition at line 94 of file edram.c.

◆ edram_p3()

void edram_p3 ( int *  res)

Definition at line 53 of file edram.c.

◆ edram_p4()

void edram_p4 ( int *  res)

Definition at line 73 of file edram.c.

◆ edram_pc()

void edram_pc ( void  )

Definition at line 526 of file edram.c.

◆ xenos_read32()

uint32_t xenos_read32 ( int  reg)

Definition at line 32 of file xenos.c.

◆ xenos_write32()

void xenos_write32 ( int  reg,
uint32_t  val 
)

Definition at line 26 of file xenos.c.

Variable Documentation

◆ edram_id

u32 edram_id =0

Definition at line 18 of file edram.c.

◆ edram_rev

u32 edram_rev =0

Definition at line 18 of file edram.c.

◆ reloc

int reloc[10]

Definition at line 621 of file edram.c.

◆ xenos_id

u32 xenos_id
extern

Definition at line 21 of file xenos.c.