Changes from v2: 1, split the code of CPU definition and machine construction 2, remove useless memory r/w functions 3, add source of pmon 4, code style and other errors have been fixed
Changes from v1: 1, fulong support is limited to mips64el only (doesn't affect mips, mips64 and mipsel) 2, qdev model is used for Bonito north bridge 3, code style and other errors have been fixed This series of patches are for qemu master branch. They make qemu initially support fulong (Loongson-2E based) mini pc, a new type of MIPS machine. Usage: 1, Load PMON as bios, and then load OS in PMON shell qemu-system-mips64el -M fulong2e -bios pmon_fulong2e.bin -hda /root/hda.img 2, Load OS directly with -kernel parameter qemu-system-mips64el -M fulong2e -kernel vmlinux -append "root=/dev/hda1 console=ttyS0" -hda /root/hda.img Patches include: [PATCH 1/7] MIPS: Initial support of bonito north bridge used by fulong mini pc [PATCH 2/7] MIPS: Initial support of vt82686b south bridge used by fulong mini pc [PATCH 3/7] MIPS: Initial support of VIA IDE controller used by fulong mini pc [PATCH 4/7] MIPS: Initial support of VIA USB controller used by fulong mini pc [PATCH 5/7] MIPS: Initial support of fulong mini pc (CPU definition) [PATCH 6/7] MIPS: Initial support of fulong mini pc (machine construction) [PATCH 7/7] MIPS: add PMON BIOS used by fulong mini pc Signed-off-by: Huacai Chen <zltjiang...@gmail.com>