diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-16 22:05:46 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-16 22:05:46 +0000 |
commit | 77fef8c148e4bec1d1089b3729bd32efdbd3a6c0 (patch) | |
tree | 3e098d734a9259b3d3433a25c5e1b60bc6bac4d2 /vl.h | |
parent | 59817ccb2c220732d3dc282b47a74faa1c4d06ce (diff) |
experimental code copy support - added new Linux kernel loader
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@620 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r-- | vl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,6 @@ extern int64_t ticks_per_sec; typedef void (IOPortWriteFunc)(struct CPUState *env, uint32_t address, uint32_t data); typedef uint32_t (IOPortReadFunc)(struct CPUState *env, uint32_t address); -void *get_mmap_addr(unsigned long size); int register_ioport_read(int start, int length, IOPortReadFunc *func, int size); int register_ioport_write(int start, int length, IOPortWriteFunc *func, int size); void pic_set_irq(int irq, int level); @@ -56,6 +55,7 @@ int bdrv_write(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors); void bdrv_get_geometry(BlockDriverState *bs, int64_t *nb_sectors_ptr); int bdrv_commit(BlockDriverState *bs); +void bdrv_set_boot_sector(BlockDriverState *bs, const uint8_t *data, int size); /* user mode linux compatible COW file */ #define COW_MAGIC 0x4f4f4f4d /* MOOO */ |