XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 22, 2013, 06:51:56 PM


Login with username, password and session length


Pages: 1
  Print  
Author Topic: Xbox 360 DISK_GEOMETRY Structure  (Read 2240 times)
Eaton
Hacker
***
Posts: 73


View Profile
« on: January 15, 2012, 03:07:32 PM »

I have been reversing some Mass functions in the kernel lately and I need to know the proper layout of the disk geometry.
According to my research, the structure size is 0x8 instead of 0x18. I have been trying to find it where the values are coming from, but haven't had much success.



I am trying to figure out how the value at r31 + 0x98 is generated. At the end of the second branch it is storing the values, which are returned and used in functions that called this function.
The goal here is to find what this value is and how to get it from the device when in a Windows environment.

Has anyone ever looked at this before? When I connect this USB to my PC and call DeviceIoControl to get the geom, none of the values match what it is storing in 0(r11).
Logged
CLK
Member
**
Posts: 18


View Profile
« Reply #1 on: January 18, 2012, 07:58:12 PM »

Are you sure?  It should be still be of size 0x18.

Code:
typedef struct _DISK_GEOMETRY {
    LARGE_INTEGER Cylinders;
    MEDIA_TYPE MediaType;
    ULONG TracksPerCylinder;
    ULONG SectorsPerTrack;
    ULONG BytesPerSector;
} DISK_GEOMETRY;

How did you figure 0x8?
Logged
Pages: 1
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM