Manoel Rebelo Abranches
50ee5d686d
Merge mainline.
2011-04-01 04:45:37 -03:00
Manoel Rebelo Abranches
9c4cf53bfe
2010-11-08 Manoel Rebelo Abranches <mrabran@br.ibm.com>
...
* include/grub/elfload.h (grub_elf32_size): New parameter. All users updated.
Return maximum segments alignment.
(grub_elf64_size): Likewise.
* kern/elf.c (grub_elf32_size): New parameter. All users updated.
Return maximum segments alignment.
(grub_elf64_size): Likewise.
* grub-core/loader/powerpc/ieee1275/linux.c:
(grub_linux_claimmap_iterate): New function. Uses the "available"property
in the "memory" node for memory allocation for kernel in the PowerPC loader.
(grub_linux_load32): Correctly find linux entry point offset.
(grub_linux_load64): Likewise.
2010-11-08 11:14:54 -02:00
Manoel R. Abranches
87fdc7e8d2
Create Open firmware pseudo driver.
...
Change ofnet.c to disknet.c and remove almost all ieee1275 specific code.
Create grub_net_malloc to handle iee1275 memory issues in a temporary solution.
2010-09-15 13:23:23 -03:00
Manoel R. Abranches
9a9cee4e43
Use the correct address types in net.c.
...
implement ntoa ipv4 function.
2010-09-15 13:00:51 -03:00
Manoel R. Abranches
7c978f0690
Implement the size field.
2010-07-29 18:17:01 -03:00
Manoel R. Abranches
17ef14c916
Process errot packets in TFTP reply.
2010-07-29 18:13:00 -03:00
Manoel R. Abranches
f89661762a
Only open the card in netboot.
2010-07-29 18:07:09 -03:00
Manoel R. Abranches
11d1ea5df6
Use server and client IP from the bootp packet.
2010-07-29 17:52:54 -03:00
Manoel R. Abranches
3ec6213b17
Clean Debug messages
2010-06-29 06:50:15 -03:00
Manoel R. Abranches
1edb7287ff
Parse ipv6 header on incoming packets.
2010-06-23 14:49:46 -03:00
Manoel R. Abranches
bf6d9eeb53
Abort transference when getting file size.
2010-06-23 14:47:55 -03:00
Manoel R. Abranches
8c599704a7
Network code specific for ieee1275 machines.
...
Used to parse BOOTP packet from the server and use write/read on the network card.
May be removed later.
2010-06-21 19:20:55 -03:00
Manoel R. Abranches
60cdb895da
Adaptation for the new protocols and interface structs.
...
implementation of receive in the protocols.
Also all unwanted packets are discarded.
2010-06-21 19:15:45 -03:00
Manoel R. Abranches
c3639ae731
File manipulation. Based in OF implementation.
...
For debug porpouse and will be changed later.
2010-06-21 19:13:26 -03:00
Manoel R. Abranches
d17a9fea4a
Add interface struct for communication between protocols and protocols stack.
...
Changed the protocols structs to use one struct for each layer.
2010-06-21 19:05:14 -03:00
Manoel R. Abranches
8d402bc9a8
small change in the interface structure.
2010-04-29 17:56:09 -03:00
Manoel R. Abranches
066528b4b1
Initial Implementation of TFTP protocol and new protocol structs.
2010-04-27 18:05:35 -03:00
Manoel Rebelo Abranches
d1484a422e
2010-02-20 Manoel Rebelo Abranches <mrabran@br.ibm.com>
...
* term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Add delete and
backspace keys.
2010-02-20 11:23:13 +01:00