Michael Brown
6b01ed0c95
Working to produce reasonably pretty code
19 years ago
Michael Brown
f888bd589d
doxygen doesn't allow us to do the --include compiler.h trick...
19 years ago
Michael Brown
783e9ca396
Added doxygen comments and errno values.
19 years ago
Michael Brown
8bf7902141
Added rules to generate documentation using doxygen
19 years ago
Michael Brown
2d9fa8a1d9
Add DOXYGEN definition, comment out reference to not-yet-existent "image"
directory.
19 years ago
Michael Brown
fac5f28d7e
There is no arch/i386/firmware/linuxbios directory
19 years ago
Michael Brown
06b2be03c8
All files in here are auto-generated
19 years ago
Michael Brown
7f1901860d
Error numbers moved to errno.h
19 years ago
Michael Brown
ab07740755
First version
19 years ago
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).
19 years ago
Michael Brown
75a5374d79
Quickly hacked to use a buffer rather than a processor.
These don't yet take advantage of the buffer functionality.
19 years ago
Michael Brown
5fce946de4
Update to use buffer rather than processor
19 years ago
Michael Brown
40c7b127aa
Added const to fill_buffer
19 years ago
Michael Brown
5ae60bd95d
Updated to use buffer rather than processor
19 years ago
Michael Brown
022661283a
Load buffer is now handled by the autoload() function.
19 years ago
Michael Brown
205a7ad5e0
Moved NBI support to nbi.c, modified to work with new load mechanism
19 years ago
Michael Brown
9c832a6a69
First version
19 years ago
Michael Brown
510de6cb8c
Restructured to allow per-object image formats
19 years ago
Michael Brown
7205f0846c
Heap function prototypes moved to heap.h
19 years ago
Michael Brown
a5f2942587
Add twiddle() so that progress is visible.
19 years ago
Michael Brown
0571dcdb05
Added print_images() and autoload().
19 years ago
Michael Brown
9968c9513e
Moved find_segment into elf_loader.c
19 years ago
Michael Brown
9a413cfea1
Moved os_regs into start32.S
19 years ago
Michael Brown
a76b9c3f19
Added debug messages
19 years ago
Michael Brown
3ce6504f14
Use shared symbols for heap_ptr and heap_end
19 years ago
Michael Brown
479fb900a1
Added copy_phys_to_phys
19 years ago
Michael Brown
4f27994980
Added "image" directory
19 years ago
Michael Brown
6e8f29d3cb
Image formats moved into the new config system
19 years ago
Michael Brown
3bbf5f28a3
Use __unused instead of __used for static data structures.
Remove compiler.h defines from osdep.h
19 years ago
Michael Brown
301b2d40f0
Use the heap functions to allocate a load buffer.
19 years ago
Michael Brown
c695c75b01
First version
19 years ago
Michael Brown
5c8ea0b93a
Add realloc, since the load buffer code requires it.
19 years ago
Michael Brown
59a1662978
Added debugging
19 years ago
Michael Brown
42250e9b1a
Tidied up init_heap()
19 years ago
Michael Brown
f0d048bf91
Added ASSERT() macro
19 years ago
Michael Brown
94d512b979
Added old allot/forget calls for backwards compatibility.
19 years ago
Michael Brown
eff4fa5a04
Merged the unaligned and aligned heap APIs and simplified the code.
19 years ago
Michael Brown
a5a14dc05d
Use the global load_buffer, and the boot_image function.
19 years ago
Michael Brown
f649a4d0fd
Add INIT_LOADBUF
19 years ago
Michael Brown
73429d6da1
Make "struct buffer"s reusable between sessions.
19 years ago
Michael Brown
b94def2088
Include string.h, because we need to define copy_{to,from}_phys
19 years ago
Michael Brown
9fc97f8513
First version
19 years ago
Michael Brown
58ee2c4b2e
First versions
19 years ago
Michael Brown
0fe74493f4
Protocols now load data into a buffer; they don't execute it.
19 years ago
Michael Brown
116f17f605
off_t should be signed.
19 years ago
Michael Brown
bab2924e89
Return -1 to indicate buffer overflow. Allow buffer fill level to be read
easily from struct buffer.
19 years ago
Michael Brown
a89651f3bb
Added debugging
19 years ago
Michael Brown
b2869ed6b8
Added explanatory comment.
19 years ago
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.
19 years ago
Michael Brown
e3f2aa7b4d
Add off_t and physaddr_t, and the copy_{to,from}_phys helper routines.
19 years ago