Michael Brown
946967f09c
Abstracted out part of the concept of an SPI device to a generalised NVS
device.
Separated the mechanisms of non-volatile storage access and non-volatile
stored options.
18 years ago
Michael Brown
4cd56820ea
Basic non-volatile storage support
18 years ago
Michael Brown
c4677c7e73
Implemented realloc(), and changed the semantics of malloc(0) to allow
for realloc(0) being a valid way to free memory.
18 years ago
Michael Brown
6a18721ce8
Fixed off-by-one error
18 years ago
Michael Brown
ea97fe42dd
Note to self: do not write code late at night
18 years ago
Michael Brown
5753f2c58b
May as well add octal support to strtoul()
18 years ago
Michael Brown
bbfb2e02fd
Fixed endp bug in strtoul()
18 years ago
Michael Brown
65ff5357f1
Extend strtoul() to cope with hex as well as decimal. Doesn't cope
with octal yet, but we can probably live without that.
18 years ago
Michael Brown
88e38fa148
We don't actually have a stdio.h header file. Our printf() functions are
defined in vsprintf.h. (This may change, since vsprintf.h is a
non-standard name, but for now it's the one to use.)
There should be no need to include vsprintf.h just for DBG() statements,
since include/compiler.h forces it in for a debug build anyway.
18 years ago
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
18 years ago
Marty Connor
1da4faa896
include stdio.h to suppress printf warning, general warnings fixups
18 years ago
Michael Brown
1a944a894e
Killed
18 years ago
Michael Brown
2f60aa42e7
Killed
18 years ago
Marty Connor
be0b19a690
commented out contents of core/nic.c, which should now be obsolete.
18 years ago
Michael Brown
69d2261016
Check that serial port init actually happens
18 years ago
Michael Brown
66dcd22f61
Added debug to catch initialisation failures
18 years ago
Michael Brown
c399e88aa3
Hopefully fix gcc3 build issue
18 years ago
Michael Brown
22511400c7
Added generic function for calculating ACPI table checksum
18 years ago
Michael Brown
27ba2d7527
Take out unused cleanup() function so that we can remove the link
dependency on dev.o.
18 years ago
Michael Brown
dbf3482ef5
Removed obsolete print_config()
18 years ago
Michael Brown
97439cb6eb
Kill off poll_interruptions(); it is lethal when we're acting as a PXE
stack or INT 13 emulator etc.
18 years ago
Michael Brown
3c35a0b16d
Added cmdl_show proof-of-concept
18 years ago
Michael Brown
dd9399f527
Added "hostname" and "ip" as sample settings
18 years ago
Michael Brown
fe774fe356
Added ipv4 configuration type
18 years ago
Michael Brown
7029fb8eff
Add string configuration type
18 years ago
Michael Brown
db46972349
Added basic infrastructure for manipulating settings.
18 years ago
Michael Brown
0dd0a8366e
Removed obsolete line merged in with the cmdline stuff
18 years ago
Michael Brown
56c995ff60
Aborted
18 years ago
Marty Connor
41af7457a8
Merge of Fredrik Hultin command_line
18 years ago
Michael Brown
6e3e5efaed
Accept '%i' as a synonym for '%d'.
18 years ago
Michael Brown
e74e20cb55
Remove the static IP address hack from netdevice.c, and change the
default test to the DHCP test.
18 years ago
Michael Brown
35b0233baa
Tidy up hex_dump() output.
18 years ago
Michael Brown
3acbff4f00
How did this ever work properly before?
18 years ago
Marty Connor
eb091f03e3
fix printf format args
18 years ago
Marty Connor
e8cc1c4333
Removed vestigal FILO code
18 years ago
Dan Lynch
446c1a3372
- deprecated in favour of a split library model
18 years ago
Michael Brown
3c8aafa209
Simplify RX data path.
Kill off the static single net device and move to proper dynamic
registration (which we need with the new device model).
Break the (flawed) assumption that all network-layer protocols can use
ARP; such network-layer protocols (i.e. IPv4) must now register as an ARP
protocol using ARP_NET_PROTOCOL() and provide a single method for checking
the existence of a local network-layer address.
18 years ago
Michael Brown
8aeead7c1c
Remove dependency on arptable[] (which is no longer used).
18 years ago
Michael Brown
c10698b8b4
Add NULL_TRAP as a config option
18 years ago
Michael Brown
286bf68faf
Added a very quick and dirty compatibility layer, to allow
not-yet-updated drivers to at least function.
18 years ago
Dan Lynch
34cfbf55a4
- added most slk functions
18 years ago
Michael Brown
6ab4b99f41
Quick hack to avoid trying to use an uninitialised net device.
18 years ago
Michael Brown
d6866202f9
Until we have a functioning UDP stack and PXE API again, there's not much
point trying to use the old boot sequence. Replaced with a call to the
AoE demo code, so that people can at least build and try something useful.
18 years ago
Michael Brown
cf96d325d8
Missing from previous checkin.
This is the core portion of the async I/O interface.
18 years ago
Michael Brown
1dbafa8950
Tidied up debugging messages
18 years ago
Michael Brown
0479e9f541
relocate.o is now dragged in by the objects that require it; there is no
need for a CONFIG_RELOCATE.
18 years ago
Dan Lynch
bef8874842
- implemented printw (formatted string output, a la printf)
- implemented hline/vline (part of wborder family)
- screen cursor now relocates at same time as window cursor when
restoring after a non-wrapping function
18 years ago
Michael Brown
84a493b88d
Allow vcprintf() to be called by external code such as the curses library.
Also trim another eight bytes from vsprintf.o. :)
18 years ago
Dan Lynch
f778500739
- fixes to _wputch to get positioning and wrap working properly
- fixes to wborder (same)
- addition of a few minor functions
18 years ago
Dan Lynch
d166dc57ab
- made _wputch wrap lines as well as cols (wraps back to line 0, as we have not way to scroll...)
- implemented color_content, wborder, wblrtobot, wclrtoeol, wcolor_set and several small functions
- added rest of expected global variables
18 years ago