Commit Graph

  • e3f2aa7b4d Add off_t and physaddr_t, and the copy_{to,from}_phys helper routines. Michael Brown 2005-05-09 13:21:56 +00:00
  • dc0aa58fb2 Add memcpy Michael Brown 2005-05-09 12:48:00 +00:00
  • 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. Michael Brown 2005-05-09 10:11:11 +00:00
  • 462234f373 Make vga_font const to avoid warning about large symbol Michael Brown 2005-05-03 13:17:08 +00:00
  • e91c65bea1 Make PCI ID tables const so as not to trigger a warning about a large symbol. Michael Brown 2005-05-03 12:36:06 +00:00
  • cc73bba7ba Allow read-only symbols to be large Michael Brown 2005-05-03 12:34:52 +00:00
  • 24c0498cbc Move tulip_private structure into shared data. Michael Brown 2005-05-03 12:29:32 +00:00
  • 7df2857248 Reduce large symbol warning threshold, now that most of the really large symbols have been fixed. Michael Brown 2005-05-03 12:24:52 +00:00
  • 42eb786ced D'oh Michael Brown 2005-05-03 12:18:31 +00:00
  • 4bcd42699b Use __shared Michael Brown 2005-05-03 12:16:49 +00:00
  • 303ff86c75 Added example of how to use __shared. Moved transmit before poll, since typically transmit will be implemented first. Michael Brown 2005-05-03 12:14:29 +00:00
  • ff8e46f2f3 #if 0 out the whole file for now; it cannot be linked because the base memory interface has changed. Michael Brown 2005-05-03 11:56:33 +00:00
  • 0174310f38 Re-add the "etherboot.%" all-drivers image. Michael Brown 2005-05-03 11:51:19 +00:00
  • c112f12c5b Symbol fixups Michael Brown 2005-05-03 11:29:33 +00:00
  • 3c2851e563 Arbitrary alignment is now available. Use shared symbols. Correct other symbol violations. Michael Brown 2005-05-03 09:56:57 +00:00
  • 68e90c75b6 Removed spurious semicolon Michael Brown 2005-05-03 09:02:24 +00:00
  • ee15c47cb5 Use shared symbols Michael Brown 2005-05-02 17:45:24 +00:00
  • 3267ca5568 Use shared symbols to save space Michael Brown 2005-05-02 16:35:44 +00:00
  • 60b82eb5cd Moved definition of __shared into compiler.h Michael Brown 2005-05-02 16:21:52 +00:00
  • a1f50f27b0 Correct symbol violations reported by "make symcheck" Michael Brown 2005-05-02 15:22:32 +00:00
  • 35ab3bf808 Report on misuses of shared symbols, and excessively large static symbols. Michael Brown 2005-05-02 15:21:12 +00:00
  • 734d2e9f2d First version Michael Brown 2005-05-02 14:43:15 +00:00
  • 88baf7a383 Tweaked to read more information (including symbol size) from blib.a Michael Brown 2005-05-02 13:49:54 +00:00
  • 48e40e933f Add DOWNLOAD_PROTO_XXX options. Michael Brown 2005-05-02 12:45:23 +00:00
  • 4ed412f1c2 Updated to use new URL parser and new protocol API. Michael Brown 2005-05-02 12:10:14 +00:00
  • a918abc036 Split TCP code out into proto/tcp.c Michael Brown 2005-05-02 12:07:47 +00:00
  • cc980d1c94 Moved DOWNLOAD_PROTO_XXX options to config.h Michael Brown 2005-05-02 11:13:47 +00:00
  • f9f1d2c84c More URL parsing moved into url.c Michael Brown 2005-05-01 23:58:45 +00:00
  • d5bf9e71ea http.h obsoleted (no content) Michael Brown 2005-05-01 23:58:20 +00:00
  • f14af3d95c Protocol structure can now specify the default port. Michael Brown 2005-05-01 23:57:09 +00:00
  • 63482e4fe9 Made parse_url do more of the processing, to avoid duplicating parts of nic.c in http.c Michael Brown 2005-05-01 19:10:04 +00:00
  • 17bb10479d Protocol names are x-slam and x-tftm Michael Brown 2005-05-01 15:50:08 +00:00
  • 6afffc0771 Updated to protocol API Michael Brown 2005-05-01 15:36:39 +00:00
  • 5c2e5557f0 Updated to protocol API Michael Brown 2005-05-01 15:26:44 +00:00
  • 1fdbbaa237 Removed obsolete prototypes. Michael Brown 2005-05-01 15:14:22 +00:00
  • 3af0af65a0 Updated to new protocol API, made to compile. Michael Brown 2005-05-01 15:08:39 +00:00
  • 2227a711fd umountall() handled by nfs.c's reset function Michael Brown 2005-05-01 15:08:19 +00:00
  • d727e144c1 nfs prototypes no longer required. Michael Brown 2005-05-01 15:07:55 +00:00
  • 52b3c8babe Add INIT_RPC Michael Brown 2005-05-01 15:07:35 +00:00
  • 85d9eae44e Moved protocols to proto/ Michael Brown 2005-05-01 14:04:11 +00:00
  • 0cfcd91558 Abort immediately if no nameserver is present. Michael Brown 2005-05-01 13:59:34 +00:00
  • bcedad4708 Add debugging for CNAME records. Allow routines to be called by nmb.c Michael Brown 2005-05-01 11:30:26 +00:00
  • 3ae7a3d1f0 NMB packets are so similar to DNS packets; we may as well add NMB as a name resolution method. Michael Brown 2005-05-01 11:10:17 +00:00
  • e1d6f3a8ac Add NMB_RESOLVER Michael Brown 2005-05-01 10:58:49 +00:00
  • 89f4fe4a8a Do not include etherboot.h Michael Brown 2005-05-01 10:40:12 +00:00
  • 552f33c663 Always request DNS server. DHCP handling will be generalised in future. Michael Brown 2005-04-30 19:39:50 +00:00
  • 138c987738 Straightforward A record resolution now known working. Michael Brown 2005-04-30 19:38:51 +00:00
  • 3b59bf559c ttl is a uint32_t Michael Brown 2005-04-30 19:38:31 +00:00
  • 78cdb1da8b DNS resolver rewritten, moved to proto/dns.c Michael Brown 2005-04-30 14:50:33 +00:00
  • d817e60d21 "dns_resolver" changed to "dns" Michael Brown 2005-04-30 14:49:41 +00:00
  • 167c26c92b tftp functions moved to proto/tftp.c Michael Brown 2005-04-30 14:46:49 +00:00
  • 5f45f14b5f tftp moved to separate file. Michael Brown 2005-04-30 14:46:18 +00:00
  • 06634dc386 Protocols get passed a pointer to the filename portion as well as just the URL. Michael Brown 2005-04-30 14:45:51 +00:00
  • 5bec933c66 tftp prototypes moved to tftp.h Michael Brown 2005-04-30 14:45:33 +00:00
  • 95946c6f56 Added "proto" directory Michael Brown 2005-04-30 14:45:09 +00:00
  • 1644238813 Added debugging. Michael Brown 2005-04-30 14:41:37 +00:00
  • 6cd0fa5807 Added DNS resolver configuration option. Michael Brown 2005-04-30 14:39:21 +00:00
  • 0780ecf1b6 TFTP API changed. Michael Brown 2005-04-30 14:27:17 +00:00
  • 56825df041 loadkernel renamed to download_url, substantially restructured, and moved to nic.c Michael Brown 2005-04-30 13:52:27 +00:00
  • e68378fd62 loadkernel renamed to download_url and moved to nic.c Michael Brown 2005-04-30 13:51:49 +00:00
  • 332b40b986 loadkernel no longer exists; it is now download_url and lives in nic.c. Michael Brown 2005-04-30 13:51:18 +00:00
  • 903ddd9878 inet_aton doesn't overwrite the IP address unless it is valid. Michael Brown 2005-04-30 13:50:34 +00:00
  • 55ae308821 Protocols also take a pointer to a sockaddr_in. Michael Brown 2005-04-30 13:50:01 +00:00
  • 00b78f73a4 Use struct in_addr rather than just "in_addr". Add struct sockaddr_in. Michael Brown 2005-04-30 13:49:28 +00:00
  • 70567c51a2 Moved strtoul prototype into stdlib.h for consistency Michael Brown 2005-04-30 13:48:48 +00:00
  • 044b20385b parse_url() is void. Michael Brown 2005-04-30 13:24:26 +00:00
  • 65dc273d78 First version Michael Brown 2005-04-29 13:26:31 +00:00
  • e4131ebb84 First version Michael Brown 2005-04-29 13:17:25 +00:00
  • 754cef922d First version Michael Brown 2005-04-28 13:47:36 +00:00
  • c1253d2219 Much, much smaller. :) Michael Brown 2005-04-28 13:20:02 +00:00
  • 6791aeb024 First version: far too large (408 bytes!!!) Michael Brown 2005-04-28 12:12:11 +00:00
  • 282b6f1a1a isa.c uses the new table infrastructure. Michael Brown 2005-04-27 12:24:38 +00:00
  • f37e0a06d7 dev.c uses the new tables infrastructure. Michael Brown 2005-04-27 12:20:54 +00:00
  • c08671e5fc Missing include Michael Brown 2005-04-27 12:17:09 +00:00
  • b9e72856b6 Post-relocation functions use the generic table mechanism. Michael Brown 2005-04-27 12:10:24 +00:00
  • d2d4978f4f Use PREFIX_OBJECT to give the init_fn table variables meaningful names. Michael Brown 2005-04-27 12:08:52 +00:00
  • c8fc121890 Special handling for symbols of the form "xxx_end", to make table end markers appear before the symbols that immediately follow the table. Michael Brown 2005-04-27 12:08:13 +00:00
  • 1ddcdb0524 Added PREFIX_OBJECT() function to be able to easily prepend any string to the object name in order to generate e.g. per-file variables. Michael Brown 2005-04-27 11:59:37 +00:00
  • 3e5bf5fb06 console.c uses the generic table mechanism Michael Brown 2005-04-27 11:38:43 +00:00
  • 69f09ebdd8 Linker no longer provides start and end symbols for each table; these markers are now static labels within the objects that refer to them. Michael Brown 2005-04-27 11:27:38 +00:00
  • 241f426a85 Use new generic tables infrastructure Michael Brown 2005-04-27 11:25:21 +00:00
  • b9c9cee8a3 Added a generalised table infrastructure, so that we don't have to keep adding new tables to each architecture's linker scripts. Michael Brown 2005-04-27 11:22:46 +00:00
  • 81e4755106 Produce a sorted list of all local symbols in the map file. Michael Brown 2005-04-27 10:55:12 +00:00
  • d6930e6e40 Use symbol size as a third index, mainly so that zero-length symbols (e.g. section start indicators) show up before the symbols they're indicating the start of. Michael Brown 2005-04-27 10:54:33 +00:00
  • ac01cf4997 First version Michael Brown 2005-04-27 10:40:59 +00:00
  • fda36a0c1a Added back in the actual call to load(). Michael Brown 2005-04-26 17:12:07 +00:00
  • e301acc0d4 Add isapnp_max_csn to reduce scan time. Michael Brown 2005-04-26 14:07:30 +00:00
  • 3dbdeb588f ISA bus driver updated to report devices as present only if a driver thinks they are. Other bus drivers modified for consistency. Michael Brown 2005-04-26 12:30:14 +00:00
  • 3a7967a38a PCI_DRIVER changed Michael Brown 2005-04-26 12:20:05 +00:00
  • 7e534b585f Automatically updated with Michael Brown 2005-04-26 12:19:39 +00:00
  • fcee25024f BIOS floppy handling code moved to where it will really live. Michael Brown 2005-04-25 19:29:55 +00:00
  • 10b7b1a61f Added arch/i386/drivers/disk Michael Brown 2005-04-25 19:29:02 +00:00
  • f5dde85e16 Improved debug messages Michael Brown 2005-04-25 19:28:49 +00:00
  • 8cd0693396 s/{name,describe}/{name,describe}_device/ Michael Brown 2005-04-25 19:27:53 +00:00
  • 3b14360f5c Renamed describe to describe_device for consistency Michael Brown 2005-04-25 19:27:25 +00:00
  • 99b857559b Added "name" field to struct bus_driver Michael Brown 2005-04-25 19:26:33 +00:00
  • d281996ef8 Added DBG2 Michael Brown 2005-04-25 19:25:45 +00:00
  • 5bace628ae Added "name" field to bus structure. Michael Brown 2005-04-25 18:54:15 +00:00
  • f972f256e6 Allow for multiple debug levels Michael Brown 2005-04-25 16:28:07 +00:00
  • 698f86f25a Prevent hundreds of errors from "make symcheck". The prefix exit path mechanism has changed anyway, and so must be rewritten, but at least doing this makes the output of "make symcheck" more legible. Michael Brown 2005-04-23 14:57:53 +00:00