Michael Brown
|
aeb70ec21c
|
Import from Etherboot 5.4
|
2005-05-17 16:44:57 +00:00 |
|
Michael Brown
|
1097cf8685
|
Initial revision
|
2005-05-17 16:44:57 +00:00 |
|
Michael Brown
|
75a5374d79
|
Quickly hacked to use a buffer rather than a processor.
These don't yet take advantage of the buffer functionality.
|
2005-05-17 14:49:46 +00:00 |
|
Michael Brown
|
5fce946de4
|
Update to use buffer rather than processor
|
2005-05-17 14:35:20 +00:00 |
|
Michael Brown
|
40c7b127aa
|
Added const to fill_buffer
|
2005-05-17 14:34:46 +00:00 |
|
Michael Brown
|
5ae60bd95d
|
Updated to use buffer rather than processor
|
2005-05-17 14:26:14 +00:00 |
|
Michael Brown
|
022661283a
|
Load buffer is now handled by the autoload() function.
|
2005-05-17 13:44:08 +00:00 |
|
Michael Brown
|
205a7ad5e0
|
Moved NBI support to nbi.c, modified to work with new load mechanism
|
2005-05-17 13:42:20 +00:00 |
|
Michael Brown
|
9c832a6a69
|
First version
|
2005-05-17 13:41:00 +00:00 |
|
Michael Brown
|
510de6cb8c
|
Restructured to allow per-object image formats
|
2005-05-17 13:40:31 +00:00 |
|
Michael Brown
|
7205f0846c
|
Heap function prototypes moved to heap.h
|
2005-05-17 13:39:27 +00:00 |
|
Michael Brown
|
a5f2942587
|
Add twiddle() so that progress is visible.
|
2005-05-17 13:39:00 +00:00 |
|
Michael Brown
|
0571dcdb05
|
Added print_images() and autoload().
|
2005-05-17 13:38:24 +00:00 |
|
Michael Brown
|
9968c9513e
|
Moved find_segment into elf_loader.c
|
2005-05-17 13:37:29 +00:00 |
|
Michael Brown
|
9a413cfea1
|
Moved os_regs into start32.S
|
2005-05-17 13:37:01 +00:00 |
|
Michael Brown
|
a76b9c3f19
|
Added debug messages
|
2005-05-17 13:36:12 +00:00 |
|
Michael Brown
|
3ce6504f14
|
Use shared symbols for heap_ptr and heap_end
|
2005-05-17 13:35:43 +00:00 |
|
Michael Brown
|
479fb900a1
|
Added copy_phys_to_phys
|
2005-05-17 13:34:57 +00:00 |
|
Michael Brown
|
4f27994980
|
Added "image" directory
|
2005-05-17 13:34:25 +00:00 |
|
Michael Brown
|
6e8f29d3cb
|
Image formats moved into the new config system
|
2005-05-17 13:33:49 +00:00 |
|
Michael Brown
|
3bbf5f28a3
|
Use __unused instead of __used for static data structures.
Remove compiler.h defines from osdep.h
|
2005-05-17 12:16:28 +00:00 |
|
Michael Brown
|
301b2d40f0
|
Use the heap functions to allocate a load buffer.
|
2005-05-13 13:30:51 +00:00 |
|
Michael Brown
|
c695c75b01
|
First version
|
2005-05-13 13:29:15 +00:00 |
|
Michael Brown
|
5c8ea0b93a
|
Add realloc, since the load buffer code requires it.
|
2005-05-13 13:20:16 +00:00 |
|
Michael Brown
|
59a1662978
|
Added debugging
|
2005-05-13 11:24:02 +00:00 |
|
Michael Brown
|
42250e9b1a
|
Tidied up init_heap()
|
2005-05-13 11:16:14 +00:00 |
|
Michael Brown
|
f0d048bf91
|
Added ASSERT() macro
|
2005-05-13 10:18:21 +00:00 |
|
Michael Brown
|
94d512b979
|
Added old allot/forget calls for backwards compatibility.
|
2005-05-12 16:38:07 +00:00 |
|
Michael Brown
|
eff4fa5a04
|
Merged the unaligned and aligned heap APIs and simplified the code.
|
2005-05-12 16:34:57 +00:00 |
|
Michael Brown
|
a5a14dc05d
|
Use the global load_buffer, and the boot_image function.
|
2005-05-09 18:10:04 +00:00 |
|
Michael Brown
|
f649a4d0fd
|
Add INIT_LOADBUF
|
2005-05-09 18:04:20 +00:00 |
|
Michael Brown
|
73429d6da1
|
Make "struct buffer"s reusable between sessions.
|
2005-05-09 18:03:44 +00:00 |
|
Michael Brown
|
b94def2088
|
Include string.h, because we need to define copy_{to,from}_phys
|
2005-05-09 18:03:14 +00:00 |
|
Michael Brown
|
9fc97f8513
|
First version
|
2005-05-09 18:02:22 +00:00 |
|
Michael Brown
|
58ee2c4b2e
|
First versions
|
2005-05-09 18:01:50 +00:00 |
|
Michael Brown
|
0fe74493f4
|
Protocols now load data into a buffer; they don't execute it.
|
2005-05-09 14:27:29 +00:00 |
|
Michael Brown
|
116f17f605
|
off_t should be signed.
|
2005-05-09 14:26:25 +00:00 |
|
Michael Brown
|
bab2924e89
|
Return -1 to indicate buffer overflow. Allow buffer fill level to be read
easily from struct buffer.
|
2005-05-09 14:26:10 +00:00 |
|
Michael Brown
|
a89651f3bb
|
Added debugging
|
2005-05-09 13:47:04 +00:00 |
|
Michael Brown
|
b2869ed6b8
|
Added explanatory comment.
|
2005-05-09 13:25:43 +00:00 |
|
Michael Brown
|
e75b7480d0
|
Modified to use physical addresses, and to not assume that we can directly
refer to data outside of our data or stack segments.
|
2005-05-09 13:24:01 +00:00 |
|
Michael Brown
|
e3f2aa7b4d
|
Add off_t and physaddr_t, and the copy_{to,from}_phys helper routines.
|
2005-05-09 13:21:56 +00:00 |
|
Michael Brown
|
dc0aa58fb2
|
Add memcpy
|
2005-05-09 12:48:00 +00:00 |
|
Michael Brown
|
ef05a27f25
|
Start of an implementation using doubly-linked lists and virtual
addresses. This will have to be reworked to use physical addresses thanks
to the PXE spec.
|
2005-05-09 10:11:11 +00:00 |
|
Michael Brown
|
462234f373
|
Make vga_font const to avoid warning about large symbol
|
2005-05-03 13:17:08 +00:00 |
|
Michael Brown
|
e91c65bea1
|
Make PCI ID tables const so as not to trigger a warning about a large
symbol.
|
2005-05-03 12:36:06 +00:00 |
|
Michael Brown
|
cc73bba7ba
|
Allow read-only symbols to be large
|
2005-05-03 12:34:52 +00:00 |
|
Michael Brown
|
24c0498cbc
|
Move tulip_private structure into shared data.
|
2005-05-03 12:29:32 +00:00 |
|
Michael Brown
|
7df2857248
|
Reduce large symbol warning threshold, now that most of the really
large symbols have been fixed.
|
2005-05-03 12:24:52 +00:00 |
|
Michael Brown
|
42eb786ced
|
D'oh
|
2005-05-03 12:18:31 +00:00 |
|