/contrib/sdk/sources/sound/Makefile |
---|
File deleted |
/contrib/sdk/sources/sound/include/snd.inc |
---|
File deleted |
/contrib/sdk/sources/sound/include/sound.h |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndgetpos.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndsetfmt.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndout.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/snd.inc |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndgetsize.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndsetvol.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndsetpos.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndgetmvol.asm |
---|
File deleted |
\ No newline at end of file |
/contrib/sdk/sources/sound/src/stopbuf.asm |
---|
File deleted |
\ No newline at end of file |
/contrib/sdk/sources/sound/src/sndgetpan.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndreset.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/setbuf.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndgetfmt.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/wavhdr.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndsetmvol.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndsetpan.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/proc32.inc |
---|
File deleted |
/contrib/sdk/sources/sound/src/init.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndtime.asm |
---|
File deleted |
/contrib/sdk/sources/sound/src/sndgetvol.asm |
---|
File deleted |
/contrib/sdk/sources/newlib/libc/Makefile |
---|
3,7 → 3,7 |
AR = kos32-ar |
LD = kos32-ld |
CFLAGS = -c -O2 -fno-ident -fomit-frame-pointer -DBUILD_DLL -DMISSING_SYSCALL_NAMES |
CFLAGS = -c -O2 -fomit-frame-pointer -DBUILD_DLL -DMISSING_SYSCALL_NAMES |
LDFLAGS = -shared -s -T libcdll.lds --out-implib libc.dll.a --image-base 0 |
#LDFLAGS+= --output-def libc.orig.def |
ARFLAGS = crs |
/contrib/sdk/sources/newlib/libc/pe/loader.c |
---|
517,16 → 517,6 |
return 0; |
} |
static void send_dbg_msg(void *msg) |
{ |
__asm__ __volatile__( |
"int $0x40" |
::"a"(69), |
"b"(10), |
"S"(msg)); |
}; |
int link_app() |
{ |
struct app_hdr *header = NULL; |
534,38 → 524,8 |
imp = (PIMAGE_IMPORT_DESCRIPTOR)header->__idata_start; |
if(link_image(NULL, imp)) |
{ |
return link_image(NULL, imp); |
#ifdef DEBUG_INFO |
struct |
{ |
void *start; |
uint32_t end; |
char name[24]; |
} dbg_msg; |
module_t *mod = &libc_dll; |
do |
{ |
printf("%s %x - %x\n", |
mod->img_name, mod->start, mod->end); |
// asm volatile("int3"); |
dbg_msg.start = mod->start; |
dbg_msg.end = mod->end; |
strcpy(dbg_msg.name, mod->img_name); |
send_dbg_msg(&dbg_msg); |
mod = (module_t*)mod->list.next; |
}while(mod != &libc_dll); |
#endif |
return 1; |
}; |
return 0; |
} |
/contrib/sdk/sources/Mesa/src/mapi/Makefile |
---|
3,7 → 3,7 |
MESA_SRC:= $(SRC_DIR)/Mesa/src |
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -Os |
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields |
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields |
CFLAGS = -c $(CFLAGS_OPT) |
LDFLAGS = -nostdlib -shared -s --image-base 0 -T $(SRC_DIR)/newlib/dll.lds --out-implib libGL.dll.a -e _DllStartup |
/contrib/sdk/sources/Mesa/src/egl/Makefile |
---|
3,7 → 3,7 |
MESA_SRC:= $(SRC_DIR)/Mesa/src |
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -Os |
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields |
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields |
CFLAGS = -c $(CFLAGS_OPT) |
LDFLAGS = -nostdlib -shared -s --image-base 0 -T $(SRC_DIR)/newlib/dll.lds --out-implib libegl.dll.a -e _DllStartup |
/contrib/sdk/sources/Mesa/src/glsl/Makefile |
---|
3,7 → 3,7 |
MESA_SRC:= $(SRC_DIR)/Mesa/src |
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -Os |
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields |
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields |
CFLAGS = -c $(CFLAGS_OPT) |
INC_MESA:= -I$(SRC_DIR)/newlib/libc/include -I$(SRC_DIR)/Mesa/include |
/contrib/sdk/sources/Mesa/src/mesa/Makefile |
---|
3,7 → 3,7 |
MESA_SRC:= $(SRC_DIR)/Mesa/src |
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -Os |
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields |
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields |
CFLAGS = -c $(CFLAGS_OPT) |
LDFLAGS = -nostdlib -shared -s --image-base 0 -T $(SRC_DIR)/newlib/dll.lds -e _DllStartup |
/contrib/sdk/sources/Mesa/Makefile |
---|
9,7 → 9,7 |
EGL = egl |
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -Os |
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields |
CFLAGS_OPT+= -fomit-frame-pointer -mno-ms-bitfields |
CFLAGS = -c $(CFLAGS_OPT) |
LDFLAGS = -nostdlib -shared -s --image-base 0 -T ../newlib/dll.lds -e _DllStartup |
/contrib/sdk/sources/Mesa/include/GL/glu_mangle.h |
---|
File deleted |
/contrib/sdk/sources/Mesa/include/GL/glu.h |
---|
File deleted |
/contrib/sdk/sources/Intel-2D/Makefile |
---|
5,7 → 5,7 |
LD = kos32-ld |
STRIP = kos32-strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fno-ident -fomit-frame-pointer |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 |
PXFLAGS:= --version-script pixlib.ver --out-implib $(LIBRARY).dll.a |
/contrib/sdk/sources/Makefile |
---|
7,7 → 7,7 |
all: newlib zlib libpng freetype pixman cairo \ |
libdrm pixlib ffmpeg libsupc++ gcc_eh expat \ |
Mesa eglut sound |
Mesa eglut |
newlib: $(DLL_DIR)/libc.dll $(LIB_DIR)/libc.dll.a $(LIB_DIR)/libapp.a $(LIB_DIR)/libdll.a |
118,11 → 118,4 |
$(DLL_DIR)/libeglut.dll $(LIB_DIR)/libeglut.dll.a $(LIB_DIR)/libeglut.a : newlib Mesa |
$(MAKE) -C eglut |
##################################### |
sound: $(LIB_DIR)/libsound.a |
$(LIB_DIR)/libsound.a : |
$(MAKE) -C sound |
/contrib/sdk/sources/cairo/Makefile |
---|
5,7 → 5,7 |
LD = kos32-ld |
STRIP = kos32-strip |
CFLAGS = -c -O2 -ffast-math -Wall -Winline -Wno-attributes -fno-ident -fomit-frame-pointer |
CFLAGS = -c -O2 -ffast-math -Wall -Winline -Wno-attributes -fomit-frame-pointer |
LDFLAGS = -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 --version-script cairo.ver --output-def $(LIBRARY).orig.def |
LDFLAGS+= --out-implib lib$(LIBRARY).dll.a |
/contrib/sdk/sources/eglut/Makefile |
---|
6,7 → 6,7 |
AR = kos32-ar |
LD = kos32-ld |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fno-ident -fomit-frame-pointer |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
INCLUDES= -I. -I../newlib/libc/include -I../Mesa/include -I../Mesa/src/gbm/main -I../libdrm/include |
/contrib/sdk/sources/expat/Makefile |
---|
4,7 → 4,7 |
AR = kos32-ar |
LD = kos32-ld |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fno-ident -fomit-frame-pointer |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
ARFLAGS = crs |
/contrib/sdk/sources/ffmpeg/config.mak |
---|
34,7 → 34,7 |
CP=cp -p |
LN_S=ln -s -f |
CPPFLAGS= -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=32 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ |
CFLAGS= -I../newlib/libc/include -I../zlib -U_Win32 -U_WIN32 -U__MINGW32__ -std=c99 -fno-ident -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O2 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla |
CFLAGS= -I../newlib/libc/include -I../zlib -U_Win32 -U_WIN32 -U__MINGW32__ -std=c99 -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O2 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla |
CXXFLAGS= -D__STDC_CONSTANT_MACROS |
ASFLAGS= -I../newlib/libc/include -U_Win32 -U_WIN32 -U__MINGW32__ |
AS_C=-c |
/contrib/sdk/sources/freetype/Makefile |
---|
5,7 → 5,7 |
LD = kos32-ld |
STRIP = kos32-strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -Wall -Winline -fno-ident -fomit-frame-pointer |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -Wall -Winline -fomit-frame-pointer |
LDFLAGS = -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 |
LDFLAGS+= --out-implib lib$(LIBRARY).dll.a |
/contrib/sdk/sources/gcc_eh/Makefile |
---|
7,7 → 7,7 |
CPP= kos32-g++ |
STRIP = kos32-strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fno-ident -fomit-frame-pointer |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
ARFLAG = crs |
/contrib/sdk/sources/libdrm/Makefile |
---|
5,7 → 5,7 |
LD = kos32-ld |
STRIP = kos32-strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -march=i686 -O2 -fno-ident -fomit-frame-pointer |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -march=i686 -O2 -fomit-frame-pointer |
LDFLAGS:= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --version-script libdrm.ver --image-base=0 |
LDFLAGS+= --out-implib $(LIBRARY).dll.a |
/contrib/sdk/sources/libdrm/include/drm/i915_drm.h |
---|
33,30 → 33,6 |
* subject to backwards-compatibility constraints. |
*/ |
/** |
* DOC: uevents generated by i915 on it's device node |
* |
* I915_L3_PARITY_UEVENT - Generated when the driver receives a parity mismatch |
* event from the gpu l3 cache. Additional information supplied is ROW, |
* BANK, SUBBANK, SLICE of the affected cacheline. Userspace should keep |
* track of these events and if a specific cache-line seems to have a |
* persistent error remap it with the l3 remapping tool supplied in |
* intel-gpu-tools. The value supplied with the event is always 1. |
* |
* I915_ERROR_UEVENT - Generated upon error detection, currently only via |
* hangcheck. The error detection event is a good indicator of when things |
* began to go badly. The value supplied with the event is a 1 upon error |
* detection, and a 0 upon reset completion, signifying no more error |
* exists. NOTE: Disabling hangcheck or reset via module parameter will |
* cause the related events to not be seen. |
* |
* I915_RESET_UEVENT - Event is generated just before an attempt to reset the |
* the GPU. The value supplied with the event is always 1. NOTE: Disable |
* reset via module parameter will cause this event to not be seen. |
*/ |
#define I915_L3_PARITY_UEVENT "L3_PARITY_ERROR" |
#define I915_ERROR_UEVENT "ERROR" |
#define I915_RESET_UEVENT "RESET" |
/* Each region is a minimum of 16k, and there are at most 255 of them. |
*/ |
219,8 → 195,8 |
#define DRM_I915_GEM_WAIT 0x2c |
#define DRM_I915_GEM_CONTEXT_CREATE 0x2d |
#define DRM_I915_GEM_CONTEXT_DESTROY 0x2e |
#define DRM_I915_GEM_SET_CACHING 0x2f |
#define DRM_I915_GEM_GET_CACHING 0x30 |
#define DRM_I915_GEM_SET_CACHEING 0x2f |
#define DRM_I915_GEM_GET_CACHEING 0x30 |
#define DRM_I915_REG_READ 0x31 |
#define DRM_I915_GET_RESET_STATS 0x32 |
329,15 → 305,7 |
#define I915_PARAM_HAS_LLC 17 |
#define I915_PARAM_HAS_ALIASING_PPGTT 18 |
#define I915_PARAM_HAS_WAIT_TIMEOUT 19 |
#define I915_PARAM_HAS_SEMAPHORES 20 |
#define I915_PARAM_HAS_PRIME_VMAP_FLUSH 21 |
#define I915_PARAM_HAS_VEBOX 22 |
#define I915_PARAM_HAS_SECURE_BATCHES 23 |
#define I915_PARAM_HAS_PINNED_BATCHES 24 |
#define I915_PARAM_HAS_EXEC_NO_RELOC 25 |
#define I915_PARAM_HAS_EXEC_HANDLE_LUT 26 |
#define I915_PARAM_HAS_WT 27 |
#define I915_PARAM_CMD_PARSER_VERSION 28 |
typedef struct drm_i915_getparam { |
int param; |
658,11 → 626,7 |
__u64 offset; |
#define EXEC_OBJECT_NEEDS_FENCE (1<<0) |
#define EXEC_OBJECT_NEEDS_GTT (1<<1) |
#define EXEC_OBJECT_WRITE (1<<2) |
#define __EXEC_OBJECT_UNKNOWN_FLAGS -(EXEC_OBJECT_WRITE<<1) |
__u64 flags; |
__u64 rsvd1; |
__u64 rsvd2; |
}; |
708,34 → 672,6 |
/** Resets the SO write offset registers for transform feedback on gen7. */ |
#define I915_EXEC_GEN7_SOL_RESET (1<<8) |
/** Request a privileged ("secure") batch buffer. Note only available for |
* DRM_ROOT_ONLY | DRM_MASTER processes. |
*/ |
#define I915_EXEC_SECURE (1<<9) |
/** Inform the kernel that the batch is and will always be pinned. This |
* negates the requirement for a workaround to be performed to avoid |
* an incoherent CS (such as can be found on 830/845). If this flag is |
* not passed, the kernel will endeavour to make sure the batch is |
* coherent with the CS before execution. If this flag is passed, |
* userspace assumes the responsibility for ensuring the same. |
*/ |
#define I915_EXEC_IS_PINNED (1<<10) |
/** Provide a hint to the kernel that the command stream and auxiliary |
* state buffers already holds the correct presumed addresses and so the |
* relocation process may be skipped if no buffers need to be moved in |
* preparation for the execbuffer. |
*/ |
#define I915_EXEC_NO_RELOC (1<<11) |
/** Use the reloc.handle as an index into the exec object array rather |
* than as the per-file handle. |
*/ |
#define I915_EXEC_HANDLE_LUT (1<<12) |
#define __I915_EXEC_UNKNOWN_FLAGS -(I915_EXEC_HANDLE_LUT<<1) |
#define I915_EXEC_CONTEXT_ID_MASK (0xffffffff) |
#define i915_execbuffer2_set_context_id(eb2, context) \ |
(eb2).rsvd1 = context & I915_EXEC_CONTEXT_ID_MASK |
772,45 → 708,21 |
__u32 busy; |
}; |
/** |
* I915_CACHING_NONE |
* |
* GPU access is not coherent with cpu caches. Default for machines without an |
* LLC. |
*/ |
#define I915_CACHING_NONE 0 |
/** |
* I915_CACHING_CACHED |
* |
* GPU access is coherent with cpu caches and furthermore the data is cached in |
* last-level caches shared between cpu cores and the gpu GT. Default on |
* machines with HAS_LLC. |
*/ |
#define I915_CACHING_CACHED 1 |
/** |
* I915_CACHING_DISPLAY |
* |
* Special GPU caching mode which is coherent with the scanout engines. |
* Transparently falls back to I915_CACHING_NONE on platforms where no special |
* cache mode (like write-through or gfdt flushing) is available. The kernel |
* automatically sets this mode when using a buffer as a scanout target. |
* Userspace can manually set this mode to avoid a costly stall and clflush in |
* the hotpath of drawing the first frame. |
*/ |
#define I915_CACHING_DISPLAY 2 |
#define I915_CACHEING_NONE 0 |
#define I915_CACHEING_CACHED 1 |
struct drm_i915_gem_caching { |
struct drm_i915_gem_cacheing { |
/** |
* Handle of the buffer to set/get the caching level of. */ |
* Handle of the buffer to set/get the cacheing level of. */ |
__u32 handle; |
/** |
* Cacheing level to apply or return value |
* |
* bits0-15 are for generic caching control (i.e. the above defined |
* bits0-15 are for generic cacheing control (i.e. the above defined |
* values). bits16-31 are reserved for platform-specific variations |
* (e.g. l3$ caching on gen7). */ |
__u32 caching; |
__u32 cacheing; |
}; |
#define I915_TILING_NONE 0 |
1050,15 → 962,6 |
__u32 pad; |
}; |
struct drm_i915_mask { |
__u32 handle; |
__u32 width; |
__u32 height; |
__u32 bo_size; |
__u32 bo_pitch; |
__u32 bo_map; |
}; |
struct drm_i915_fb_info { |
__u32 name; |
__u32 width; |
/contrib/sdk/sources/libdrm/include/drm/drm.h |
---|
427,7 → 427,7 |
* DRM_IOCTL_UPDATE_DRAW ioctl argument type. |
*/ |
typedef enum { |
DRM_DRAWABLE_CLIPRECTS, |
DRM_DRAWABLE_CLIPRECTS |
} drm_drawable_info_type_t; |
struct drm_update_draw { |
459,8 → 459,6 |
enum drm_vblank_seq_type { |
_DRM_VBLANK_ABSOLUTE = 0x0, /**< Wait for specific vblank sequence number */ |
_DRM_VBLANK_RELATIVE = 0x1, /**< Wait for given number of vblanks */ |
/* bits 1-6 are reserved for high crtcs */ |
_DRM_VBLANK_HIGH_CRTC_MASK = 0x0000003e, |
_DRM_VBLANK_EVENT = 0x4000000, /**< Send event instead of blocking */ |
_DRM_VBLANK_FLIP = 0x8000000, /**< Scheduled buffer swap should flip */ |
_DRM_VBLANK_NEXTONMISS = 0x10000000, /**< If missed, wait for next vblank */ |
467,7 → 465,6 |
_DRM_VBLANK_SECONDARY = 0x20000000, /**< Secondary display controller */ |
_DRM_VBLANK_SIGNAL = 0x40000000 /**< Send signal instead of blocking, unsupported */ |
}; |
#define _DRM_VBLANK_HIGH_CRTC_SHIFT 1 |
#define _DRM_VBLANK_TYPES_MASK (_DRM_VBLANK_ABSOLUTE | _DRM_VBLANK_RELATIVE) |
#define _DRM_VBLANK_FLAGS_MASK (_DRM_VBLANK_EVENT | _DRM_VBLANK_SIGNAL | \ |
/contrib/sdk/sources/libdrm/include/drm/drm_fourcc.h |
---|
106,12 → 106,7 |
#define DRM_FORMAT_NV21 fourcc_code('N', 'V', '2', '1') /* 2x2 subsampled Cb:Cr plane */ |
#define DRM_FORMAT_NV16 fourcc_code('N', 'V', '1', '6') /* 2x1 subsampled Cr:Cb plane */ |
#define DRM_FORMAT_NV61 fourcc_code('N', 'V', '6', '1') /* 2x1 subsampled Cb:Cr plane */ |
#define DRM_FORMAT_NV24 fourcc_code('N', 'V', '2', '4') /* non-subsampled Cr:Cb plane */ |
#define DRM_FORMAT_NV42 fourcc_code('N', 'V', '4', '2') /* non-subsampled Cb:Cr plane */ |
/* special NV12 tiled format */ |
#define DRM_FORMAT_NV12MT fourcc_code('T', 'M', '1', '2') /* 2x2 subsampled Cr:Cb plane 64x32 macroblocks */ |
/* |
* 3 plane YCbCr |
* index 0: Y plane, [7:0] Y |
/contrib/sdk/sources/libdrm/include/drm/drm_mode.h |
---|
173,9 → 173,6 |
#define DRM_MODE_ENCODER_TMDS 2 |
#define DRM_MODE_ENCODER_LVDS 3 |
#define DRM_MODE_ENCODER_TVDAC 4 |
#define DRM_MODE_ENCODER_VIRTUAL 5 |
#define DRM_MODE_ENCODER_DSI 6 |
#define DRM_MODE_ENCODER_DPMST 7 |
struct drm_mode_get_encoder { |
__u32 encoder_id; |
213,8 → 210,6 |
#define DRM_MODE_CONNECTOR_HDMIB 12 |
#define DRM_MODE_CONNECTOR_TV 13 |
#define DRM_MODE_CONNECTOR_eDP 14 |
#define DRM_MODE_CONNECTOR_VIRTUAL 15 |
#define DRM_MODE_CONNECTOR_DSI 16 |
struct drm_mode_get_connector { |
235,8 → 230,6 |
__u32 connection; |
__u32 mm_width, mm_height; /**< HxW in millimeters */ |
__u32 subpixel; |
__u32 pad; |
}; |
#define DRM_MODE_PROP_PENDING (1<<0) |
246,21 → 239,6 |
#define DRM_MODE_PROP_BLOB (1<<4) |
#define DRM_MODE_PROP_BITMASK (1<<5) /* bitmask of enumerated types */ |
/* non-extended types: legacy bitmask, one bit per type: */ |
#define DRM_MODE_PROP_LEGACY_TYPE ( \ |
DRM_MODE_PROP_RANGE | \ |
DRM_MODE_PROP_ENUM | \ |
DRM_MODE_PROP_BLOB | \ |
DRM_MODE_PROP_BITMASK) |
/* extended-types: rather than continue to consume a bit per type, |
* grab a chunk of the bits to use as integer type id. |
*/ |
#define DRM_MODE_PROP_EXTENDED_TYPE 0x0000ffc0 |
#define DRM_MODE_PROP_TYPE(n) ((n) << 6) |
#define DRM_MODE_PROP_OBJECT DRM_MODE_PROP_TYPE(1) |
#define DRM_MODE_PROP_SIGNED_RANGE DRM_MODE_PROP_TYPE(2) |
struct drm_mode_property_enum { |
__u64 value; |
char name[DRM_PROP_NAME_LEN]; |
284,6 → 262,15 |
__u32 connector_id; |
}; |
#define DRM_MODE_OBJECT_CRTC 0xcccccccc |
#define DRM_MODE_OBJECT_CONNECTOR 0xc0c0c0c0 |
#define DRM_MODE_OBJECT_ENCODER 0xe0e0e0e0 |
#define DRM_MODE_OBJECT_MODE 0xdededede |
#define DRM_MODE_OBJECT_PROPERTY 0xb0b0b0b0 |
#define DRM_MODE_OBJECT_FB 0xfbfbfbfb |
#define DRM_MODE_OBJECT_BLOB 0xbbbbbbbb |
#define DRM_MODE_OBJECT_PLANE 0xeeeeeeee |
struct drm_mode_obj_get_properties { |
__u64 props_ptr; |
__u64 prop_values_ptr; |
346,8 → 333,6 |
#define DRM_MODE_FB_DIRTY_ANNOTATE_FILL 0x02 |
#define DRM_MODE_FB_DIRTY_FLAGS 0x03 |
#define DRM_MODE_FB_DIRTY_MAX_CLIPS 256 |
/* |
* Mark a region of a framebuffer as dirty. |
* |
388,21 → 373,20 |
struct drm_mode_modeinfo mode; |
}; |
#define DRM_MODE_CURSOR_BO 0x01 |
#define DRM_MODE_CURSOR_MOVE 0x02 |
#define DRM_MODE_CURSOR_FLAGS 0x03 |
#define DRM_MODE_CURSOR_BO (1<<0) |
#define DRM_MODE_CURSOR_MOVE (1<<1) |
/* |
* depending on the value in flags different members are used. |
* depending on the value in flags diffrent members are used. |
* |
* CURSOR_BO uses |
* crtc_id |
* crtc |
* width |
* height |
* handle - if 0 turns the cursor off |
* handle - if 0 turns the cursor of |
* |
* CURSOR_MOVE uses |
* crtc_id |
* crtc |
* x |
* y |
*/ |
/contrib/sdk/sources/libpng/Makefile |
---|
5,7 → 5,7 |
LD = kos32-ld |
STRIP = kos32-strip |
CFLAGS = -UWIN32 -UWindows -U_WINDOWS -U_WIN32 -U__WIN32__ -c -O2 -fno-ident -fomit-frame-pointer |
CFLAGS = -UWIN32 -UWindows -U_WINDOWS -U_WIN32 -U__WIN32__ -c -O2 -fomit-frame-pointer |
LDFLAGS= -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 |
LDFLAGS+= --out-implib $(LIBRARY).dll.a |
/contrib/sdk/sources/libsupc++/Makefile |
---|
6,7 → 6,7 |
CPP= kos32-g++ |
STRIP = kos32-strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fno-ident -fomit-frame-pointer |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
ARFLAGS= crs |
/contrib/sdk/sources/pixman/Makefile |
---|
5,7 → 5,7 |
LD = kos32-ld |
STRIP = kos32-strip |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -Wall -Winline -fno-ident -fomit-frame-pointer |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -Wall -Winline -fomit-frame-pointer |
LDFLAGS = -shared -s -nostdlib -T ../newlib/dll.lds --entry _DllStartup --image-base=0 |
LDFLAGS+= --out-implib lib$(LIBRARY).dll.a |
/contrib/sdk/sources/render/Makefile |
---|
2,7 → 2,7 |
LIBRARY= librender |
CC=gcc |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fno-ident -fomit-frame-pointer |
CFLAGS = -U_Win32 -U_WIN32 -U__MINGW32__ -c -O2 -fomit-frame-pointer |
AR= ar |
/contrib/sdk/sources/zlib/Makefile |
---|
16,7 → 16,7 |
AR = kos32-ar |
STRIP = kos32-strip |
CFLAGS = $(LOC) -DHAVE_UNISTD_H -U_Win32 -U_WIN32 -U__MINGW32__ -O2 -Wall -fno-ident -fomit-frame-pointer |
CFLAGS = $(LOC) -DHAVE_UNISTD_H -U_Win32 -U_WIN32 -U__MINGW32__ -O2 -Wall -fomit-frame-pointer |
AS = $(CC) |
ASFLAGS = $(LOC) -Wall |
/contrib/sdk/sources/zlib/zlib.def |
---|
1,4 → 1,4 |
LIBRARY libz.dll |
LIBRARY zlib.dll |
; zlib data compression library |
EXPORTS |