Commit Graph

1149 Commits

Author SHA1 Message Date
Laurent Vivier
dd295326db Allows SCSI second level to use block: protocol 2008-02-14 20:15:26 +00:00
Laurent Vivier
6f37023fb1 Correct typo 2008-02-14 20:05:11 +00:00
Laurent Vivier
0ec74c655d for chainloader, size of "block:" is in bytes 2008-02-14 19:53:01 +00:00
Laurent Vivier
7e4c1ca39c block: takes an offset in blocks and not in bytes (to be able to manage SCSI disk) 2008-02-14 19:46:10 +00:00
Laurent Vivier
1ff43d1924 Better management of chainloader 2008-02-10 01:36:39 +00:00
Laurent Vivier
d4719723dc correct typo about --restore 2008-02-09 16:38:50 +00:00
Laurent Vivier
bef869a741 Check boot signature and flush caches 2007-11-05 21:21:02 +00:00
Laurent Vivier
6bd242d7ce Call chainloader, for the moment EMILE is only able to chaiload itself... 2007-11-03 21:04:09 +00:00
Laurent Vivier
3f4a3c5000 Add LMSetBootDriver() 2007-11-03 20:40:37 +00:00
Laurent Vivier
90b8e2db0b Add FlushInstructionCache(), FlushDataCache(), DisableExtCache(), FlushExtCache() and FlushCodeCacheRange() 2007-11-03 20:37:55 +00:00
Laurent Vivier
1ee27546a1 Add _HWPriv dispatcher 2007-11-03 20:36:53 +00:00
Laurent Vivier
b04a3d1638 Set more information in streamp_r, allows to retrieve unit id with stream_fstat() 2007-11-02 22:11:28 +00:00
Laurent Vivier
47a16fe0c8 use sector number instead of computing it from struct size and block size 2007-11-02 09:40:04 +00:00
Laurent Vivier
c4fb2d359e Add error message 2007-11-02 09:39:21 +00:00
Laurent Vivier
3eb3d6005e use directly block address instead of computing it with blocksize, correct parameter of get_blocksize() 2007-11-01 22:52:17 +00:00
Laurent Vivier
642feb9d59 Correct parameters of get_blocksize() 2007-11-01 22:43:06 +00:00
Laurent Vivier
d3e4392b75 correct call of get_blocksize() 2007-11-01 22:12:38 +00:00
Laurent Vivier
eb9c17f5ad Add map_get_blocksize() 2007-11-01 22:07:17 +00:00
Laurent Vivier
79f9107e45 Add some messages, add map_get_blocksize(), correct close() 2007-11-01 21:18:45 +00:00
Laurent Vivier
22b712687f Cleanup partition map management 2007-10-22 23:13:23 +00:00
Laurent Vivier
55aa4a8e04 correct memory corruption by hazardous free(), correct bad values (uninitalized) in error message 2007-10-22 22:06:52 +00:00
Laurent Vivier
ac524c2a45 store read_config() result in a structure 2007-10-21 01:48:34 +00:00
Laurent Vivier
a844b4c51a correct uninitialized value (offset) 2007-10-21 01:26:48 +00:00
Laurent Vivier
cf28f647c7 Clear configuration memory 2007-10-21 01:16:11 +00:00
Laurent Vivier
db07ccf564 Update 2007-10-21 01:01:20 +00:00
Laurent Vivier
90db2e2b91 Add libmap 2007-10-10 21:17:40 +00:00
Laurent Vivier
efe9ec379d Add libmap-m68k dependencies 2007-10-10 21:17:00 +00:00
Laurent Vivier
7473cf35d2 use libmap 2007-10-10 21:13:35 +00:00
Laurent Vivier
b0c25d723f rename map_partition_read and map_partition_write to map_read_sector and map_write_sector 2007-10-10 21:07:52 +00:00
Laurent Vivier
b189dfbbed rename map_partition_read and map_partition_write to map_read_sector and map_write_sector 2007-10-10 20:58:25 +00:00
Laurent Vivier
e134c95553 Duplicate device on open and free on close, close device on map close 2007-10-10 20:49:55 +00:00
Laurent Vivier
2e5094aff9 Add chainloader parameter 2007-10-10 17:16:15 +00:00
Laurent Vivier
41b81d76fb Add load_chainloader() 2007-10-10 17:14:42 +00:00
Laurent Vivier
ce315dd349 Add device_get_blocksize() 2007-10-10 16:47:03 +00:00
Laurent Vivier
912c63ad48 Add device_get_blocksize(), and adjust offset using blocksize instead of << 11 2007-10-10 16:46:03 +00:00
Laurent Vivier
22d6bc63a9 data is map->device->data and not map->device, read_sector() and write_sector() need an offset in block and not in bytes whereas size is in bytes 2007-10-10 16:41:31 +00:00
Laurent Vivier
ffe511becc correct signedness of 4th arguments of map_partition_{read|write} 2007-10-09 20:48:13 +00:00
Laurent Vivier
360b17f8cc use map_partition_read() and map_partition_write() 2007-10-09 20:43:05 +00:00
Laurent Vivier
00c1bbf35a use bytes instead of block 2007-10-09 20:40:37 +00:00
Laurent Vivier
6c9d87a9dc Add map_partition_read.c and map_partition_write.c 2007-10-09 20:16:52 +00:00
Laurent Vivier
499cf44318 call map_partition_read() 2007-10-09 20:15:49 +00:00
Laurent Vivier
e07088c23c call map_partition_write() 2007-10-09 20:15:32 +00:00
Laurent Vivier
c5f68b4a0e correct name 2007-10-09 20:14:23 +00:00
Laurent Vivier
f76443357e correct names 2007-10-09 20:13:57 +00:00
Laurent Vivier
79d62ad6ba corret typo 2007-10-09 20:06:12 +00:00
Laurent Vivier
ffa835644d Add map_partition_read() and map_partition_write() 2007-10-09 20:00:27 +00:00
Laurent Vivier
f2745a6bbb use device_io_t 2007-10-09 19:29:13 +00:00
Laurent Vivier
4555512e10 Add device.c to link emile and emile-map-set 2007-10-09 19:23:18 +00:00
Laurent Vivier
69aec7aac7 use device_sector_size to set sector size to 2048 2007-10-09 19:21:14 +00:00
Laurent Vivier
7ba120c6c5 Add device_write_sector() and device_sector_size, use int fd instead FILE* 2007-10-09 19:16:11 +00:00