mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
blockdev: Collect block device code in new blockdev.c
Anything that moves hundreds of lines out of vl.c can't be all bad. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
7b370f5130
commit
666daa6823
34 changed files with 692 additions and 660 deletions
|
@ -21,8 +21,7 @@
|
|||
#include "qemu-common.h"
|
||||
#include "flash.h"
|
||||
#include "irq.h"
|
||||
#include "sysemu.h"
|
||||
#include "block.h"
|
||||
#include "blockdev.h"
|
||||
|
||||
/* 11 for 2kB-page OneNAND ("2nd generation") and 10 for 1kB-page chips */
|
||||
#define PAGE_SHIFT 11
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue