[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in the Multiboot specification example OS
From: |
Richard Braun |
Subject: |
Bug in the Multiboot specification example OS |
Date: |
Sun, 10 Oct 2004 18:30:29 +0200 |
User-agent: |
Mutt/1.4.2.1i |
Hi,
As I'm developing a multiboot compliant boot loader for a home project,
I found a bug in the kernel provided as an example with the multiboot
specification :
for (i = 0, mod = (module_t *) mbi->mods_addr;
i < mbi->mods_count;
i++, mod += sizeof (module_t))
This is the for instruction which finds module properties. The problem is
that mod is a module_t structure, so it should be mod++.
Hope it helps :-).
--
Richard Braun
pgp7sJVffNUen.pgp
Description: PGP signature
- Bug in the Multiboot specification example OS,
Richard Braun <=