]> Zhao Yanbai Git Server - minix.git/commit
kernel: oxpcie serial card support.
authorBen Gras <ben@minix3.org>
Wed, 19 May 2010 10:00:02 +0000 (10:00 +0000)
committerBen Gras <ben@minix3.org>
Wed, 19 May 2010 10:00:02 +0000 (10:00 +0000)
commit9ba760e603eb56aca64d8d9680c68a45e055ba94
tree73c35dd88559027214f8c729e150e140fd0d11d7
parentdcc81d73e870c85d2cdec65c5bba7f7e7877bf72
kernel: oxpcie serial card support.

ask to map in oxpcie i/o memory and support serial i/o for it in the
kernel. set oxpcie=<address> in boot monitor (retrieve address using
pci_debug=1 output). (no sanity checking is done on the address
currently.) disabled by default.

The change also contains some other minor cleanup (a new serial.h to set
register info common to UART and the OXPCIe card, in-kernel memory
mapping a little more structured and env_get() to get sysenv variables
without knowing about the params_buffer).
kernel/arch/i386/Makefile.inc
kernel/arch/i386/arch_system.c
kernel/arch/i386/memory.c
kernel/arch/i386/oxpcie.c [new file with mode: 0644]
kernel/arch/i386/oxpcie.h [new file with mode: 0644]
kernel/arch/i386/serial.h [new file with mode: 0644]
kernel/kernel.h
kernel/proto.h
kernel/start.c