Re: [PATCH]X86:reboot.c Add some dmi entries to pci_reboot_dmi_table.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Justin P. Mattock
Date: Wednesday, June 2, 2010 - 5:05 pm

On 06/02/2010 04:45 PM, Robert Hancock wrote:

my bad(tired)I left out iopl(3);
in the code which was giving a segfault.

running the below code(s) just gives a command prompt

int main() {
	iopl(3);
	outb(0xfe, 0xcf9);
	return 0;
}

int main() {
	iopl(3);
	outb(6, 0xcf9);
	return 0;
}

int main() {
	iopl(3);
	outb(6, 0x64);
	return 0;
}

int main() {
	iopl(3);
	outb(0xfe, 0x64);
	return 0;
}


(and yes I made sure I did this as root!!)

:-)

alright!!
Im wondering if KBD_STATUS_REG is wrong on this machine?
and/or 0x472(will look into this stuff)

cheers,

Justin P. Mattock
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH]X86:reboot.c Add some dmi entries to pci_reboot_dmi ..., Justin P. Mattock, (Fri May 28, 11:26 pm)
Re: [PATCH]X86:reboot.c Add some dmi entries to pci_reboot ..., Justin P. Mattock, (Mon May 31, 10:46 am)
Re: [PATCH]X86:reboot.c Add some dmi entries to pci_reboot ..., Justin P. Mattock, (Tue Jun 1, 12:14 pm)
Re: [PATCH]X86:reboot.c Add some dmi entries to pci_reboot ..., Justin P. Mattock, (Tue Jun 1, 11:01 pm)
Re: [PATCH]X86:reboot.c Add some dmi entries to pci_reboot ..., Justin P. Mattock, (Wed Jun 2, 5:05 pm)