Laurent Vivier
9cb0bca4d3
etch: cast off_t to uintmax_t in printf
...
We use %j modifier in printf to display off_t, but it's defined to use with intmax_t or intmax_t
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-08-14 18:14:12 +02:00
Laurent Vivier
3f860a13a1
etch: disable unsupported -Wno-XXXX flags
...
-Wno-address-of-packed-member -Wno-stringop-truncation and -Wno-array-bounds
are needed to be able to build with sid, but are not supported by etch
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-08-14 18:09:52 +02:00
Laurent Vivier
7c6c6b8f3e
off_t: fix mixed type and printf format
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-08-13 17:37:14 +02:00
Laurent Vivier
1dcbdde9a9
add -Wno-address-of-packed-member
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-08-13 17:34:59 +02:00
Laurent Vivier
56e4e09c35
add missing break statements
...
The switch statements in emile_scsi_get_dev() and emile-set-output
were missing break statements:
* MAJOR_IDE1 in emile_scsi_get_dev() fell through to default,
resulting in an "Unknown device major number" error.
* ARG_STOPBITS in emile-set-output fell through, so subsequent code
executed within the switch block.
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-06-25 19:12:06 +00:00
Laurent Vivier
081c7f96ee
libmap: move emile_checksum() to map_checksum()
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2015-11-08 22:47:21 +01:00
Laurent Vivier
4de7597e14
Allows to share EMILE directory between several archs
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2015-09-20 23:06:08 +02:00
Laurent Vivier
bd1790c47f
max_blocks is unused, but value must be read to change file offset
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2014-05-07 02:26:12 +02:00
Laurent Vivier
9bd9755dbb
Update email address
...
Signed-off-by: Laurent Vivier <Laurent@Vivier.EU >
2013-09-05 14:45:27 +02:00
Laurent Vivier
14f8dd5556
Remove unused variables (detected with gcc-4.6)
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2011-12-18 14:39:01 +01:00
Laurent Vivier
8a1be776ad
remove close() of unitialized fd
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2011-12-18 14:38:53 +01:00
Laurent Vivier
2d8317cb92
Add 64bit build host support for the first level parameters (replace void* by u_int32_t)
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2009-06-10 02:19:09 +02:00
Laurent Vivier
75f78cecb6
length is 16bit value
2008-08-12 09:12:25 +00:00
Laurent Vivier
b5058db8ef
return NULL if header version is wrong
2008-08-07 19:32:11 +00:00
Laurent Vivier
ffdcb53fed
correct typo between len and size
2008-07-29 00:28:35 +00:00
Laurent Vivier
56e7f86bc4
clear unused part of configuration buffer
2008-07-28 09:59:27 +00:00
Laurent Vivier
c6cf5c371e
parameters is now args
2008-07-11 22:15:32 +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
a844b4c51a
correct uninitialized value (offset)
2007-10-21 01:26:48 +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
d9feeb1a76
remove partition.h
2007-10-04 21:00:27 +00:00
Laurent Vivier
05a073b147
(c) 2007
2007-10-04 20:53:35 +00:00
Laurent Vivier
03a6bdeb25
move emile_map_* to libmap
2007-10-04 20:52:37 +00:00
Laurent Vivier
91b698a833
"vga default" is not a valid parameter for command line of emile_second_set_param()
2007-09-17 12:09:30 +00:00
Laurent Vivier
fb677da2fe
configuration is int8_t
2007-09-08 23:09:14 +00:00
Laurent Vivier
8a586c3e31
include tools.mk
2007-09-06 22:09:11 +00:00
Laurent Vivier
18f005c3a0
don't check if a file is gzipped (cannot manage correctly ramdisk), add "vga default" parameter
2007-08-31 22:34:39 +00:00
Laurent Vivier
76401bbcba
check if file is gzipped
2007-08-26 19:15:08 +00:00
Laurent Vivier
14c9373da5
change int to ssize_t for size
2007-08-26 18:50:48 +00:00
Laurent Vivier
d8941fa5c0
move functions to libconfig
2007-08-25 21:35:09 +00:00
Laurent Vivier
d7ef366023
use libconfig
2007-08-25 21:33:57 +00:00
Laurent Vivier
23de41a929
Skip first level if it exists
2007-08-24 09:27:29 +00:00
Laurent Vivier
51c3298ddd
Add emile_floppy_create(), emile_floppy_add(), emile_floppy_close()
2007-08-24 08:42:02 +00:00
Laurent Vivier
962e367b64
emile_second_set_param(): a NULL parameter doesn't remove the parameter, an empty string remove it
2007-05-22 20:03:26 +00:00
Laurent Vivier
5737c21d79
a NULL parameter doesn't remove the parameter, an empty string remove it
2007-05-22 20:02:28 +00:00
Laurent Vivier
f983467b0c
Signature EMILE_06_SIGNATURE is in fact the good one
2007-05-22 05:39:59 +00:00
Laurent Vivier
b27c53bb00
Set header signature to EMILE_07_SIGNATURE
2007-05-21 20:31:36 +00:00
Laurent Vivier
deea90cf36
if property is not set, remove it
2007-05-04 18:13:20 +00:00
Laurent Vivier
8f419ba4b1
to remove warning on signedness with gcc 4, cast some parameters
2007-02-24 13:35:32 +00:00
Laurent Vivier
eb3cf75e0c
Add -Werror
2007-02-24 13:34:44 +00:00
Laurent Vivier
2f1d2b4667
remove unneeded putchar()
2006-10-28 22:22:46 +00:00
Laurent Vivier
73c91de7a6
emile_first_set_param_scsi_extents() takes block size in argument
2006-10-20 17:12:30 +00:00
Laurent Vivier
87b904a4e8
Allow to read driver signature
2006-10-18 18:37:26 +00:00
Laurent Vivier
bb5ad6ce4d
Add emile_is_apple_driver to test if a partition is an apple_driver
2006-10-15 21:51:27 +00:00
Laurent Vivier
b8d426d278
use 16bit algorithm by default, 32bit is for ATA driver
2006-10-15 16:49:31 +00:00
Laurent Vivier
5af2219caf
correct disk number on IDE1
2006-10-15 16:48:35 +00:00
Laurent Vivier
6b42385349
correct operator priority between + and >> for IDE1
2006-10-06 12:37:16 +00:00
Laurent Vivier
417c927114
Add info about patch driverÃ
2006-09-21 21:56:43 +00:00
Laurent Vivier
723a50c993
modify emile_second_set_param() to not check if bootblock is present, checking is moving before call
2006-09-20 23:28:53 +00:00