Hypervisor Reverse Engineering: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Undo revision 618 by Admin (talk))
(Undo revision 618 by Admin (talk))
Line 52: Line 52:
*'''GameOS 3.41''' VUART IRQ bitmap is at address '''0x80000000003556E8''' and of size '''32 bytes (256 bits, each bit corresponds to a VUART port)'''.  
*'''GameOS 3.41''' VUART IRQ bitmap is at address '''0x80000000003556E8''' and of size '''32 bytes (256 bits, each bit corresponds to a VUART port)'''.  
*'''GameOS 3.15''' VUART IRQ bitmap is at address '''0x8000000000354768'''.
*'''GameOS 3.15''' VUART IRQ bitmap is at address '''0x8000000000354768'''.
comment4 http://www.springfieldchamber.com/no_cache/business_directory/business_a_z/?tx_teksaccext_pi3[mode]=viewCat&tx_teksaccext_pi3[uid]=216&cHash=c534a94185 diet gain lose weight weight http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewdate&tx_teksaccext_pi4[date]=1289541600 submissive and domination http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewdate&tx_teksaccext_pi4[date]=1310533200 google submit website url http://www.springfieldchamber.com/no_cache/business_directory/?tx_teksaccext_pi1[mode]=showBiz&tx_teksaccext_pi1[businessUID]=3495&cHash=1d703406a0 darcy's sugar glider diet recipe http://www.springfieldchamber.com/no_cache/business_directory/business_a_z/?tx_teksaccext_pi3[mode]=emailForm&tx_teksaccext_pi3[uid]=1517 diet salad http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewdate&tx_teksaccext_pi4[date]=1288760400 diet for healing polycystic kidney disease http://www.springfieldchamber.com/no_cache/business_directory/?tx_teksaccext_pi1[mode]=showBiz&tx_teksaccext_pi1[businessUID]=183&cHash=d1042bf4f4 south beach diet changes http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=072011&tx_teksaccext_pi4[expandEvents]=true diet for barrets disease http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=112010&tx_teksaccext_pi4[expandEvents]=true high protein low carbohydrate diet examples http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=111792&tx_teksaccext_pi4[expandEvents]=true michelle mccool submission http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewdate&tx_teksaccext_pi4[date]=1310619600 best free lose way weight http://www.springfieldchamber.com/no_cache/about_us/who_we_are/the_chambers_2009_strategic_priority_issues/2008_strategic_priority_issues/ apidexin diet medication http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewdate&tx_teksaccext_pi4[date]=1289282400 cilantro south beach diet http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=082011 submissive man slave http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewdate&tx_teksaccext_pi4[date]=1289368800 the save your life diet
comment6 http://www.springfieldchamber.com/typo3c � 2011-02-21 low carb diets con and pro points http://www.springfieldchamber.com/typo3con � 2011-02-21 dietetics program http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=092152&tx_teksaccext_pi4[category]=12 crestor weight loss http://www.springfieldchamber.com/no_cache/news_updates/member_job_postings/?tx_tekjobs_pi1[mode]=viewDetails&tx_tekjobs_pi1[jobId]=119} ideal diet plan http://www.springfieldchamber.com/no_cache/news_updates/chamber_publications/springfield_spirit/october_2010_espirit/ weight loss programs for the tradition male http://www.springfieldchamber.com/news_updates/chamber_news/news_display/article/significant_economic_development_projects_for_springfield_area_announced/?tx_ttnews[backPid]=124&cHash=8a27a4dd56 form intitle site site submit travel web http://www.springfieldchamber.com/news_updates/chamber_news/news_display/article/three_honored_for_excellence_in_health_care/?tx_ttnews[backPid]=124&cHash=4f05f6e32c prepared shakes diet http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=092152&tx_teksaccext_pi4[category]=6&tx_teksaccext_pi4[expandEvents]=true atkins induction loss weight http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=092152&tx_teksaccext_pi4[category]=4&tx_teksaccext_pi4[expandEvents]=true dietary fiber com http://www.springfieldchamber.com/no_cache/business_directory/business_a_z/?tx_teksaccext_pi3[mode]=emailForm&tx_teksaccext_pi3[uid]=6083 finding the right diet for me http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=092152&tx_teksaccext_pi4[category]=8&tx_teksaccext_pi4[expandEvents]=true celerite diet pill http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=092152&tx_teksaccext_pi4[expandEvents]=true&tx_teksaccext_pi4[category]=10 paleo caveman diet http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=092152&tx_teksaccext_pi4[category]=14&tx_teksaccext_pi4[expandEvents]=true hallelujah diet and jordan http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=071794 gout diet guidelines http://www.springfieldchamber.com/no_cache/news_updates/calendar_and_special_events/?tx_teksaccext_pi4[mode]=viewMonth&tx_teksaccext_pi4[month]=121837&tx_teksaccext_pi4[expandEvents]=true&tx_teksaccext_pi4[category]=19 smart for life cookie diets

Revision as of 01:28, 12 March 2011

This is a copy of the page from 22nd of February 2011, right before ps3wiki.lan.st went down.


Event Notification

  • Event Notfication is used e.g. to notify a LPAR about some event, e.g. device interrupt or notify a LPAR about destruction of another LPAR.
  • For example Process 9 is notified through Event Notification when LPAR 2 is destructed.
  • During LPAR construction, Process 9 creates an Outlet object with syscall 0x1001A and then passes the outlet ID to the syscall 0x10009 that constructs the LINUX LPAR. In this way Process 9 is notified when LINUX LPAR is destructed.

Outlet class

This is the base Outlet class. There are different types of Outlet and they derive from this base class.

vtable

0x00357DC0 (3.15)

Member variables

offset 0x30 - type (8 bytes)

offset 0x38 - pointer to LPAR that owns this Outlet object

offset 0x48 - outlet id (8 bytes)

offset 0x90 - VIRQ assigned to this Outlet object (4 bytes)

Event Receive Port class

  • This type of Outlet is created e.g. in lv1_construct_event_receive_port and in syscall 0x1001A.
  • HV calls lv1_connect_irq_plug and lv1_connect_irq_plug_ext assigns a VIRQ to Event Receive Port object.

vtable

0x00357E88

VUART Outlet

  • HV supports only one VUART Outlet per LPAR
  • lv1_configure_virtual_uart_irq constructs a VUART Outlet object and passes the address of LPAR's VUART IRQ Bitmap to HV

vtable

0x00357DC0

VUART IRQ Bitmap

  • At address 0x38(LPAR ptr) + 0x158 is the VUART IRQ Bitmap owned by HV for LPAR (4 * 8 bytes = 256 bits)
  • At address 0x38(LPAR ptr) + 0x150 is stored the physical address of LPAR's VUART IRQ Bitmap that was passed to lv1_configure_virtual_uart_irq
  • When a VUART interrupt is generated by HV then first the VUART IRQ Bitmap owned by HV is updated and then this bitmap is copied to LPAR's VUART IRQ Bitmap, so VUART IRQ Bitmap is stored twice, once in HV and once in LPAR, just like IRQ State Bitmap.
  • VUART IRQ Bitmap is not allowed to cross page boundary of LPAR memory region where it is stored. HV checks it and makes sure that it doesn't happen.
  • GameOS 3.41 VUART IRQ bitmap is at address 0x80000000003556E8 and of size 32 bytes (256 bits, each bit corresponds to a VUART port).
  • GameOS 3.15 VUART IRQ bitmap is at address 0x8000000000354768.