Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1604 → Rev 1600

/drivers/ddk/core.S
7,8 → 7,6
.global _AllocPage
.global _AllocPages
 
.global _AttachIntHandler
 
.global _CreateRingBuffer
.global _Delay
.global _DestroyObject
46,8 → 44,6
.def _AllocPage; .scl 2; .type 32; .endef
.def _AllocPages; .scl 2; .type 32; .endef
 
.def _AttachIntHandler; .scl 2; .type 32; .endef
 
.def _CreateRingBuffer; .scl 2; .type 32; .endef
 
.def _Delay; .scl 2; .type 32; .endef
86,8 → 82,6
_AllocPage:
_AllocPages:
 
_AttachIntHandler:
 
_CreateRingBuffer:
 
_Delay:
129,8 → 123,6
.ascii " -export:AllocPage" # gcc ABI
.ascii " -export:AllocPages" # gcc ABI
 
.ascii " -export:AttachIntHandler" # stdcall
 
.ascii " -export:CreateRingBuffer" # stdcall
 
.ascii " -export:Delay" # stdcall
/drivers/ddk/debug/dbglog.c
99,7 → 99,6
 
int vsnprintf(char *s, size_t n, const char *format, va_list arg);
 
 
int printf(const char* format, ...)
{
char txtbuf[256];
136,9 → 135,7
{
SysMsgBoardStr(txtbuf);
 
/* do not write into log file if interrupts disabled */
 
if ( (get_eflags() & (1 << 9)) && dbgfile.path)
if(dbgfile.path)
{
write_file(dbgfile.path,txtbuf,dbgfile.offset,len,&writes);
dbgfile.offset+=writes;