1291 Commits

Author SHA1 Message Date
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
Laurent Vivier
2fe3ca34e7 add -I. 2007-10-09 19:10:58 +00:00
Laurent Vivier
f85ef57bc2 Restore emile_scsi_get_dev(), emile_get_dev_name() and emile_scsi_get_rdev() 2007-10-09 19:10:15 +00:00
Laurent Vivier
0139be9609 move from stdio to device_io_t 2007-10-09 19:02:42 +00:00
Laurent Vivier
ce59576cf7 Add definition of stream_write_sector_t 2007-10-08 20:56:21 +00:00
Laurent Vivier
816a2002a7 define driver_ptr() which computes driver pointer according handle and dCtlFlags 2007-10-08 13:32:52 +00:00
Laurent Vivier
8b3e28e5b7 add drive_to_refnum() and refnum_to_drive() 2007-10-08 13:20:24 +00:00
Laurent Vivier
636b4d0868 Find scsi id accorind refnum and vice-versa 2007-10-08 12:38:22 +00:00
Laurent Vivier
52a797f3eb Manage chainloader attribute in configuration files 2007-10-08 12:05:52 +00:00