[LinuxBIOS] [PATCH] v3 drop malloc, clean up device model

Stefan Reinauer stepan at coresystems.de
Fri Jun 29 18:26:55 CEST 2007

* start using arch/foo.h again instead of archfoo.h (trivial)
* make constructor an initializer.
* fix memory leak/code flow error in current code
* add spinlocking
* drop malloc and use new_device for device allocation instead.
* ad CONFIG_SMP as it is needed by spinlocks and soon other stuff.

tested in qemu and works.

Signed-off-by: Stefan Reinauer <stepan at coresystems.de>

coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3_drop_malloc.diff
Type: text/x-patch
Size: 18059 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070629/38164dc3/attachment.diff>

More information about the coreboot mailing list