target-i386: Split out CPU creation and features parsing
commit7f833247df4b68719413b5dccc5f84944f442cb3
authorIgor Mammedov <imammedo@redhat.com>
Thu, 11 Apr 2013 14:51:40 +0000 (11 16:51 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 15 Apr 2013 23:19:46 +0000 (16 01:19 +0200)
treee4d0ca0f96e8c060af29af38fb887b23d6bbd6cf
parentdd13e08804c8c33c6021c0e27787422534d3b321
target-i386: Split out CPU creation and features parsing

Move CPU creation and features parsing into a separate cpu_x86_create()
function, so that board would be able to set board-specific CPU
properties before CPU is realized.

Keep cpu_x86_init() for compatibility with the code that uses cpu_init()
and doesn't need to modify CPU properties.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386/cpu.c
target-i386/cpu.h