Re: My embedded linux project

Riley Williams (rhw@bigfoot.com)
Sat, 2 Jan 1999 08:26:06 +0000 (GMT)


Hi David.

>>> The power on reset is at 0xFFF0 (If memory serves me right.) If
>>> you had no BIOS this is where you would put a Far Jmp to your
>>> initialisation code.

>>> e.g.
>>> org FFF0:
>>> db 0eah
>>> dw offset
>>> dw segment

>> Not quite: It's actually at real-mode segment address -1:0 which
>> corresponds to address 000FFFF0 hex in the real-mode memory map...

> Anyone know where the power down stuff is? You know where software
> turns off the computer?

I don't know the exact details, but Linux's support for it is in the
file linux/arch/i386/kernel/apm.c - apparently, the i386 is the only
architecture on which it's supported so far...

Best wishes from Riley.

---
 * ftp://ps.cus.umist.ac.uk/pub/rhw/Linux
 * http://ps.cus.umist.ac.uk/~rhw/kernel.versions.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/