Michael Brown
f888bd589d
doxygen doesn't allow us to do the --include compiler.h trick...
2005-05-18 14:26:35 +00:00
Michael Brown
783e9ca396
Added doxygen comments and errno values.
2005-05-18 13:22:45 +00:00
Michael Brown
8bf7902141
Added rules to generate documentation using doxygen
2005-05-18 11:13:34 +00:00
Michael Brown
2d9fa8a1d9
Add DOXYGEN definition, comment out reference to not-yet-existent "image"
...
directory.
2005-05-18 11:12:17 +00:00
Michael Brown
fac5f28d7e
There is no arch/i386/firmware/linuxbios directory
2005-05-18 11:11:57 +00:00
Michael Brown
06b2be03c8
All files in here are auto-generated
2005-05-18 10:52:25 +00:00
Michael Brown
7f1901860d
Error numbers moved to errno.h
2005-05-18 09:55:38 +00:00
Michael Brown
ab07740755
First version
2005-05-17 18:39:27 +00:00
Michael Brown
ff9104e029
Added errno, strerror and the "%m" printf metacharacter. These will allow
...
us to return proper PXE status codes, while simultaneously allowing for
more consistent error reporting (complete with verbose error messages as a
build-time option).
2005-05-17 18:26:41 +00:00
Michael Brown
df207719e3
Changed to 5.5
2005-05-17 16:47:59 +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