2005-10-15 Yoshinori K. Okuji <okuji@enbug.org>

* fs/xfs.c (grub_xfs_iterate_dir): Change the type of BLK to
        grub_uint64_t.
        Call the hook with a NUL-terminated filename.
        (grub_xfs_mount): Use grub_be_to_cpu32 instead of
        grub_cpu_to_be32.

        * kern/term.c (cursor_state): New variable.
        (grub_term_set_current): Reset the cursor state on a new
        terminal.
        (grub_setcursor): Rewritten to use CURSOR_STATE.
        (grub_getcursor): New function.

        * include/grub/term.h (grub_getcursor): New prototype.

        * io/gzio.c (test_header): Align BUF for accessing it as 32-bit
        integers on ARM. Reported by Timothy Baldwin
        <T.E.Baldwin99@members.leeds.ac.uk>.
This commit is contained in:
okuji 2005-10-15 09:22:32 +00:00
parent bb34586ca6
commit 688e5699e6
5 changed files with 51 additions and 15 deletions

View file

@ -165,7 +165,7 @@ typedef unsigned long ulg;
static int
test_header (grub_file_t file)
{
unsigned char buf[10];
unsigned char buf[10] __attribute__ ((aligned));
grub_gzio_t gzio = file->data;
if (grub_file_tell (gzio->file) != 0)