INT 15.87 in protected mode (Developers)
> There are two "parts" to ACPI. Part of it is stored in fixed-format
> tables, and part of it is more "free-form" (this includes the AML part).
> Nothing in ACPI is trivial, but the fixed-format part is not too difficult
> to wade through. The details on how to change the CPU duty cycle and how
> to shut down the computer are in the fixed-format part.
Well, could you tell me e.g. what can I read from fixed tables about modifying CPU duty cycle? How ACPI describe it? Will I read some IO port address or memory address and description what data to write in? I though that you have to run AML code for that but if not then it would be easier...
> The "free-form" part is another matter altogether. AML in particular is
> EXTREMELY nasty. Unfortunately, determining the number of CPU's must be
> done by parsing the free-form part, though it is not AML, so I think it
> could be done without too much difficulty (famous last words, since I've
> never actually done it).
I'll see. ACPI spec has many many pages... :P
> It's definitely not as easy as figuring out how to shut down the computer.
Some years ago I made an utility that can shutdown PC in a hard way by programming some PCI registers of ICH via SMBus. It's quite simle:
#define SMB_ICH_SLAVE 0x44 // 1000100 - ICH SMB Slave port
#define ICH_SLAVE_CMD_REG 0 // reg. 0 - Command Register
#define ICH_SLAVE_WAKEUP_CMD 1 // 0x01 - WakeUp if is in sleep state
#define ICH_SLAVE_PWRDOWN_CMD 2 // 0x02 - Unconditional Powerdown
#define ICH_SLAVE_HWRESET_CMD 3 // 0x03 - Hardware Reset without power off/on
#define ICH_SLAVE_HWRESETOFFON_CMD 4 // 0x04 - Hardware Reset with power off/on
#define ICH_SLAVE_WDRELOAD_CMD 6 // 0x06 - WatchDog timer Reload
smb_write8(SMB_ICH_SLAVE,cmd,ICH_SLAVE_CMD_REG);
http://rayer.ic.cz/programm/pwrdown.exe
> The other thing to keep in mind is that at least some computers store bogus
> information in ACPI, so you can't necessarily believe what it tells you.
Yes, also windows and linux denied to use ACPI on some old PC but I belive it's clean now.
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- INT 15.87 in protected mode - Laaca, 29.08.2011, 14:11 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- INT 15.87 in protected mode - Rugxulo, 29.08.2011, 23:28
- INT 15.87 in protected mode - Japheth, 30.08.2011, 05:27
- INT 15.87 in protected mode - Rugxulo, 30.08.2011, 05:37
- INT 15.87 in protected mode - Laaca, 30.08.2011, 07:22
- INT 15.87 in protected mode - Japheth, 30.08.2011, 08:47
- INT 15.87 in protected mode - Rugxulo, 31.08.2011, 01:30
- INT 15.87 in protected mode - Laaca, 31.08.2011, 07:33
- INT 15.87 in protected mode - Rugxulo, 31.08.2011, 21:27
- INT 15.87 in protected mode - Laaca, 02.09.2011, 07:10
- INT 15.87 in protected mode - marcov, 02.09.2011, 09:58
- INT 15.87 in protected mode - Rugxulo, 03.09.2011, 21:49
- INT 15.87 in protected mode - DOS386, 04.09.2011, 12:43
- INT 15.87 in protected mode - Rugxulo, 03.09.2011, 21:49
- INT 15.87 in protected mode - marcov, 02.09.2011, 09:58
- INT 15.87 in protected mode - Laaca, 02.09.2011, 07:10
- INT 15.87 in protected mode - Rugxulo, 31.08.2011, 21:27
- INT 15.87 in protected mode - Japheth, 31.08.2011, 10:11
- INT 15.87 in protected mode - Rugxulo, 31.08.2011, 21:25
- INT 15.87 in protected mode - ecm, 01.09.2011, 02:17
- INT 15.87 in protected mode - Rugxulo, 01.09.2011, 04:31
- INT 15.87 in protected mode - Rugxulo, 01.09.2011, 05:00
- INT 15.87 in protected mode - Rugxulo, 01.09.2011, 04:31
- INT 15.87 in protected mode - ecm, 01.09.2011, 02:17
- INT 15.87 in protected mode - Rugxulo, 31.08.2011, 21:25
- INT 15.87 in protected mode - Laaca, 31.08.2011, 07:33
- INT 15.87 in protected mode - Rugxulo, 31.08.2011, 01:30
- INT 15.87 in protected mode - Japheth, 30.08.2011, 08:47
- INT 15.87 in protected mode - Japheth, 30.08.2011, 05:27
- INT 15.87 in protected mode - RayeR, 07.09.2011, 10:28
- INT 15.87 in protected mode - Laaca, 07.09.2011, 12:28
- INT 15.87 in protected mode - RayeR, 07.09.2011, 21:05
- INT 15.87 in protected mode - Laaca, 08.09.2011, 07:33
- INT 15.87 in protected mode - bretjohn, 08.09.2011, 18:19
- INT 15.87 in protected mode - Laaca, 08.09.2011, 22:39
- INT 15.87 in protected mode - Rugxulo, 08.09.2011, 22:50
- INT 15.87 in protected mode - Laaca, 08.09.2011, 22:39
- INT 15.87 in protected mode - RayeR, 08.09.2011, 22:27
- INT 15.87 in protected mode - bretjohn, 09.09.2011, 00:31
- INT 15.87 in protected mode - RayeR, 09.09.2011, 01:51
- INT 15.87 in protected mode - bretjohn, 09.09.2011, 20:09
- INT 15.87 in protected mode - bretjohn, 09.09.2011, 23:17
- INT 15.87 in protected mode - RayeR, 09.09.2011, 01:51
- INT 15.87 in protected mode - bretjohn, 09.09.2011, 00:31
- INT 15.87 in protected mode - bretjohn, 08.09.2011, 18:19
- INT 15.87 in protected mode - Laaca, 08.09.2011, 07:33
- INT 15.87 in protected mode - RayeR, 07.09.2011, 21:05
- INT 15.87 in protected mode - Laaca, 07.09.2011, 12:28
- INT 15.87 in protected mode - Rugxulo, 29.08.2011, 23:28
Mix view