LIBS = ../libutil/libutil_com.a ../lib/libcom32.a ../libupload/libcom32upload.a $(LIBGCC)
LNXLIBS = ../libutil/libutil_lnx.a
+CFLAGS += -I$(com32) -I$(topdir)
+
MODULES = sysdump.c32
TESTFILES =
#include <string.h>
#include <stdlib.h>
#include "sysdump.h"
-#include "../libupload/upload_backend.h"
#include "rbtree.h"
struct acpi_rsdp {
#include <com32.h>
#include <sys/cpu.h>
#include "sysdump.h"
-#include "../libupload/upload_backend.h"
struct cpuid_data {
uint32_t eax, ebx, ecx, edx;
#include <string.h>
#include <stdlib.h>
#include "sysdump.h"
-#include "../libupload/upload_backend.h"
struct dmi_header {
char signature[5];
#include <dprintf.h>
#include <console.h>
#include <sys/cpu.h>
-#include "../../version.h"
-#include "../libupload/upload_backend.h"
+#include <version.h>
#include "sysdump.h"
const char program[] = "sysdump";
#include <stdlib.h>
#include <com32.h>
#include "sysdump.h"
-#include "../libupload/upload_backend.h"
#define E820_CHUNK 128
struct e820_info {
#include <stdlib.h>
#include <sys/cpu.h>
#include "sysdump.h"
-#include "../libupload/upload_backend.h"
static char *lowmem;
static size_t lowmem_len;
#include <stdlib.h>
#include <sys/pci.h>
#include "sysdump.h"
-#include "../libupload/upload_backend.h"
static void dump_pci_device(struct upload_backend *be, pciaddr_t a, uint8_t hdrtype)
{
#ifndef SYSDUMP_H
#define SYSDUMP_H
-struct upload_backend;
+#include <libupload/upload_backend.h>
void dump_memory_map(struct upload_backend *);
void snapshot_lowmem(void);
#include <string.h>
#include <stdio.h>
-#include "../lib/sys/vesa/vesa.h"
-#include "../libupload/upload_backend.h"
+#include <lib/sys/vesa/vesa.h>
#include "sysdump.h"
void dump_vesa_tables(struct upload_backend *be)