From c4d3e822ffacc63264ac6927e925d8d9b48dd7d7 Mon Sep 17 00:00:00 2001 From: jonnosan Date: Sun, 5 Apr 2009 06:56:41 +0000 Subject: [PATCH] let dhcp & dns share the same buffer for building outbound packets in (since they don't call each other no chance of overwritting each others data) git-svn-id: http://svn.code.sf.net/p/netboot65/code@84 93682198-c243-4bdb-bd91-e943c89aac3b --- client/ip65/output_buffer.s | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 client/ip65/output_buffer.s diff --git a/client/ip65/output_buffer.s b/client/ip65/output_buffer.s new file mode 100644 index 0000000..d43b387 --- /dev/null +++ b/client/ip65/output_buffer.s @@ -0,0 +1,7 @@ +.bss + +;global scratch buffer that DHCP/DNS and others can use while building outbound packets. +;you need to be careful if using this that you don't call a function that also uses it. +;if this is reversed for higher level protocols, the likelyhood of collision is low. +.export output_buffer +output_buffer: .res 256 \ No newline at end of file