Use BITMAP_MARKER instead of the magic 0x1 in the bitmap code to
tag maps with have external storage. Also define the marker as 0x1ULL
to be on the safer side when it comes to the involved bit operations.
With and OK tb@
httpd: pass struct server_request to the request handlers
Make handlers and the response writer take the request
instead of the client.
No functional change.
looks fine claudio@, OK rsadowski@
httpd: add struct server_request
Move the request state out of struct client into a new struct
server_request, one allocated per client.
No functional change.
looks fine claudio@, OK rsadowski@
Adjust bitmap_id_get in a similar way bitmap_empty.
Process the first element outside of the loop and then the loop
becomes trivial. Also use a single form to calculate the returned
id and use a goto done to jump there.
OK tb@
Better frame buffer driver for HP Artist (onboard 712) and Visualize EG
(onboard B-class and some C-class, as well as PCI) devices, allowing proper
(currently unaccelerated) X11 support, as well as color, underline and larger
fonts in console.
Ported from NetBSD.
Fix memory leak of the adjout array in pt_free
pt_free needs to free the adjout array, do this with adjout_prefix_free
which takes care of accounting and kind of handles cases where the removed
prefixes are actually still active -- in this case peer prefix counts will
be off.
Create a little helper (adjout_prefix_destroy) to take care of clearing
out a adjout_prefix.
Based on a report by Nate P nate.pusnik gmail com
OK tb@
Take the inline marker check out of the loop in bitmap_empty
Instead of checking on every iteration if this is the first element
handle the first element before the loop and start the loop on the
2nd element.
OK tb@